From 5d71cf85ccf42bf7404a79b211ba12e45cd0369b Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 23 Apr 2020 16:00:09 +1000 Subject: [PATCH] Add separate 'quantity' and 'allocated' columns in sales order view --- InvenTree/order/templates/order/sales_order_detail.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/InvenTree/order/templates/order/sales_order_detail.html b/InvenTree/order/templates/order/sales_order_detail.html index e11956214e..a809f498b4 100644 --- a/InvenTree/order/templates/order/sales_order_detail.html +++ b/InvenTree/order/templates/order/sales_order_detail.html @@ -143,6 +143,11 @@ $("#so-lines-table").inventreeTable({ sortable: true, field: 'quantity', title: 'Quantity', + }, + { + sortable: true, + field: 'allocated', + title: 'Allocated', formatter: function(value, row, index, field) { return makeProgressBar(row.allocated, row.quantity, { id: `order-line-progress-${row.pk}`,