{% extends "pos/base.html" %} {% block heading %}Sale History – {{ product.name }}{% endblock heading %} {% block content %}
{% for r in rows %} {% empty %} {% endfor %}
Invoice Date Qty Item Price Disc Total Price Customer
{{ r.invoice_no }} {{ r.sale_date }} {{ r.quantity }} {{ r.item_price }} {{ r.discount }} {{ r.total_price }} {{ r.customer_display }}
No sales.
Totals: {{ total_qty }} {{ grand_total }}
Customer Summary
{% for s in customer_summary %} {% empty %} {% endfor %}
Customer Qty Total
{{ s.customer_name }} {{ s.qty }} {{ s.total }}
No data

Grand Total {{ grand_total }}
{% endblock %}