{% extends 'bom/bom-base.html' %} {% block head-title %}{{ title }}{% endblock %} {% block content %}

arrow_back Back to {{ part.full_part_number }} rev {{ part_revision.revision }}

{% csrf_token %} {% if draft_subparts %}
warning{{ draft_subparts|length }} unreleased subpart{{ draft_subparts|length|pluralize }}

Release {{ draft_subparts|length|pluralize:"it,them" }} first so this revision doesn't point at Draft parts.

{% endif %}
What changed
{% if preview.previous_revision %}

Compared with rev {{ preview.previous_revision.revision }} ({{ preview.previous_revision.get_configuration_display }}).

{% if items %} {% include 'bom/changes/components/change-items.html' %} {% else %}

Nothing differs from the previous revision.

{% endif %} {% else %}

This is the first revision of the part.

{% endif %}
Unit cost at {{ preview.quantity }} units
{% if preview.previous_revision %} {% endif %}
Rev {{ preview.previous_revision.revision }} {% include 'bom/components/money.html' with amount=preview.unit_cost_before %}
Rev {{ part_revision.revision }} {% include 'bom/components/money.html' with amount=preview.unit_cost_after %}
{% if preview.draft_parents or preview.released_parents %}
Where used
{% if preview.draft_parents %}

These Draft assemblies move to rev {{ part_revision.revision }} automatically:

{% for parent in preview.draft_parents %} {{ parent.part.full_part_number }} rev {{ parent.revision }} {% endfor %}
{% endif %} {% if preview.released_parents %}

These Released assemblies use rev {{ preview.previous_revision.revision }}. Select any to revise with rev {{ part_revision.revision }}:

{% for parent in preview.released_parents %}

{% endfor %} {% endif %}
{% endif %}
{% if approval_required %}

This organization requires approval to release. Request approval and someone other than you approves the request, which then releases this revision.

{% endif %}
Cancel {% if can_request_approval %} {% endif %} {% if can_override %} {% endif %} {% if can_release %} {% endif %}
{% endblock %}