From ed2461adf15bbe9b42ec74e20627765f45ee8cfa Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 28 Jun 2019 09:43:50 +1000 Subject: [PATCH] Show which variants are inactive in the variant table --- InvenTree/part/templates/part/variants.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/InvenTree/part/templates/part/variants.html b/InvenTree/part/templates/part/variants.html index d2114a050c..b3a3c7bdd5 100644 --- a/InvenTree/part/templates/part/variants.html +++ b/InvenTree/part/templates/part/variants.html @@ -35,6 +35,9 @@ {% include "hover_image.html" with image=variant.image hover=True %} {{ variant.full_name }} + {% if not variant.active %} + Inactive + {% endif %} {{ variant.description }} {{ variant.total_stock }}