1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Customer Portal > Pay Now Button > Credit Card fee is incorrect #2105

This commit is contained in:
Hillel Coren 2018-06-10 11:34:53 +03:00
parent 16db1135e7
commit 233a326414

View File

@ -318,6 +318,10 @@ class InvoicePresenter extends EntityPresenter
return '';
}
if ($invoice->getGatewayFeeItem()) {
return '';
}
$fee = $invoice->calcGatewayFee($gatewayTypeId, true);
$fee = $account->formatMoney($fee, $invoice->client);