bug fixes
This commit is contained in:
parent
bc336d0701
commit
339f50270f
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ function generatePDF(invoice, checkMath) {
|
|||
tax = parseFloat(item.tax_rate);
|
||||
}
|
||||
|
||||
var lineTotal = item.cost * item.qty;
|
||||
var lineTotal = NINJA.parseFloat(item.cost) * NINJA.parseFloat(item.qty);
|
||||
if (tax) {
|
||||
lineTotal += lineTotal * tax / 100;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue