mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 20:25:28 +00:00
Some small changes in the account display.
This commit is contained in:
@@ -26,8 +26,10 @@ class AccountController extends \BaseController
|
||||
'initial' => [],
|
||||
'cash' => []
|
||||
];
|
||||
$total = $all->count();
|
||||
|
||||
foreach ($all as $account) {
|
||||
|
||||
switch ($account->accounttype->description) {
|
||||
case 'Default account':
|
||||
$list['personal'][] = $account;
|
||||
@@ -45,7 +47,7 @@ class AccountController extends \BaseController
|
||||
}
|
||||
}
|
||||
|
||||
return View::make('accounts.index')->with('accounts', $list);
|
||||
return View::make('accounts.index')->with('accounts', $list)->with('total',$total);
|
||||
}
|
||||
//
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user