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:
parent
bfee59b529
commit
a74b644f6a
@ -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',
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user