mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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 '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($invoice->getGatewayFeeItem()) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
$fee = $invoice->calcGatewayFee($gatewayTypeId, true);
|
$fee = $invoice->calcGatewayFee($gatewayTypeId, true);
|
||||||
$fee = $account->formatMoney($fee, $invoice->client);
|
$fee = $account->formatMoney($fee, $invoice->client);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user