{% extends 'bom/bom-base.html' %} {% block head-title %}{{ title }}{% endblock %} {% block bom-menu %}{% endblock %} {% block content %}
Fix these rows and upload the file again. Nothing has been saved.
{{ row_count }} row{{ row_count|pluralize }} ready to import. {% if parent_part %} {% if adds_to_parent_part %}Adding to{% else %}Replacing{% endif %} the BOM of {{ parent_part.full_part_number }}. {% endif %} Nothing is saved until you confirm. {% if not assembly_changes %}This upload doesn't change any BOMs.{% endif %}
{% endif %} {% if warnings %}New assembly.
{% elif assembly.used_in_count > 1 %}Used in {{ assembly.used_in_count }} assemblies. These changes apply to all of them.
{% endif %} {% regroup assembly.lines by change as lines_by_change %} {% for group in lines_by_change %} {% if group.grouper == 'added' %}{{ group.list|length }} line{{ group.list|length|pluralize }} {{ group.grouper }}
{% include 'bom/components/upload-bom-preview-lines.html' with lines=group.list %} {% endif %} {% endfor %}