mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-26 08:51:12 -06:00
Fix views for #1000
This commit is contained in:
parent
51a1512a3f
commit
573e72f7fb
@ -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'),
|
||||
];
|
||||
|
2
public/js/ff/transactions/list.js
vendored
2
public/js/ff/transactions/list.js
vendored
@ -147,7 +147,7 @@ function countChecked() {
|
||||
$('.mass_delete span').text(delete_selected_txt + ' (' + checked + ')');
|
||||
|
||||
// get amount for the transactions:
|
||||
getAmounts();
|
||||
//getAmounts();
|
||||
|
||||
$('.mass_button_options').show();
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
||||
|
||||
<div class="box-footer clearfix">
|
||||
<a class="btn btn-sm btn-default btn-flat pull-right"
|
||||
href="{{ route('accounts.show',data[1].id) }}">{{ (data[1]|balance)|formatAmountPlain }}</a>
|
||||
href="{{ route('accounts.show',data[1].id) }}">{{ formatAmountByAccount(data[1], data[1]|balance, false) }}</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user