{% extends "base.html" %} {% block content %}

Sales Records

{% for sale in sales %} {% endfor %}
๐Ÿ“‹ Sale # ๐Ÿ‘ค Buyer Name ๐Ÿ“ฑ Phone ๐Ÿ›’ Products ๐Ÿ“ฆ Items ๐Ÿ’ต Total Amount ๐Ÿ’ณ Payment ๐Ÿ“… Date โšก Actions
{{ sale.sale_number }} {{ sale.buyer_name }} {{ sale.phone_number or '-' }} {{ sale.product_names or 'No products' }} {{ sale.item_count }} items AED {{ "{:,.2f}".format(sale.total_amount) }} {{ sale.payment_method or 'cash' }} {{ sale.sale_date }}
VAT Summary
View VAT collected from sales receipts
{% if due_customers %}
Customers with Due
Track pending balances and collect further payments
{% for customer in due_customers %} {% endfor %}
Buyer Phone Total (with VAT) Paid Due
{{ customer.buyer_name }} {{ customer.phone_number or '-' }} AED {{ '{:,.2f}'.format(customer.total_with_vat or 0) }} AED {{ '{:,.2f}'.format(customer.paid_amount or 0) }} AED {{ '{:,.2f}'.format(customer.due_amount or 0) }}
{% endif %} {% endblock %} {% block scripts %} {% endblock %}