{% extends 'base.html' %} {% load humanize %} {% block title %}Sales List - Ghana Wholesale{% endblock %} {% block content %}

Sales History

POS Dashboard Daily Report
Clear
All Sales
{{ page_obj.paginator.count }} sales
{% for sale in page_obj %} {% empty %} {% endfor %}
Invoice # Date Shop Customer Items Amount Payment Status Actions
{{ sale.invoice_number }} {% if sale.vat_invoice %} VAT {% endif %} {{ sale.created_at|date:"d M, H:i" }} {{ sale.shop.code }} {% if sale.customer %} {{ sale.customer.name|truncatechars:15 }} {% else %} Walk-in {% endif %} {{ sale.items_count }} GH₵ {{ sale.total_amount|floatformat:2 }} {{ sale.get_payment_method_display|truncatechars:10 }} {% if sale.status == 'draft' %} Draft {% elif sale.status == 'pending' %} Pending {% elif sale.status == 'completed' %} Completed {% elif sale.status == 'cancelled' %} Cancelled {% elif sale.status == 'refunded' %} Refunded {% endif %}
{% if sale.status == 'completed' %} {% endif %} {% if sale.status == 'draft' or sale.status == 'pending' %} {% endif %}

No sales found

Create First Sale
{% if page_obj.has_other_pages %} {% endif %}
Total Sales

{{ page_obj.paginator.count }}

Completed

{{ page_obj.paginator.count }}

Pending

0

Cancelled

0

{% endblock %}