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

arrow_back Change orders

{{ change.title }} {% include 'bom/changes/change-status-chip.html' %}

{% if can_submit %}
{% csrf_token %}
{% endif %} {% if can_apply %}
{% csrf_token %}
{% endif %} {% if can_apply_as_admin %}
{% csrf_token %}
{% endif %} {% if can_reject %}
Reject…
{% csrf_token %}
{% endif %} {% if can_withdraw %}
{% csrf_token %}
{% endif %} {% if is_applied %} {% for card in cards %} Released rev {{ card.part_revision.revision }} of {{ card.part_revision.part.full_part_number }} {% endfor %} {% endif %}
{% if change.status == 'rejected' and change.rejection_reason %}
Sent back{% if change.resolved_by %} by {{ change.resolved_by.get_full_name|default:change.resolved_by.username }}{% endif %}

{{ change.rejection_reason|linebreaksbr }}

Its revisions are Drafts again. Edit them, then submit this change order for review again.

{% endif %} {% if change.rationale %}
Why

{{ change.rationale|linebreaksbr }}

{% endif %}
{% if not staged_items %}
Affected parts{% if cards %} · {{ cards|length }}{% endif %}
{% if can_remove %}
Add part to change order…
{% csrf_token %}

The part's Draft revision joins this change order, to be reviewed and released with the others. If its latest revision is Released, its next revision is started as a Draft. No BOM is changed.

{% endif %}
{% endif %} {% include 'bom/changes/components/change-revisions.html' %} {% if staged_items %}
Edits
    {% for item in staged_items %}
  • {{ item.summary }}
  • {% endfor %}
{% elif not cards %}

{% if is_editable %}No affected parts yet. Add the parts whose new revisions this change order should release.{% else %}This change order holds no parts.{% endif %}

{% endif %}
{% endblock %}