{% extends "pos/base.html" %} {% load static %} {% block title %}Ticket Vendor Ledger{% endblock %} {% block stylesheets %} {% endblock %} {% block heading %} Ticket Vendor Ledger {% endblock %} {% block content %}
{% if vendor_obj %}| # | Date | Folder# | Services | Client / Description | PNR / Ref | Ticket # | Flight | Category | Payable | Paid | Balance |
|---|---|---|---|---|---|---|---|---|---|---|---|
| — | {{ row.date }} | — | Opening Balance | {{ row.balance|floatformat:2 }} | |||||||
| {{ forloop.counter }} | {{ row.date }} | #{{ row.folder_no }} | {{ row.svc_flags }} |
{{ row.client_name }}
{% if row.inv_title %} {{ row.inv_title }}{% endif %} {% if row.status == 'REFUNDED' %} REFUNDED {% endif %} |
— | — | — | {{ row.inv_category }} | {{ row.inv_amount|floatformat:2 }} | {% if row.received %}{{ row.received|floatformat:2 }}{% else %}—{% endif %} | {{ row.balance|floatformat:2 }} |
| {{ sr.svc|upper|slice:":4" }} | {{ sr.pax_name }} {% if sr.passport and sr.passport != '—' %} PP: {{ sr.passport }} {% endif %} | {{ sr.pnr|default:"—" }} | {{ sr.ticket_no|default:"—" }} | {{ sr.flight_no|default:"—" }} | {{ sr.client|default:"—" }} | {% if sr.amount %}{{ sr.amount|floatformat:2 }}{% else %}—{% endif %} | |||||
|
No transactions found. |
|||||||||||
| PERIOD TOTALS | {{ total_payable|floatformat:2 }} | {{ total_paid|floatformat:2 }} | {{ closing_balance|floatformat:2 }} | ||||||||
| Service | Inv. | Payable | Balance |
|---|---|---|---|
| {{ cat.svc_type|upper|slice:":4" }} {{ cat.label }} | {{ cat.count }} | {{ cat.total_amount|floatformat:0 }} | {{ cat.balance|floatformat:0 }} |
| Grand Total | {{ total_inv_count }} | {{ total_payable|floatformat:0 }} | {{ closing_balance|floatformat:0 }} |
Select a vendor / airline and click Search to view their ledger.
Use Show All for complete history.