{% extends "module_base.html" %} {% load static %} {% load indonesian_filters %} {% block title %}Purchasing Report{% endblock %} {% block content %}
| PO Number | Supplier | Order Date | Expected Delivery | Status | Items | Total Amount |
|---|---|---|---|---|---|---|
| {{ order.po_number }} | {{ order.supplier.name }} | {{ order.order_date|date:"d M Y" }} | {{ order.expected_delivery_date|date:"d M Y" }} | {% if order.status == 'ordered' %} Ordered {% elif order.status == 'completed' %} Completed {% elif order.status == 'cancelled' %} Cancelled {% endif %} | {{ order.items.count }} | {{ order.total_amount|format_rupiah }} |
| No purchase orders found for the selected period. | ||||||
| Product | Quantity Purchased | Total Cost | % of Total Purchases |
|---|---|---|---|
| {{ product.product__name }} | {{ product.total_quantity }} | {{ product.total_cost|format_rupiah }} | {{ product.percentage }}% |
| No product purchasing data available. | |||