Show 0% tax rates in line items

This commit is contained in:
Hillel Coren 2016-07-21 20:21:46 +03:00
parent c9d87c15d3
commit 5387963731
2 changed files with 2 additions and 2 deletions

View File

@ -31465,7 +31465,7 @@ NINJA.invoiceLines = function(invoice) {
str += tax1.toString() + '%'; str += tax1.toString() + '%';
} }
if (item.tax_name2) { if (item.tax_name2) {
if (tax1) { if (item.tax_name1) {
str += ' '; str += ' ';
} }
str += tax2.toString() + '%'; str += tax2.toString() + '%';

View File

@ -425,7 +425,7 @@ NINJA.invoiceLines = function(invoice) {
str += tax1.toString() + '%'; str += tax1.toString() + '%';
} }
if (item.tax_name2) { if (item.tax_name2) {
if (tax1) { if (item.tax_name1) {
str += ' '; str += ' ';
} }
str += tax2.toString() + '%'; str += tax2.toString() + '%';