{% extends 'base.html' %} {% load static %} {% block title %}Receipt {{ receipt.receipt_number }} - Ghana Wholesale{% endblock %} {% block content %}

Receipt: {{ receipt.receipt_number }}

Sale Invoice: {{ sale.invoice_number }}

Back to Sale

{{ receipt.company_name }}

{{ receipt.company_address }}

Phone: {{ receipt.company_phone }}

{% if receipt.vat_number %}

VAT No: {{ receipt.vat_number }}

{% endif %}

Receipt No: {{ receipt.receipt_number }}

Invoice No: {{ sale.invoice_number }}

Date: {{ sale.created_at|date:"d/m/Y H:i" }}

Cashier: {{ sale.cashier.get_full_name|default:sale.cashier.username }}

Shop: {{ sale.shop.name }}

{% if sale.customer %}

Customer: {{ sale.customer.name }}

{% endif %}
{% for item in sale.items.all %} {% endfor %}
# Product Qty Price Total
{{ forloop.counter }} {{ item.product.name }} {{ item.quantity }} {{ item.product.unit }} GH₵{{ item.unit_price|floatformat:2 }} GH₵{{ item.total_price|floatformat:2 }}
{% if sale.discount_percentage > 0 or sale.discount_amount > 0 %} {% endif %} {% if sale.balance > 0 %} {% else %} {% endif %}
Subtotal: GH₵{{ sale.subtotal|floatformat:2 }}
Discount: - GH₵{% widthratio sale.discount_amount 1 1 %}
VAT (15%): GH₵{{ sale.tax_amount|floatformat:2 }}
Total: GH₵{{ sale.total_amount|floatformat:2 }}
Amount Paid: GH₵{{ sale.amount_paid|floatformat:2 }}
Balance Due: GH₵{{ sale.balance|floatformat:2 }}
Balance: GH₵0.00

Payment Method: {{ sale.get_payment_method_display }}

{% if sale.payment_method == 'mobile_money' and sale.mobile_money_number %}

Mobile Money No: {{ sale.mobile_money_number }}

{% endif %}

{{ receipt.footer_message }}

Printed on {{ receipt.printed_at|date:"d/m/Y H:i" }} by {{ receipt.printed_by.get_full_name|default:receipt.printed_by.username }}

Thank you for your business!

View Sale Details POS Dashboard {% if sale.status == 'completed' %} Void Sale {% endif %}
{% endblock %}