Fix precision in PDF
This commit is contained in:
parent
b77a75e502
commit
3d48b4e528
3 changed files with 4 additions and 4 deletions
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…
Add table
Reference in a new issue