From f7d521ca97b961443c94eb2af584bd70088ad4d3 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 28 May 2019 19:13:46 +1000 Subject: [PATCH] Reorder stock table columns --- InvenTree/static/script/inventree/stock.js | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/InvenTree/static/script/inventree/stock.js b/InvenTree/static/script/inventree/stock.js index 810d1a0327..58c8f5096e 100644 --- a/InvenTree/static/script/inventree/stock.js +++ b/InvenTree/static/script/inventree/stock.js @@ -450,19 +450,6 @@ function loadStockTable(table, options) { title: 'Description', sortable: true, }, - { - field: 'location_detail', - title: 'Location', - sortable: true, - formatter: function(value, row, index, field) { - if (value) { - return renderLink(value.pathstring, value.url); - } - else { - return 'No stock location set'; - } - } - }, { field: 'quantity', title: 'Stock', @@ -482,6 +469,19 @@ function loadStockTable(table, options) { return text; } }, + { + field: 'location_detail', + title: 'Location', + sortable: true, + formatter: function(value, row, index, field) { + if (value) { + return renderLink(value.pathstring, value.url); + } + else { + return 'No stock location set'; + } + } + }, { field: 'notes', title: 'Notes',