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:
parent
16db1135e7
commit
233a326414
@ -318,6 +318,10 @@ class InvoicePresenter extends EntityPresenter
|
||||
return '';
|
||||
}
|
||||
|
||||
if ($invoice->getGatewayFeeItem()) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$fee = $invoice->calcGatewayFee($gatewayTypeId, true);
|
||||
$fee = $account->formatMoney($fee, $invoice->client);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user