This commit is contained in:
James Cole
2017-11-22 21:41:48 +01:00
parent 24b63abf2f
commit 8f80ee25c2
4 changed files with 13 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ class PiggyBankFormRequest extends Request
{
return [
'name' => $this->string('name'),
'startdate' => new Carbon,
'startdate' => $this->date('startdate'),
'account_id' => $this->integer('account_id'),
'targetamount' => $this->string('targetamount'),
'targetdate' => $this->date('targetdate'),