1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-18 00:53:10 +01:00

bug fixes

This commit is contained in:
Hillel Coren 2014-02-04 09:15:11 +02:00
parent bc336d0701
commit 339f50270f

View File

@ -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;
}