From cbb8329c3ee1bc118b769765d6f98b783ad64113 Mon Sep 17 00:00:00 2001 From: Alexis M Date: Sat, 5 Oct 2019 00:33:14 +0200 Subject: [PATCH] Fix command unit display when doing adjustments. Closes #15. --- copanier/templates/place_order.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copanier/templates/place_order.html b/copanier/templates/place_order.html index 84fc9b7..c2fe4c7 100644 --- a/copanier/templates/place_order.html +++ b/copanier/templates/place_order.html @@ -36,10 +36,10 @@ {% if delivery.has_packing %} {{ product.packing or "—" }}{% if delivery.status == delivery.ADJUSTMENT and delivery.product_missing(product) %} (manque {{ delivery.product_missing(product) }}){% endif %} {% endif %} - x {{ product.unit }} {% if delivery.status == delivery.ADJUSTMENT or order.has_adjustments %} - + {% endif %} + x {{ product.unit }} {% endfor %}