{% extends "pos/base.html" %} {% load static %} {% block title %}Delivery Person Sales Report{% endblock %} {% block heading %}Delivery Person Sales Report{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
| Delivery Person | Orders | Subtotal | Discount | Charges | Tax | Total | Received | Balance | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{ r.delivery_person_name }} | {{ r.orders }} | Rs {{ r.subtotal|floatformat:0 }} | Rs {{ r.discount|floatformat:0 }} | Rs {{ r.charges|floatformat:0 }} | Rs {{ r.tax|floatformat:0 }} | Rs {{ r.total|floatformat:0 }} | Rs {{ r.received|floatformat:0 }} | Rs {{ r.balance|floatformat:0 }} | {% if r.delivery_person_t_id %} Detail {% else %} - {% endif %} |
| No delivery person calculation found. | |||||||||
| Total | {{ total_orders }} | Rs {{ total_subtotal|floatformat:0 }} | Rs {{ total_discount|floatformat:0 }} | Rs {{ total_charges|floatformat:0 }} | Rs {{ total_tax|floatformat:0 }} | Rs {{ total_amount|floatformat:0 }} | Rs {{ total_received|floatformat:0 }} | Rs {{ total_balance|floatformat:0 }} | |
| Order | Date / Time | Delivery Person | Customer | Phone | Address | Status | Total | Received | Balance | Actions |
|---|---|---|---|---|---|---|---|---|---|---|
| #{{ r.order_no }} | {{ r.created_at|date:"Y-m-d h:i A" }} | {% if r.delivery_person_name %} {{ r.delivery_person_name }} {% else %} Unassigned {% endif %} | {{ r.customer_name|default:r.customer_title|default:"-" }} | {{ r.customer_phone|default:"-" }} | {{ r.customer_address|default:"-" }} | {{ r.status|default:"-" }} | Rs {{ r.grand_total|floatformat:0 }} | Rs {{ r.received|floatformat:0 }} | Rs {{ r.balance|floatformat:0 }} | |
| No delivery sale found in selected period. | ||||||||||
| Total | Rs {{ total_amount|floatformat:0 }} | Rs {{ total_received|floatformat:0 }} | Rs {{ total_balance|floatformat:0 }} | |||||||