mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Fix for #1719
This commit is contained in:
@@ -213,14 +213,13 @@ class AccountController extends Controller
|
|||||||
$types = [
|
$types = [
|
||||||
'all' => [AccountType::DEFAULT, AccountType::CASH, AccountType::ASSET, AccountType::EXPENSE, AccountType::REVENUE,
|
'all' => [AccountType::DEFAULT, AccountType::CASH, AccountType::ASSET, AccountType::EXPENSE, AccountType::REVENUE,
|
||||||
AccountType::INITIAL_BALANCE, AccountType::BENEFICIARY, AccountType::IMPORT, AccountType::RECONCILIATION,
|
AccountType::INITIAL_BALANCE, AccountType::BENEFICIARY, AccountType::IMPORT, AccountType::RECONCILIATION,
|
||||||
AccountType::LOAN,],
|
AccountType::LOAN,AccountType::DEBT, AccountType::MORTGAGE],
|
||||||
'asset' => [AccountType::DEFAULT, AccountType::ASSET,],
|
'asset' => [AccountType::DEFAULT, AccountType::ASSET,],
|
||||||
'cash' => [AccountType::CASH,],
|
'cash' => [AccountType::CASH,],
|
||||||
'expense' => [AccountType::EXPENSE, AccountType::BENEFICIARY,],
|
'expense' => [AccountType::EXPENSE, AccountType::BENEFICIARY,],
|
||||||
'revenue' => [AccountType::REVENUE,],
|
'revenue' => [AccountType::REVENUE,],
|
||||||
'special' => [AccountType::CASH, AccountType::INITIAL_BALANCE, AccountType::IMPORT, AccountType::RECONCILIATION,
|
'special' => [AccountType::CASH, AccountType::INITIAL_BALANCE, AccountType::IMPORT, AccountType::RECONCILIATION,],
|
||||||
AccountType::LOAN,],
|
'hidden' => [AccountType::INITIAL_BALANCE, AccountType::IMPORT, AccountType::RECONCILIATION],
|
||||||
'hidden' => [AccountType::INITIAL_BALANCE, AccountType::IMPORT, AccountType::RECONCILIATION, AccountType::LOAN,],
|
|
||||||
'liability' => [AccountType::DEBT, AccountType::LOAN, AccountType::MORTGAGE, AccountType::CREDITCARD],
|
'liability' => [AccountType::DEBT, AccountType::LOAN, AccountType::MORTGAGE, AccountType::CREDITCARD],
|
||||||
'liabilities' => [AccountType::DEBT, AccountType::LOAN, AccountType::MORTGAGE, AccountType::CREDITCARD],
|
'liabilities' => [AccountType::DEBT, AccountType::LOAN, AccountType::MORTGAGE, AccountType::CREDITCARD],
|
||||||
'cc' => [AccountType::CREDITCARD],
|
'cc' => [AccountType::CREDITCARD],
|
||||||
|
Reference in New Issue
Block a user