mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-03 12:47:17 -06:00
Fixed a bug where editing an expense account wasn't actually possible.
This commit is contained in:
parent
1f7c98bdcf
commit
0f32f6be4c
@ -239,8 +239,7 @@ class AccountController extends BaseController
|
||||
}
|
||||
|
||||
// get a paginated view of all transactions for this account:
|
||||
/** @var \FireflyIII\Database\Account $acct */
|
||||
$acct = App::make('FireflyIII\Database\Account');
|
||||
Cannot handle account type
|
||||
|
||||
$journals = $acct->getTransactionJournals($account, 10);
|
||||
|
||||
@ -319,6 +318,7 @@ class AccountController extends BaseController
|
||||
case 'Default account':
|
||||
$data['what'] = 'asset';
|
||||
break;
|
||||
case 'Expense account':
|
||||
case 'Beneficiary account':
|
||||
$data['what'] = 'expense';
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user