From b114001678e518c3ac75eaa4e3e63ce649c91573 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 24 Apr 2018 17:59:20 +1000 Subject: [PATCH] Fixed display of part allocation count --- InvenTree/part/templates/part/part_base.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/InvenTree/part/templates/part/part_base.html b/InvenTree/part/templates/part/part_base.html index eff277edfe..5f511d87a8 100644 --- a/InvenTree/part/templates/part/part_base.html +++ b/InvenTree/part/templates/part/part_base.html @@ -75,11 +75,10 @@ Allocated {% if part.allocation_count > part.total_stock %} - {{ part.allocation_count }} + {{ part.allocation_count }} {% else %} - {{ part.allocation_count }} + {{ part.allocation_count }} {% endif %} - {% endif %}