From 2cd1df691b2165509e4df5c0377b9b810e3f832e Mon Sep 17 00:00:00 2001 From: eeintech Date: Wed, 5 May 2021 13:16:40 -0400 Subject: [PATCH] Working towards part matching --- .../order/order_wizard/match_fields.html | 4 +- .../order/order_wizard/match_parts.html | 8 +- InvenTree/order/views.py | 94 ++++++++++++++++++- 3 files changed, 96 insertions(+), 10 deletions(-) diff --git a/InvenTree/order/templates/order/order_wizard/match_fields.html b/InvenTree/order/templates/order/order_wizard/match_fields.html index d1385d031b..e837279ccb 100644 --- a/InvenTree/order/templates/order/order_wizard/match_fields.html +++ b/InvenTree/order/templates/order/order_wizard/match_fields.html @@ -18,9 +18,9 @@ {% endblock form_alert %} {% block form_buttons_top %} - {% if wizard.steps.prev %} + {% comment %} {% if wizard.steps.prev %} - {% endif %} + {% endif %} {% endcomment %} {% endblock form_buttons_top %} diff --git a/InvenTree/order/templates/order/order_wizard/match_parts.html b/InvenTree/order/templates/order/order_wizard/match_parts.html index 735d847b87..2cf4aa1ea2 100644 --- a/InvenTree/order/templates/order/order_wizard/match_parts.html +++ b/InvenTree/order/templates/order/order_wizard/match_parts.html @@ -12,9 +12,9 @@ {% endblock form_alert %} {% block form_buttons_top %} - {% if wizard.steps.prev %} + {% comment %} {% if wizard.steps.prev %} - {% endif %} + {% endif %} {% endcomment %} {% endblock form_buttons_top %} @@ -25,7 +25,7 @@ {% trans "Row" %} {% trans "Select Part" %} - {% for col in bom_columns %} + {% for col in columns %} @@ -39,7 +39,7 @@ - {% for row in bom_rows %} + {% for row in rows %}