This commit is contained in:
James Cole
2019-09-15 08:48:51 +02:00
parent 595a90cb0a
commit ef85b1180f
4 changed files with 23 additions and 2 deletions

View File

@@ -55,8 +55,8 @@ class AccountList implements BinderInterface
->where('account_types.type', AccountType::ASSET)
->orderBy('accounts.name', 'ASC')
->get(['accounts.*']);
//Log::debug(sprintf('Collection length is %d', $collection->count()));
}
if ('allAssetAccounts' !== $value) {
$incoming = array_map('\intval', explode(',', $value));
$list = array_merge(array_unique($incoming), [0]);