{% extends "pos/base.html" %} {% load static %} {% block title %}Item‑wise Sales Report{% endblock %} {% block stylesheets %} {% endblock %} {% block heading %}Item‑wise Sales Report{% endblock %} {% block content %}
{% if is_master %}
{% endif %}
{% if is_master %} {% endif %}
{% if show_profit %}{% endif %} {% for row in page_obj.object_list %} {% if show_profit %}{% endif %} {% empty %} {% endfor %} {% if show_profit %}{% endif %}
Product ID Name Qty Gross Discount NetProfit
{{ row.product_code }} {{ row.product_name }} {{ row.total_quantity|floatformat:2 }} {{ row.gross_sales|floatformat:2 }} {{ row.total_discount|floatformat:2 }} {{ row.net_sales|floatformat:2 }}{{ row.profit|floatformat:2 }}
No data
Grand Total: {{ totals.sum_qty|floatformat:2 }} {{ totals.sum_gross|floatformat:2 }} {{ totals.sum_disc|floatformat:2 }} {{ totals.sum_net|floatformat:2 }}{{ totals.sum_profit|floatformat:2 }}
{% endblock %} {% block javascripts %} {% endblock %}