1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00

Line item qty decimal separator match cost separator

This commit is contained in:
Hillel Coren 2017-12-31 15:35:03 +02:00
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

View File

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