fixed transaction type options export

This commit is contained in:
Cihan Şentürk 2024-04-25 12:22:17 +03:00 committed by GitHub
parent 0ce1eebd31
commit 848c1444f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

@ -54,10 +54,7 @@ class Transactions extends Export implements WithColumnFormatting
{
return [
'type' => [
'options' => [
Model::INCOME_TYPE, Model::INCOME_TRANSFER_TYPE, Model::INCOME_SPLIT_TYPE, Model::INCOME_RECURRING_TYPE,
Model::EXPENSE_TYPE, Model::EXPENSE_TRANSFER_TYPE, Model::EXPENSE_SPLIT_TYPE, Model::EXPENSE_RECURRING_TYPE,
]
'options' => array_keys(config('type.transaction'))
],
// 'paid_at' => [
// 'type' => DataValidation::TYPE_NONE,