{% extends "epic/base_layout.html" %} {% load staticfiles %} {% block extrahead %} {{ block.super }} {% endblock extrahead %} {% block content %} {{ block.super }} {% if num_changes == 0 %}

The bill of material for parts {{bom_part.html_link|safe}} and {{other_bom_part.html_link|safe}} are the same.

{% else %}
Differences between {{bom_part.mfg}} {{bom_part.mfg_pn}} ({{bom_part.html_link|safe}}, newer) versus {{other_bom_part.mfg}} {{other_bom_part.mfg_pn}} ({{other_bom_part.html_link|safe}}, older):
{% for p in removed %} {% endfor %} {% for p in added %} {% endfor %} {% for p in changed_qty %} {% endfor %}
Type of change Part Mfg PN Value Old Qty New Qty Change
Removed {{p.0.html_link|safe}} {{p.0.mfg}} {{p.0.mfg_pn}} {{p.0.val}} {{p.1}} {{p.2}} {{p.3|stringformat:"+d"}}
Added {{p.0.html_link|safe}} {{p.0.mfg}} {{p.0.mfg_pn}} {{p.0.val}} {{p.1}} {{p.2}} {{p.3|stringformat:"+d"}}
Qty changed {{p.0.html_link|safe}} {{p.0.mfg}} {{p.0.mfg_pn}} {{p.0.val}} {{p.1}} {{p.2}} {{p.3|stringformat:"+d"}}
{% endif %} {% endblock content %}