From f988c9af87ad6c013c9f4269c7651e4399492a4b Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 30 Apr 2018 01:16:57 +1000 Subject: [PATCH] Tweaks for part page(s) --- InvenTree/part/templates/part/bom.html | 2 +- InvenTree/part/templates/part/stock.html | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/InvenTree/part/templates/part/bom.html b/InvenTree/part/templates/part/bom.html index 512b6d2516..e607b9752f 100644 --- a/InvenTree/part/templates/part/bom.html +++ b/InvenTree/part/templates/part/bom.html @@ -13,7 +13,7 @@

Bill of Materials

- +
diff --git a/InvenTree/part/templates/part/stock.html b/InvenTree/part/templates/part/stock.html index 60e34ac124..e2176afaec 100644 --- a/InvenTree/part/templates/part/stock.html +++ b/InvenTree/part/templates/part/stock.html @@ -10,7 +10,11 @@ + {% if part.trackable %} + + {% else %} + {% endif %} @@ -21,7 +25,13 @@ {% for stock in part.locations.all %} - +
Part
LinkSerial NumberQuantityLocation Supplier part Stocktake
Click{{ stock.quantity }} + {% if part.trackable %} + {{ stock.serial }} + {% else %} + {{ stock.quantity }} + {% endif %} + {% if stock.location %} {{ stock.location.name }}