mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-21 19:49:54 +00:00
FF3 will now correctly store exchanged / foreign amounts.
This commit is contained in:
@@ -92,7 +92,7 @@ class AccountController extends Controller
|
||||
$request->session()->flash('gaEventCategory', 'accounts');
|
||||
$request->session()->flash('gaEventAction', 'create-' . $what);
|
||||
|
||||
return view('accounts.create', compact('subTitleIcon', 'what', 'subTitle', 'currencySelectList','allCurrencies', 'roles'));
|
||||
return view('accounts.create', compact('subTitleIcon', 'what', 'subTitle', 'currencySelectList', 'allCurrencies', 'roles'));
|
||||
|
||||
}
|
||||
|
||||
|
@@ -67,6 +67,9 @@ class JournalFormRequest extends Request
|
||||
'destination_account_name' => $this->string('destination_account_name'),
|
||||
'piggy_bank_id' => $this->integer('piggy_bank_id'),
|
||||
|
||||
// amount for exchanged data:
|
||||
'exchanged_amount' => $this->float('exchanged_amount'),
|
||||
|
||||
];
|
||||
|
||||
return $data;
|
||||
|
Reference in New Issue
Block a user