1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Merge pull request #3670 from dominikkaminski/patch-1

Fix wrong tax calculation
This commit is contained in:
Hillel Coren 2020-05-03 00:40:36 +03:00 committed by GitHub
commit db0c5fc578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {