Further JS linting

This commit is contained in:
Oliver 2021-12-04 09:44:23 +11:00
parent 35b3bc73cc
commit 1215ef520d

View File

@ -1650,7 +1650,6 @@ function allocateStockToSalesOrder(order_id, line_items, options={}) {
var available = Math.max((data.quantity || 0) - (data.allocated || 0), 0); var available = Math.max((data.quantity || 0) - (data.allocated || 0), 0);
// Remaining quantity to be allocated? // Remaining quantity to be allocated?
var todo = "fix this calculation!";
var remaining = opts.quantity || available; var remaining = opts.quantity || available;
// Maximum amount that we need // Maximum amount that we need
@ -2252,8 +2251,7 @@ function loadSalesOrderLineItemTable(table, options={}) {
} }
}); });
columns.push( columns.push({
{
field: 'notes', field: 'notes',
title: '{% trans "Notes" %}', title: '{% trans "Notes" %}',
}); });