mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Fix views for #1000
This commit is contained in:
		| @@ -48,12 +48,12 @@ class AccountFormRequest extends Request | ||||
|             'active'               => $this->boolean('active'), | ||||
|             'accountType'          => $this->string('what'), | ||||
|             'currency_id'          => $this->integer('currency_id'), | ||||
|             'virtualBalance'       => $this->float('virtualBalance'), | ||||
|             'virtualBalance'       => $this->string('virtualBalance'), | ||||
|             'iban'                 => $this->string('iban'), | ||||
|             'BIC'                  => $this->string('BIC'), | ||||
|             'accountNumber'        => $this->string('accountNumber'), | ||||
|             'accountRole'          => $this->string('accountRole'), | ||||
|             'openingBalance'       => $this->float('openingBalance'), | ||||
|             'openingBalance'       => $this->string('openingBalance'), | ||||
|             'openingBalanceDate'   => $this->date('openingBalanceDate'), | ||||
|             'ccType'               => $this->string('ccType'), | ||||
|             'ccMonthlyPaymentDate' => $this->string('ccMonthlyPaymentDate'), | ||||
|   | ||||
| @@ -44,10 +44,10 @@ class BillFormRequest extends Request | ||||
|         return [ | ||||
|             'name'                          => $this->string('name'), | ||||
|             'match'                         => $this->string('match'), | ||||
|             'amount_min'                    => $this->float('amount_min'), | ||||
|             'amount_min'                    => $this->string('amount_min'), | ||||
|             'amount_currency_id_amount_min' => $this->integer('amount_currency_id_amount_min'), | ||||
|             'amount_currency_id_amount_max' => $this->integer('amount_currency_id_amount_max'), | ||||
|             'amount_max'                    => $this->float('amount_max'), | ||||
|             'amount_max'                    => $this->string('amount_max'), | ||||
|             'date'                          => $this->date('date'), | ||||
|             'repeat_freq'                   => $this->string('repeat_freq'), | ||||
|             'skip'                          => $this->integer('skip'), | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
| @@ -47,7 +47,7 @@ class PiggyBankFormRequest extends Request | ||||
|             'name'         => $this->string('name'), | ||||
|             'startdate'    => new Carbon, | ||||
|             'account_id'   => $this->integer('account_id'), | ||||
|             'targetamount' => $this->float('targetamount'), | ||||
|             'targetamount' => $this->string('targetamount'), | ||||
|             'targetdate'   => $this->date('targetdate'), | ||||
|             'note'         => $this->string('note'), | ||||
|         ]; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user