mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fix wrong tax calculation
Tax calculation is wrong in pdf when 'inclusive_taxes' is enabled. This fixes #3668
This commit is contained in:
parent
56a9bc2bdd
commit
e16900ef11
@ -955,7 +955,7 @@ NINJA.invoiceLines = function(invoice, isSecondTable) {
|
||||
}
|
||||
}
|
||||
|
||||
if (account.include_item_taxes_inline == '1') {
|
||||
if (account.include_item_taxes_inline == '1' && account.inclusive_taxes != '1') {
|
||||
var taxAmount1 = 0;
|
||||
var taxAmount2 = 0;
|
||||
if (tax1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user