{% extends "module_base.html" %} {% load static %} {% block title %}{{ action }} Manufacturing Order{% endblock %} {% block content %}

{{ action }} Manufacturing Order

Are you sure you want to {{ action|lower }} the following Manufacturing Order?

MO Number: {{ mo.mo_number }}
BOM: {{ mo.bom.bom_code }} - {{ mo.bom.product.name }}
Quantity: {{ mo.quantity_to_produce|floatformat:2 }}
Current Status: {{ mo.get_status_display }}
{% if action == 'Start' %}
Starting this manufacturing order will change its status to "In Progress" and record the start date.
{% elif action == 'Complete' %}
Completing this manufacturing order will change its status to "Completed" and record the completion date. This will also update the inventory with the produced items.
{% elif action == 'Cancel' %}
Canceling this manufacturing order will change its status to "Cancelled". This action cannot be undone.
{% endif %}
{% csrf_token %}
Cancel
{% endblock %}