{% extends 'base.html' %} {% load static %} {% block page_title %}Sales Reports{% endblock %} {% block header_actions %}
{% endblock %} {% block content %}| Date & Time | Product | Quantity | Unit Price | Total | Payment | Customer | Actions |
|---|---|---|---|---|---|---|---|
|
{{ sale.sale_date|date:"M d, Y" }}
{{ sale.sale_date|date:"H:i" }}
|
{{ sale.product.name }}
SKU: {{ sale.product.sku }}
|
{{ sale.quantity }} | KSh {{ sale.unit_price|floatformat:2 }} | KSh {{ sale.total_amount|floatformat:2 }} | {% if sale.payment_method == 'cash' %} Cash {% elif sale.payment_method == 'mpesa' %} M-Pesa {% elif sale.payment_method == 'card' %} Card {% else %} {{ sale.payment_method }} {% endif %} |
{% if sale.customer_name %}
{{ sale.customer_name }}
{% if sale.customer_phone %}
{{ sale.customer_phone }}
{% endif %}
{% else %}
Walk-in
{% endif %}
|
|
No sales records foundTry adjusting your filters or make your first sale. |
|||||||
| Product | Quantity | Revenue |
|---|---|---|
| {{ item.product__name|truncatechars:20 }} | {{ item.total_quantity }} | KSh {{ item.total_amount|floatformat:2 }} |