{% extends 'base.html' %} {% load indonesian_filters %} {% block title %}{{ action_title }} - Manufacturing App{% endblock %} {% block content %}

{% if action == 'approve' %} {{ action_title }} {% elif action == 'cancel' %} {{ action_title }} {% endif %}

Action: {{ action_message }}
Purchase Order Details:
PO Number: {{ po.po_number }}
Supplier: {{ po.supplier.name }}
Order Date: {{ po.order_date|date:"F d, Y" }}
Current Status: {% if po.status == 'ordered' %} Ordered {% elif po.status == 'approved' %} Approved {% elif po.status == 'completed' %} Completed {% elif po.status == 'cancelled' %} Cancelled {% endif %}
Total Amount: {{ po.total_amount|format_rupiah }}
Cancel
{% csrf_token %}
{% endblock %}