Debug the account-create controller.

This commit is contained in:
James Cole
2019-06-22 05:51:32 +02:00
parent 74a3d155b0
commit abf70a235a
10 changed files with 96 additions and 74 deletions

View File

@@ -51,7 +51,7 @@ class AccountFormRequest extends Request
$data = [
'name' => $this->string('name'),
'active' => $this->boolean('active'),
'account_type' => $this->string('what'),
'account_type' => $this->string('objectType'),
'account_type_id' => 0,
'currency_id' => $this->integer('currency_id'),
'virtual_balance' => $this->string('virtual_balance'),