{% extends 'reports/base_report.html' %} {% load humanize %} {% block title %}Purchases Report{% endblock %} {% block report_content %}
| Order Date | PO Number | Supplier | Items | Total Amount | Status | Actions |
|---|---|---|---|---|---|---|
| {{ po.order_date|date:"M d, Y" }} | {{ po.po_number }} | {{ po.supplier.name|default:"N/A" }} | {{ po.items.count }} | Ksh {{ po.total_amount|intcomma }} | {% if po.status == 'completed' %} Completed {% elif po.status == 'cancelled' %} Cancelled {% else %} Pending {% endif %} | View |
| No purchase orders found for the selected period. | ||||||
| Total: | Ksh {{ total_amount|intcomma }} | |||||