Fix views for #1000

This commit is contained in:
James Cole
2017-11-18 05:45:58 +01:00
parent 51a1512a3f
commit 573e72f7fb
6 changed files with 11 additions and 11 deletions

View File

@@ -64,7 +64,7 @@ class JournalFormRequest extends Request
// transaction / journal data:
'description' => $this->string('description'),
'amount' => $this->float('amount'),
'amount' => $this->string('amount'),
'budget_id' => $this->integer('budget_id'),
'category' => $this->string('category'),
'source_account_id' => $this->integer('source_account_id'),
@@ -74,9 +74,9 @@ class JournalFormRequest extends Request
'piggy_bank_id' => $this->integer('piggy_bank_id'),
// native amount and stuff like that:
'native_amount' => $this->float('native_amount'),
'source_amount' => $this->float('source_amount'),
'destination_amount' => $this->float('destination_amount'),
'native_amount' => $this->string('native_amount'),
'source_amount' => $this->string('source_amount'),
'destination_amount' => $this->string('destination_amount'),
];
return $data;