{% extends "part/part_base.html" %} {% load static %} {% load inventree_extras %} {% block details %} {% include "part/tabs.html" with tab="bom" %}

Upload Bill of Materials

Step 3 - Select Parts


{% if form_errors %} {% endif %}
{% csrf_token %} {% load crispy_forms_tags %} {% for col in bom_columns %} {% endfor %} {% for row in bom_rows %} {% for item in row.data %} {% endfor %} {% endfor %}
Row {% if col.guess %} {{ col.guess }} {% else %} {{ col.name }} {% endif %}
{% add row.index 1 %} {% if item.column.guess == 'Part' %} {{ item.cell }} {% if row.errors.part %}

{{ row.errors.part }}

{% endif %} {% elif item.column.guess == 'Quantity' %} {% if row.errors.quantity %}

{{ row.errors.quantity }}

{% endif %} {% elif item.column.guess == 'Reference' %} {% elif item.column.guess == 'Notes' %} {% elif item.column.guess == 'Overage' %} {% else %} {{ item.cell }} {% endif %}
{% endblock %} {% block js_ready %} {{ block.super }} $('.bomselect').select2({ dropdownAutoWidth: true, matcher: partialMatcher, }); {% endblock %}