diff --git a/app/DataMapper/FeesAndLimits.php b/app/DataMapper/FeesAndLimits.php index 83289706b2..3f4cc941d0 100644 --- a/app/DataMapper/FeesAndLimits.php +++ b/app/DataMapper/FeesAndLimits.php @@ -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', diff --git a/app/Utils/Traits/CompanyGatewayFeesAndLimitsSaver.php b/app/Utils/Traits/CompanyGatewayFeesAndLimitsSaver.php index d5aafd4a07..33df771f65 100644 --- a/app/Utils/Traits/CompanyGatewayFeesAndLimitsSaver.php +++ b/app/Utils/Traits/CompanyGatewayFeesAndLimitsSaver.php @@ -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;