From 6bdac076d7df7ff7dcd776e4ab30fd4651422892 Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 25 Feb 2022 16:03:44 +1100 Subject: [PATCH] Adds a checkmark to indicate that a stock item has passed all required tests --- InvenTree/stock/templates/stock/item_base.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/InvenTree/stock/templates/stock/item_base.html b/InvenTree/stock/templates/stock/item_base.html index 7692d632f0..9979468357 100644 --- a/InvenTree/stock/templates/stock/item_base.html +++ b/InvenTree/stock/templates/stock/item_base.html @@ -409,7 +409,14 @@ {% trans "Tests" %} - {{ item.requiredTestStatus.passed }} / {{ item.requiredTestStatus.total }} + + {{ item.requiredTestStatus.passed }} / {{ item.requiredTestStatus.total }} + {% if item.passedAllRequiredTests %} + + {% else %} + + {% endif %} + {% endif %} {% if item.owner %}