Clean up and split chart controllers

This commit is contained in:
James Cole
2015-05-16 09:41:14 +02:00
parent a5294c62ea
commit a0cb1b9d9e
13 changed files with 660 additions and 524 deletions

View File

@@ -137,7 +137,7 @@ class AccountController extends Controller
*/
public function index(AccountRepositoryInterface $repository, $what)
{
$subTitle = trans('firefly.' . $what.'_accounts');
$subTitle = trans('firefly.' . $what . '_accounts');
$subTitleIcon = Config::get('firefly.subIconsByIdentifier.' . $what);
$types = Config::get('firefly.accountTypesByIdentifier.' . $what);
$accounts = $repository->getAccounts($types);