{% extends "pos/base.html" %} {% load static %} {% block title %}Challan Print Sheet #{{ challan.challan_no }}{% endblock %} {% block content %}
| Challan No: #{{ challan.challan_no }} | Date: {{ challan.challan_date|date:"d-m-Y" }} | Vehicle: {{ challan.vehicle_no|default:"-" }} | Driver: {{ challan.driver_name|default:"-" }} {{ challan.driver_mobile|default:"" }} |
| From Station: {{ challan.from_city|default:"-" }} | To Station: {{ challan.to_city|default:"-" }} | Status: {{ challan.get_status_display }} | Invoices: {{ summary.invoice_count }} |
| # | Inv No | Builty No | Customer Name | Qty | Weight | Rent | Loading | Builty | Unloading | Cash Exp. | Paid Rent | Remaining | Remarks |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | #{{ row.invoice_no }} | {{ row.builty_no|default:"-" }} |
{{ row.customer_name|default:"-" }}
{% if row.receiver_name %}
Receiver: {{ row.receiver_name }} {% endif %} {% if row.is_transit %} {{ row.transit_note }} {% endif %} |
{{ row.qty|floatformat:2 }} | {{ row.weight|floatformat:2 }} | {{ row.rent|floatformat:2 }} | {{ row.loading|floatformat:2 }} | {{ row.builty_service|floatformat:2 }} | {{ row.unloading|floatformat:2 }} | {{ row.cash_expense|floatformat:2 }} | {{ row.paid_rent|floatformat:2 }} | {{ row.remaining|floatformat:2 }} | {{ row.remarks|default:"-" }} |
| No challan invoices found. | |||||||||||||
| Total | {{ summary.total_qty|floatformat:2 }} | {{ summary.total_weight|floatformat:2 }} | {{ summary.total_rent|floatformat:2 }} | {{ summary.total_loading|floatformat:2 }} | {{ summary.total_builty|floatformat:2 }} | {{ summary.total_unloading|floatformat:2 }} | {{ summary.total_cash_expense|floatformat:2 }} | {{ summary.total_paid|floatformat:2 }} | {{ summary.total_remaining|floatformat:2 }} | ||||