{% extends "django_program/manage/base.html" %} {% block title %}{{ purchase_order.reference }}{% endblock %} {% block breadcrumb %} {% endblock %} {% block page_title %}
{{ purchase_order.organization_name }}
{% endblock %} {% block content %} {# ── Contact & Billing Info ── #}| Description | Qty | Unit Price | Line Total |
|---|---|---|---|
| {{ item.description }} | {{ item.quantity }} | ${{ item.unit_price }} | ${{ item.line_total }} |
| Subtotal | ${{ purchase_order.subtotal }} | ||
| Total | ${{ purchase_order.total }} | ||
| Total Paid | ${{ purchase_order.total_paid }} | ||
| Total Credits | ${{ purchase_order.total_credited }} | ||
| Balance Due | ${{ purchase_order.balance_due }} | ||
No line items.
{% endif %} {# ── Payments ── #}| Date | Amount | Method | Reference | Entered By | Note |
|---|---|---|---|---|---|
| {{ payment.payment_date|date:"M j, Y" }} | ${{ payment.amount }} | {{ payment.get_method_display }} | {% if payment.reference %}{{ payment.reference }}{% else %}--{% endif %} | {% if payment.entered_by %}{{ payment.entered_by.get_full_name|default:payment.entered_by.username }}{% else %}--{% endif %} | {% if payment.note %}{{ payment.note|truncatewords:10 }}{% else %}--{% endif %} |
No payments recorded yet.
{% endif %} {% if purchase_order.status != "cancelled" and purchase_order.status != "paid" %}| Date | Amount | Reason | Issued By |
|---|---|---|---|
| {{ cn.created_at|date:"M j, Y" }} | ${{ cn.amount }} | {{ cn.reason|truncatewords:20 }} | {% if cn.issued_by %}{{ cn.issued_by.get_full_name|default:cn.issued_by.username }}{% else %}--{% endif %} |
No credit notes issued.
{% endif %} {% if purchase_order.status != "cancelled" %}