{% extends 'base.html' %} {% block title %}{{ po.reference }}{% endblock %} {% block content %}

{{ po.reference }}

← Back {% if po.status == 'pending' %} ✅ Mark Received {% if request.user.is_owner or request.user.is_manager %} ✕ Cancel {% endif %} {% endif %}

Order Info

Supplier
Status
{{ po.get_status_display }}
Order Date
{{ po.date|date:"d M Y" }}
{% if po.received_date %}
Received Date
{{ po.received_date|date:"d M Y" }}
{% endif %}
Payment Account
{{ po.account.name|default:"Not specified" }}
Created By
{{ po.created_by.username|default:"—" }}
{% if po.note %}
📝 {{ po.note }}
{% endif %}
Order Total
{{ po.total|floatformat:0 }}
{{ po.items.count }} item(s)

Items

{% for item in po.items.all %} {% endfor %}
Product Quantity Unit Cost Total
{{ item.product.name }} {{ item.quantity }} {{ item.product.unit }} {{ item.unit_cost|floatformat:0 }} {{ item.line_total|floatformat:0 }}
Total {{ po.total|floatformat:0 }}
{% endblock %}