{% extends "order/order_wizard/po_upload.html" %} {% load inventree_extras %} {% load i18n %} {% load static %} {% block form_alert %} {% if form_errors %} {% endif %} {% endblock form_alert %} {% block form_buttons_top %} {% if wizard.steps.prev %} {% endif %} {% endblock form_buttons_top %} {% block form_content %} {% trans "Row" %} {% trans "Select Supplier Part" %} {% for col in columns %} {% if col.guess %} {{ col.guess }} {% else %} {{ col.name }} {% endif %} {% endfor %} {% for row in rows %} {{ row.index }} {% for field in form.visible_fields %} {% if field.name == row.item_select %} {{ field }} {% endif %} {% endfor %} {% if row.errors.part %}

{{ row.errors.part }}

{% endif %} {% for item in row.data %} {% if item.column.guess == 'Quantity' %} {% for field in form.visible_fields %} {% if field.name == row.quantity_select %} {{ field }} {% endif %} {% endfor %} {% if row.errors.quantity %}

{{ row.errors.quantity }}

{% endif %} {% else %} {{ item.cell }} {% endif %} {% endfor %} {% endfor %} {% endblock form_content %} {% block form_buttons_bottom %} {% endblock form_buttons_bottom %} {% block js_ready %} {{ block.super }} $('.bomselect').select2({ dropdownAutoWidth: true, matcher: partialMatcher, }); {% endblock %}