1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 12:42:36 +01:00

Show 0% on invoice

This commit is contained in:
Hillel Coren 2018-01-20 21:46:48 +02:00
parent 9e6b7905ac
commit b62a86132e
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -793,13 +793,13 @@ NINJA.invoiceLines = function(invoice, isSecondTable) {
} else if (field == 'tax') {
value = ' ';
if (item.tax_name1) {
value += tax1.toString() + '%';
value += (tax1 || '0') + '%';
}
if (item.tax_name2) {
if (item.tax_name1) {
value += ' ';
}
value += tax2.toString() + '%';
value += (tax2 || '0') + '%';
}
} else if (field == 'line_total') {
value = lineTotal;