From c0650ba7f4d1c7a12a2a18295b778a6ceb91ed89 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 26 Mar 2020 17:57:49 +1100 Subject: [PATCH] Add "buiding" icon in part list if no stock and none on order --- InvenTree/InvenTree/static/script/inventree/part.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/InvenTree/InvenTree/static/script/inventree/part.js b/InvenTree/InvenTree/static/script/inventree/part.js index daa82485b7..693a4d1faa 100644 --- a/InvenTree/InvenTree/static/script/inventree/part.js +++ b/InvenTree/InvenTree/static/script/inventree/part.js @@ -196,6 +196,9 @@ function loadPartTable(table, url, options={}) { } else if (row.on_order) { value = "On Order : " + row.on_order + ""; link = "orders"; + } else if (row.building) { + value = "Building : " + row.building + ""; + link = "builds"; } else { value ="No Stock"; }