This commit is contained in:
James Cole 2015-12-26 08:15:22 +01:00
parent db72ad7c60
commit 77b843efd8

View File

@ -39,7 +39,7 @@ class PiggyBankFormRequest extends Request
'name' => $nameRule, 'name' => $nameRule,
'account_id' => 'required|belongsToUser:accounts', 'account_id' => 'required|belongsToUser:accounts',
'targetamount' => 'required|min:0.01', 'targetamount' => 'required|min:0.01',
'amount_currency_id' => 'exists:transaction_currencies,id', 'amount_currency_id_targetamount' => 'exists:transaction_currencies,id',
'startdate' => 'date', 'startdate' => 'date',
'targetdate' => $targetDateRule, 'targetdate' => $targetDateRule,
'order' => 'integer|min:1', 'order' => 'integer|min:1',