{% extends 'base.html' %} {% load humanize %} {% block title %}Process Payment - Sale {{ sale.invoice_number }}{% endblock %} {% block content %}
| Date: | {{ sale.created_at|date:"d M Y, H:i" }} |
|---|---|
| Shop: | {{ sale.shop.name }} ({{ sale.shop.code }}) |
| Cashier: | {{ sale.cashier.username }} |
| Status: | {% if sale.status == 'draft' %} Draft {% elif sale.status == 'pending' %} Pending {% elif sale.status == 'completed' %} Completed {% endif %} |
| Subtotal: | GH₵ {{ sale.subtotal|floatformat:2 }} |
|---|---|
| Discount: | -GH₵ {{ sale.discount_amount|floatformat:2 }} |
| VAT (15%): | GH₵ {{ sale.tax_amount|floatformat:2 }} |
| Total: | GH₵ {{ sale.total_amount|floatformat:2 }} |
| Product | Qty | Unit Price | Total |
|---|---|---|---|
| {{ item.product.name }} | {{ item.quantity }} | GH₵ {{ item.unit_price|floatformat:2 }} | GH₵ {{ item.total_price|floatformat:2 }} |