Add the ability to make transfers to and from liability accounts.

This commit is contained in:
James Cole
2018-08-25 21:33:22 +02:00
parent c55b80f467
commit 07cfba1b3a
8 changed files with 69 additions and 19 deletions

View File

@@ -247,7 +247,7 @@ class AccountRepository implements AccountRepositoryInterface
$result = $query->get(['accounts.*']);
$result = $result->sortBy(
function (Account $account) {
return strtolower($account->name);
return sprintf('%02d', $account->account_type_id) . strtolower($account->name);
}
);