mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Clean up some code.
This commit is contained in:
@@ -155,8 +155,9 @@ class AccountForm
|
||||
*/
|
||||
public function assetLiabilityMultiAccountList(string $name, $value = null, ?array $options = null): string
|
||||
{
|
||||
$types = [AccountTypeEnum::ASSET->value, AccountTypeEnum::DEFAULT->value, AccountTypeEnum::MORTGAGE->value, AccountTypeEnum::DEBT->value,AccountTypeEnum::LOAN->value];
|
||||
$types = [AccountTypeEnum::ASSET->value, AccountTypeEnum::DEFAULT->value, AccountTypeEnum::MORTGAGE->value, AccountTypeEnum::DEBT->value, AccountTypeEnum::LOAN->value];
|
||||
$grouped = $this->getAccountsGrouped($types);
|
||||
|
||||
return $this->multiSelect($name, $grouped, $value, $options);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user