Simplify account creation.

This commit is contained in:
James Cole
2021-04-05 10:56:08 +02:00
parent 25dcb73e27
commit b812c2e09f
6 changed files with 226 additions and 102 deletions

View File

@@ -59,7 +59,7 @@ class StoreRequest extends FormRequest
'name' => $this->string('name'),
'active' => $active,
'include_net_worth' => $includeNetWorth,
'account_type' => $this->string('type'),
'account_type_name' => $this->string('type'),
'account_type_id' => null,
'currency_id' => $this->integer('currency_id'),
'order' => $this->integer('order'),