{% extends 'core/base.html' %} {% load static %} {% load currency_filters %} {% block title %}Sales by Item Summary - SwiftPOS{% endblock %} {% block topbar_title %} Sales by Item Summary {% endblock %} {% block content %}
Detailed breakdown of products sold and margins. {% if start_date == end_date %} Showing: {{ start_date }} {% else %} Showing: {{ start_date }} → {{ end_date }} {% endif %}
| Item name | SKU | Category | Items sold | Gross sales | Refunds | Discounts | Net sales | Cost of goods | Gross profit | Margin | Taxes |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ item.item_name }} | {{ item.sku }} | {{ item.category }} | {{ item.quantity }} | {{ item.gross_sales|floatformat:2 }} | {{ item.refunds|floatformat:2 }} | {{ item.discounts|floatformat:2 }} | {{ item.net_sales|floatformat:2 }} | {{ item.cost_of_goods|floatformat:2 }} | {{ item.gross_profit|floatformat:2 }} | {{ item.margin|floatformat:2 }}% | {{ item.taxes|floatformat:2 }} |
|
No sales data found for the selected dates.
|
|||||||||||
| TOTALS | {{ grand_totals.quantity }} | {{ grand_totals.gross_sales|floatformat:2 }} | {{ grand_totals.refunds|floatformat:2 }} | {{ grand_totals.discounts|floatformat:2 }} | {{ grand_totals.net_sales|floatformat:2 }} | {{ grand_totals.cost_of_goods|floatformat:2 }} | {{ grand_totals.gross_profit|floatformat:2 }} | {{ grand_totals.margin|floatformat:2 }}% | {{ grand_totals.taxes|floatformat:2 }} | ||