1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for feesandlimits (#3381)

This commit is contained in:
David Bomba 2020-02-26 18:55:01 +11:00 committed by GitHub
parent bfee59b529
commit a74b644f6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ class FeesAndLimits
'fee_tax_name1' => 'string',
'fee_tax_name2' => 'string',
'fee_tax_name3' => 'string',
'fee_tax_rate1' => 'void',
'fee_tax_rate1' => 'float',
'fee_tax_rate2' => 'float',
'fee_tax_rate3' => 'float',
'fee_cap' => 'float',

View File

@ -87,7 +87,7 @@ trait CompanyGatewayFeesAndLimitsSaver
$fal = new FeesAndLimits;
foreach ($value as $k => $v) {
$fal->{$k} = $v ?: '';
$fal->{$k} = $v;
}
$new_arr[$key] = (array)$fal;