{% load static %}
| Delivery Person | Orders | Total | Received | Due |
|---|---|---|---|---|
| {{ row.delivery_person_name }} | {{ row.orders }} | Rs {{ row.total|floatformat:0 }} | Rs {{ row.received|floatformat:0 }} | Rs {{ row.due|floatformat:0 }} |
| No delivery calculation found. | ||||
| Order # | Date / Time | Delivery Person | Customer | Phone | Address | Status | Total | Received | Due | Payment |
|---|---|---|---|---|---|---|---|---|---|---|
| #{{ row.order.order_no }} | {% if row.order.created_at %} {{ row.order.created_at|date:"d-M-Y h:i A" }} {% else %} - {% endif %} | {{ row.delivery_person_name|default:"Unassigned" }} | {{ row.order.customer_name|default:"-" }} | {{ row.order.customer_phone|default:"-" }} | {{ row.order.customer_address|default:"-" }} | {{ row.order.status|default:"-" }} | Rs {{ row.grand_total|floatformat:0 }} | Rs {{ row.received|floatformat:0 }} | Rs {{ row.due|floatformat:0 }} | {{ row.payment_status }} |
| No delivery orders found. | ||||||||||