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:
parent
9e6b7905ac
commit
b62a86132e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user