Edit works again

This commit is contained in:
James Cole
2020-03-14 07:55:00 +01:00
parent fdffed636f
commit 9bb2f1cfd3
5 changed files with 14 additions and 16 deletions

View File

@@ -89,7 +89,7 @@ class CreateController extends Controller
$preFilled = [
'auto_budget_period' => $hasOldInput ? (bool)$request->old('auto_budget_period') : 'monthly',
'transaction_currency_id' => $hasOldInput ? (int)$request->old('transaction_currency_id') : $currency->id,
'auto_budget_currency_id' => $hasOldInput ? (int)$request->old('auto_budget_currency_id') : $currency->id,
];
$request->session()->flash('preFilled', $preFilled);