Mainly layout improvements.

This commit is contained in:
James Cole
2015-07-06 08:14:19 +02:00
parent 1658c666ab
commit 13bda0a264
13 changed files with 46 additions and 21 deletions

View File

@@ -20,13 +20,15 @@ class AnyAccount implements MapperInterface
{
$result = Auth::user()->accounts()->with('accountType')->orderBy('accounts.name', 'ASC')->get(['accounts.*']);
$list = [];
$list = [];
/** @var Account $account */
foreach ($result as $account) {
$list[$account->id] = $account->name . ' (' . $account->accountType->type . ')';
}
asort($list);
array_unshift($list, trans('firefly.csv_do_not_map'));
return $list;
}
}