Line item qty decimal separator match cost separator
This commit is contained in:
parent
0cf915f099
commit
65b36065de
3 changed files with 3 additions and 3 deletions
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…
Add table
Reference in a new issue