{% extends "pos/base.html" %} {% load static %} {% block title %} {% if challan %}Edit Challan{% else %}Add Challan{% endif %} {% endblock %} {% block content %}
{% if messages %} {% for message in messages %} {% endfor %} {% endif %}
{% csrf_token %}

{% if challan %}Edit Challan{% else %}Add New Challan{% endif %}

Vehicle select karein aur booked builties ko challan me load karein.
Back

Select Builties / Invoices

Sirf booked / available builties yahan show hongi.
{% for inv in available_invoices %} {% empty %} {% endfor %}
Invoice Builty Date Customer Receiver Route Total
#{{ inv.invoice_no }} {{ inv.builty_no|default:"-" }} {{ inv.invoice_date|date:"d-m-Y" }} {{ inv.customer_name|default:"-" }} {{ inv.receiver_name|default:"-" }} {{ inv.from_city|default:"-" }} → {{ inv.to_city|default:"-" }} {{ inv.total_amount|floatformat:2 }}
Pehle From/To area select karein. Matching builties yahan show hongi.
Selected Builties: 0
Selected Amount: 0.00
{% endblock %} {% block javascripts %} {{ block.super }} {% endblock %}