mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix precision in PDF
This commit is contained in:
parent
b77a75e502
commit
3d48b4e528
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -609,7 +609,7 @@ NINJA.invoiceLines = function(invoice, isSecondTable) {
|
||||
for (var i=0; i<invoice.invoice_items.length; i++) {
|
||||
var row = [];
|
||||
var item = invoice.invoice_items[i];
|
||||
var cost = NINJA.parseFloat(item.cost) ? formatMoneyInvoice(item.cost, invoice, null, getPrecision(item.cost)) : ' ';
|
||||
var cost = NINJA.parseFloat(item.cost) ? formatMoneyInvoice(NINJA.parseFloat(item.cost), invoice, null, getPrecision(NINJA.parseFloat(item.cost))) : ' ';
|
||||
var qty = NINJA.parseFloat(item.qty) ? roundSignificant(NINJA.parseFloat(item.qty)) + '' : ' ';
|
||||
var notes = item.notes;
|
||||
var productKey = item.product_key;
|
||||
|
Loading…
Reference in New Issue
Block a user