{% extends 'base.html' %} {% load humanize %} {% block title %}Process Payment - Sale {{ sale.invoice_number }}{% endblock %} {% block content %}

Process Payment

Back to Sale POS Dashboard
Invoice: {{ sale.invoice_number }}
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 }}
{% if sale.customer %}
Customer: {{ sale.customer.name }} ({{ sale.customer.phone }}) {% if sale.customer.available_credit > 0 %}
Available Credit: GH₵ {{ sale.customer.available_credit|floatformat:2 }} {% endif %}
{% endif %}
Sale Items:
{% for item in sale.items.all %} {% endfor %}
Product Qty Unit Price Total
{{ item.product.name }} {{ item.quantity }} GH₵ {{ item.unit_price|floatformat:2 }} GH₵ {{ item.total_price|floatformat:2 }}
Payment Details
{% csrf_token %}
Note: Once processed, stock will be deducted from {{ sale.shop.name }}.
{% endblock %} {% block extra_js %} {% endblock %}