mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 13:44:58 -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:
|
// get a paginated view of all transactions for this account:
|
||||||
/** @var \FireflyIII\Database\Account $acct */
|
Cannot handle account type
|
||||||
$acct = App::make('FireflyIII\Database\Account');
|
|
||||||
|
|
||||||
$journals = $acct->getTransactionJournals($account, 10);
|
$journals = $acct->getTransactionJournals($account, 10);
|
||||||
|
|
||||||
@ -319,6 +318,7 @@ class AccountController extends BaseController
|
|||||||
case 'Default account':
|
case 'Default account':
|
||||||
$data['what'] = 'asset';
|
$data['what'] = 'asset';
|
||||||
break;
|
break;
|
||||||
|
case 'Expense account':
|
||||||
case 'Beneficiary account':
|
case 'Beneficiary account':
|
||||||
$data['what'] = 'expense';
|
$data['what'] = 'expense';
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user