mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-18 00:53:10 +01: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);
|
||||
}
|
||||
|
||||
var lineTotal = item.cost * item.qty;
|
||||
var lineTotal = NINJA.parseFloat(item.cost) * NINJA.parseFloat(item.qty);
|
||||
if (tax) {
|
||||
lineTotal += lineTotal * tax / 100;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user