Cleanup in preparation of an overhaul.

This commit is contained in:
James Cole
2015-01-14 12:24:08 +01:00
parent 18f46676fd
commit 9eec6641dd
20 changed files with 337 additions and 310 deletions

View File

@@ -387,7 +387,7 @@ class Report implements ReportInterface
$sharedAccounts[] = $account->id;
}
$accounts = $this->_accounts->getAssetAccounts()->filter(
$accounts = $this->_accounts->getAccountsByType(['Default account', 'Asset account'])->filter(
function (\Account $account) use ($sharedAccounts) {
if (!in_array($account->id, $sharedAccounts)) {
return $account;