Factory seems to work for update and create

This commit is contained in:
James Cole
2018-02-21 21:06:59 +01:00
parent 085eb650e7
commit 35d0bd1985
5 changed files with 172 additions and 95 deletions

View File

@@ -47,6 +47,7 @@ class AccountFormRequest extends Request
'name' => $this->string('name'),
'active' => $this->boolean('active'),
'accountType' => $this->string('what'),
'account_type_id' => 0,
'currency_id' => $this->integer('currency_id'),
'virtualBalance' => $this->string('virtualBalance'),
'iban' => $this->string('iban'),