refs #451 Banking, Transfer and Account issue solved

This commit is contained in:
Cüneyt Şentürk
2018-08-18 15:56:24 +03:00
parent ca6788686e
commit b2e25990a1
4 changed files with 14 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class Accounts extends Controller
$account->default_account = ($account->id == setting('general.default_account')) ?: 1;
$currency = Currency::where('code', '=', setting('general.default_currency', 'USD'))->first();
$currency = Currency::where('code', '=', $account->currency_code)->first();
return view('banking.accounts.edit', compact('account', 'currencies', 'currency'));
}