Can no longer set currency of expense / revenue accounts.

This commit is contained in:
James Cole
2022-10-23 14:46:26 +02:00
parent a91f6fbfaf
commit abdb717b37
4 changed files with 35 additions and 2 deletions

View File

@@ -209,6 +209,13 @@ return [
'default_language' => envNonEmpty('DEFAULT_LANGUAGE', 'en_US'),
'default_locale' => envNonEmpty('DEFAULT_LOCALE', 'equal'),
// account types that may have or set a currency
'valid_currency_account_types' => [
AccountType::ASSET, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE,
AccountType::CASH, AccountType::INITIAL_BALANCE, AccountType::LIABILITY_CREDIT,
AccountType::RECONCILIATION
],
// "value must be in this list" values
'valid_attachment_models' => [
Account::class,