{% extends "pos/base.html" %} {% load static %} {% block title %}Delivery Person Detail{% endblock %} {% block heading %}Delivery Person Detail{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
| Section | Orders | Subtotal | Discount | Charges | Tax | Total | Received | Balance |
|---|---|---|---|---|---|---|---|---|
| Pending/Open Orders | {{ pending_calc.orders }} | Rs {{ pending_calc.subtotal|floatformat:0 }} | Rs {{ pending_calc.discount|floatformat:0 }} | Rs {{ pending_calc.charges|floatformat:0 }} | Rs {{ pending_calc.tax|floatformat:0 }} | Rs {{ pending_calc.total|floatformat:0 }} | Rs {{ pending_calc.received|floatformat:0 }} | Rs {{ pending_calc.balance|floatformat:0 }} |
| Unpaid / Due Orders | {{ unpaid_calc.orders }} | Rs {{ unpaid_calc.subtotal|floatformat:0 }} | Rs {{ unpaid_calc.discount|floatformat:0 }} | Rs {{ unpaid_calc.charges|floatformat:0 }} | Rs {{ unpaid_calc.tax|floatformat:0 }} | Rs {{ unpaid_calc.total|floatformat:0 }} | Rs {{ unpaid_calc.received|floatformat:0 }} | Rs {{ unpaid_calc.balance|floatformat:0 }} |
| Filtered Orders | {{ filtered_calc.orders }} | Rs {{ filtered_calc.subtotal|floatformat:0 }} | Rs {{ filtered_calc.discount|floatformat:0 }} | Rs {{ filtered_calc.charges|floatformat:0 }} | Rs {{ filtered_calc.tax|floatformat:0 }} | Rs {{ filtered_calc.total|floatformat:0 }} | Rs {{ filtered_calc.received|floatformat:0 }} | Rs {{ filtered_calc.balance|floatformat:0 }} |
| Order | Date / Time | Customer | Phone | Address | Total | Received | Balance | Status | Action |
|---|---|---|---|---|---|---|---|---|---|
| #{{ r.order_no }} | {{ r.created_at|date:"Y-m-d h:i A" }} | {{ r.customer_name|default:r.customer_title|default:"-" }} | {{ r.customer_phone|default:"-" }} | {{ r.customer_address|default:"-" }} | Rs {{ r.grand_total|floatformat:0 }} | Rs {{ r.received|floatformat:0 }} | Rs {{ r.balance|floatformat:0 }} | {{ r.status }} | View |
| No pending orders found. | |||||||||
| Pending Total | Rs {{ pending_calc.total|floatformat:0 }} | Rs {{ pending_calc.received|floatformat:0 }} | Rs {{ pending_calc.balance|floatformat:0 }} | ||||||
| Order | Date / Time | Customer | Phone | Address | Status | Total | Received | Balance | Action |
|---|---|---|---|---|---|---|---|---|---|
| #{{ r.order_no }} | {{ r.created_at|date:"Y-m-d h:i A" }} | {{ 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 }} | View |
| No unpaid orders found. | |||||||||
| Unpaid Total | Rs {{ unpaid_calc.total|floatformat:0 }} | Rs {{ unpaid_calc.received|floatformat:0 }} | Rs {{ unpaid_calc.balance|floatformat:0 }} | ||||||
| Order | Date / Time | Customer | Phone | Address | Status | Payment | Subtotal | Discount | Tax | Total | Received | Balance | Action |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| #{{ r.order_no }} | {{ r.created_at|date:"Y-m-d h:i A" }} | {{ r.customer_name|default:r.customer_title|default:"-" }} | {{ r.customer_phone|default:"-" }} | {{ r.customer_address|default:"-" }} | {{ r.status|default:"-" }} | {% if r.payment_status == "Paid" %} Paid {% elif r.payment_status == "Partial" %} Partial {% else %} No Payment {% endif %} | Rs {{ r.subtotal|floatformat:0 }} | Rs {{ r.discount|floatformat:0 }} | Rs {{ r.tax|floatformat:0 }} | Rs {{ r.grand_total|floatformat:0 }} | Rs {{ r.received|floatformat:0 }} | Rs {{ r.balance|floatformat:0 }} | View |
| No filtered orders found. | |||||||||||||
| Filtered Total | Rs {{ filtered_calc.subtotal|floatformat:0 }} | Rs {{ filtered_calc.discount|floatformat:0 }} | Rs {{ filtered_calc.tax|floatformat:0 }} | Rs {{ filtered_calc.total|floatformat:0 }} | Rs {{ filtered_calc.received|floatformat:0 }} | Rs {{ filtered_calc.balance|floatformat:0 }} | |||||||