From 1215ef520d4410420c3ba9e04b3a5b7a6a822a95 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 4 Dec 2021 09:44:23 +1100 Subject: [PATCH] Further JS linting --- InvenTree/templates/js/translated/order.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/InvenTree/templates/js/translated/order.js b/InvenTree/templates/js/translated/order.js index 7298432a66..2c441d086f 100644 --- a/InvenTree/templates/js/translated/order.js +++ b/InvenTree/templates/js/translated/order.js @@ -1650,7 +1650,6 @@ function allocateStockToSalesOrder(order_id, line_items, options={}) { var available = Math.max((data.quantity || 0) - (data.allocated || 0), 0); // Remaining quantity to be allocated? - var todo = "fix this calculation!"; var remaining = opts.quantity || available; // Maximum amount that we need @@ -2252,8 +2251,7 @@ function loadSalesOrderLineItemTable(table, options={}) { } }); - columns.push( - { + columns.push({ field: 'notes', title: '{% trans "Notes" %}', });