From 562246820938880886d9cbfffb9ceda7456212ec Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 8 May 2021 20:55:01 +0200 Subject: [PATCH] better readable structure --- .../order/order_wizard/match_parts.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/InvenTree/order/templates/order/order_wizard/match_parts.html b/InvenTree/order/templates/order/order_wizard/match_parts.html index e6cb565a5b..aa9776085f 100644 --- a/InvenTree/order/templates/order/order_wizard/match_parts.html +++ b/InvenTree/order/templates/order/order_wizard/match_parts.html @@ -63,16 +63,16 @@ {% for item in row.data %} {% if item.column.guess == 'Quantity' %} - {% for field in form.visible_fields %} - {% if field.name == row.quantity_select %} - {{ field }} + {% for field in form.visible_fields %} + {% if field.name == row.quantity_select %} + {{ field }} + {% endif %} + {% endfor %} + {% if row.errors.quantity %} +

{{ row.errors.quantity }}

{% endif %} - {% endfor %} - {% if row.errors.quantity %} -

{{ row.errors.quantity }}

- {% endif %} {% else %} - {{ item.cell }} + {{ item.cell }} {% endif %}