{% extends "module_base.html" %} {% load static %} {% load indonesian_filters %} {% block title %}Sales Report{% endblock %} {% block content %}
| Order Number | Customer | Order Date | Expected Delivery | Status | Items | Total Amount |
|---|---|---|---|---|---|---|
| {{ order.so_number }} | {{ order.customer.name }} | {{ order.order_date|date:"d M Y" }} | {{ order.expected_delivery_date|date:"d M Y" }} | {% if order.status == 'processing' %} Processing {% elif order.status == 'completed' %} Completed {% elif order.status == 'cancelled' %} Cancelled {% endif %} | {{ order.items.count }} | {{ order.total_amount|format_rupiah }} |
| No sales orders found for the selected period. | ||||||
| Product | Quantity Sold | Total Revenue | % of Total Sales |
|---|---|---|---|
| {{ product.name }} | {{ product.total_quantity }} | {{ product.total_revenue|format_rupiah }} | {{ product.percentage }}% |
| No product sales data available. | |||