mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for calculating the correct gateway fee depending on the payment method
This commit is contained in:
parent
fd24449f95
commit
98e314b6c0
@ -186,7 +186,7 @@ class PaymentMethod
|
||||
foreach ($child_array as $gateway_id => $gateway_type_id) {
|
||||
$gateway = CompanyGateway::find($gateway_id);
|
||||
|
||||
$fee_label = $gateway->calcGatewayFeeLabel($this->amount, $this->client);
|
||||
$fee_label = $gateway->calcGatewayFeeLabel($this->amount, $this->client, $gateway_type_id);
|
||||
|
||||
if(!$gateway_type_id){
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user