Total Orders
{{ total_orders|default:0 }}
Completed
{{ completed_orders|default:0 }}
In Progress
{{ in_progress_orders|default:0 }}
Total BOMs
{{ total_boms|default:0 }}
| MO Number |
BOM |
Product |
Quantity |
Status |
Start Date |
End Date |
Total Cost |
{% for order in manufacturing_orders %}
| {{ order.mo_number }} |
{{ order.bom.bom_code }} |
{{ order.bom.product.name }} |
{{ order.quantity_to_produce }} |
{% if order.status == 'scheduled' %}
Scheduled
{% elif order.status == 'in_progress' %}
In Progress
{% elif order.status == 'completed' %}
Completed
{% elif order.status == 'cancelled' %}
Cancelled
{% endif %}
|
{% if order.actual_start_date %}{{ order.actual_start_date|date:"d M Y" }}{% else %}Not started{% endif %} |
{% if order.actual_end_date %}{{ order.actual_end_date|date:"d M Y" }}{% else %}Not completed{% endif %} |
{{ order.total_cost|format_rupiah }} |
{% empty %}
|
No manufacturing orders found for the selected period.
|
{% endfor %}
| BOM Code |
Product |
Components |
Total Cost |
MO Count |
Status |
{% for bom in bom_analysis %}
| {{ bom.bom_code }} |
{{ bom.product.name }} |
{{ bom.components_count }} |
{{ bom.calculated_total_cost|format_rupiah }} |
{{ bom.mo_count }} |
{% if bom.is_active %}
Active
{% else %}
Inactive
{% endif %}
|
{% empty %}
|
No BOMs found.
|
{% endfor %}