mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Line item qty decimal separator match cost separator
This commit is contained in:
parent
0cf915f099
commit
65b36065de
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -669,7 +669,7 @@ NINJA.invoiceLines = function(invoice, isSecondTable) {
|
||||
var row = [];
|
||||
var item = invoice.invoice_items[i];
|
||||
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 qty = NINJA.parseFloat(item.qty) ? formatMoneyInvoice(NINJA.parseFloat(item.qty), invoice, 'none', getPrecision(NINJA.parseFloat(item.qty))) + '' : ' ';
|
||||
var discount = roundToTwo(NINJA.parseFloat(item.discount));
|
||||
var notes = item.notes;
|
||||
var productKey = item.product_key;
|
||||
|
Loading…
Reference in New Issue
Block a user