mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Taxes with add back gateway fees
This commit is contained in:
parent
1c855b42d5
commit
587159c8c0
@ -412,7 +412,7 @@ class BaseDriver extends AbstractPaymentDriver
|
||||
|
||||
nlog("apparently no fee, so injecting here!");
|
||||
|
||||
if($invoice->tax_rate1 > 0 && !$invoice->uses_inclusive_taxes){ //must account for taxes! ? line item taxes also
|
||||
if(!$invoice->uses_inclusive_taxes){ //must account for taxes! ? line item taxes also
|
||||
$fee_total = round($fee_total/(1 + (($invoice->tax_rate1+$invoice->tax_rate2+$invoice->tax_rate3)/100)),2);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user