mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
bug fixes
This commit is contained in:
parent
bc336d0701
commit
339f50270f
@ -162,7 +162,7 @@ function generatePDF(invoice, checkMath) {
|
|||||||
tax = parseFloat(item.tax_rate);
|
tax = parseFloat(item.tax_rate);
|
||||||
}
|
}
|
||||||
|
|
||||||
var lineTotal = item.cost * item.qty;
|
var lineTotal = NINJA.parseFloat(item.cost) * NINJA.parseFloat(item.qty);
|
||||||
if (tax) {
|
if (tax) {
|
||||||
lineTotal += lineTotal * tax / 100;
|
lineTotal += lineTotal * tax / 100;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user