{% extends 'base.html' %} {% load shop_extras %} {% block content %}
Status: {{ order.status }}
Placed on: {{ order.created_at|date:'d M Y, H:i' }}
Total: $ {{ order.total|floatformat:2 }}
Phone: {{ order.shipping_address.phone|default:order.phone|default:'—' }}
Shipping Address:
{{ order.shipping_address.full_address|linebreaksbr }}
| Product | Qty | Unit Price | Subtotal |
|---|---|---|---|
| {{ item.product.name }} | {{ item.quantity }} | $ {{ item.price|floatformat:2 }} | $ {{ total|floatformat:2 }} |
| Date | Status | Amount |
|---|---|---|
| {{ log.created_at|date:'d M H:i' }} | {{ log.status|title }} | $ {{ log.amount|floatformat:2 }} |
| No payment records yet. | ||
| Month | Due Date | Amount | Status |
|---|---|---|---|
| {{ installment.month }} | {{ installment.due_date|date:'d M Y' }} | $ {{ installment.amount|floatformat:2 }} | {% if installment.is_paid %} Paid {% else %} Pending {% endif %} |