{% extends 'base.html' %} {% load manufacture_extras %} {% block title %}Manufacturing Order - {{ manufacturing_order.order_number }}{% endblock %} {% block content %}

Manufacturing Order

Back to List {% if user.is_superuser or user.is_staff %} Edit {% endif %}
Order Details

Order Number: {{ manufacturing_order.order_number }}

Date: {{ manufacturing_order.date|date:"d/m/Y" }}

Status: {{ manufacturing_order.get_status_display }}

Product: {{ manufacturing_order.product.name }}

Quantity: {{ manufacturing_order.quantity }}

Created By: {{ manufacturing_order.created_by.get_full_name|default:"N/A" }}

{% if manufacturing_order.notes %}
Notes:

{{ manufacturing_order.notes }}

{% endif %}
Cost Information
Labor Cost

Rp {{ manufacturing_order.labor_cost|format_currency }}

Overhead Cost

Rp {{ manufacturing_order.overhead_cost|format_currency }}

Total Cost

Rp {{ manufacturing_order.total_cost|format_currency }}

Unit Cost
Rp {{ manufacturing_order.get_unit_cost|format_currency }}
Product Information

Product Code: {{ manufacturing_order.product.code }}

Category: {{ manufacturing_order.product.category.name|default:"N/A" }}

Current Stock: {{ manufacturing_order.product.current_stock }}

Cost Price: Rp {{ manufacturing_order.product.cost_price|format_currency }}

Selling Price: Rp {{ manufacturing_order.product.selling_price|format_currency }}

Timestamps

Created: {{ manufacturing_order.created_at|date:"d/m/Y H:i" }}

Updated: {{ manufacturing_order.updated_at|date:"d/m/Y H:i" }}

{% endblock %}