mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Show 0% on invoice
This commit is contained in:
parent
49b5e939f3
commit
403f18e960
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -789,13 +789,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…
x
Reference in New Issue
Block a user