{% extends "forms/_form_base.html" %} {% from "forms/_macros.html" import letterhead %} {% block page_box %}size: A4 landscape; margin: 7mm 11mm;{% endblock %} {% block form_styles %} body { font-size: 10pt; } .company .name { font-size: 24pt; } .company .name { line-height: 1.05; } .company .line { font-size: 9pt; line-height: 1.2; font-style: italic; } h1.title { margin: 2mm 0 2mm; font-size: 15pt; letter-spacing: 1.5pt; font-style: italic; text-decoration: none; text-align: left; } h1.title .ln { min-width: 34mm; font-size: 10.5pt; letter-spacing: 0; font-style: normal; } table.who { width: 100%; border-collapse: collapse; margin: 1.5mm 0 0; } table.who td { padding: 0; font-size: 10pt; font-style: italic; font-weight: bold; white-space: nowrap; } table.who .ln { min-width: 52mm; font-style: normal; font-weight: normal; } table.who .ln.short { min-width: 30mm; } table.grid th, table.grid td { padding: 0 .9mm; } table.grid th { height: 5mm; font-size: 9pt; font-weight: normal; } table.grid thead tr:first-child th { font-weight: bold; } table.grid td { height: 4.2mm; font-size: 9pt; overflow-wrap: normal; white-space: nowrap; overflow: hidden; } table.grid tr.total td { font-weight: bold; } table.grid td.no { font-size: 8pt; } table.foot { width: 100%; margin-top: 2mm; border-collapse: collapse; page-break-inside: avoid; } table.foot td { vertical-align: top; padding: 0 2mm 0 0; font-size: 9pt; } .box { border: .7pt solid #000; padding: 1mm 2mm; } .box .office { text-align: center; font-style: italic; font-weight: bold; letter-spacing: 1.5pt; margin-bottom: 1mm; } .box .ln { min-width: 34mm; text-align: left; padding-left: 1mm; } .line-row { margin: 1.2mm 0; white-space: nowrap; } .status div { margin: .3mm 0; white-space: nowrap; } .status .ln { min-width: 18mm; height: 3.8mm; } {% endblock %} {% block body %} {{ letterhead(full_letterhead) }}
Name {{ meta_rows[0][0][1] }} Designation {{ meta_rows[0][1][1] }} H.Q. {{ meta_rows[1][0][1] }} Date

Expenses Statement from Dt. {{ period_from }} to {{ period_to }}

{% set g = grids.main %} {% for w in g.widths %}{% endfor %} {% for h in g.headers[2:-1] %}{% endfor %} {% for r in g.rows %} {% for c in r.cells %}{% endfor %} {% endfor %}
DATE Place Of Visit Fare Daily Allowance Postage Other Expence Total Business Achived
{{ h }}
{{ c }}
TOTAL {{ sums.fare_rs }}{{ sums.fare_p }} {{ sums.da_hq }}{{ sums.da_ex }}{{ sums.da_out }} {{ sums.postage_rs }}{{ sums.postage_p }} {{ sums.other_expense_rs }}{{ sums.other_expense_p }} {{ sums.total_rs }}{{ sums.total_p }}
For Office Use Only
Amount Claimed {{ sums.claimed }}   Amt. Passed
Deduction / Addition with reason
Report Status
Daily Report :-
Stock and Sale Statement :-
Weekly Report :-
Monthly Apprasal :-
Signature :- {{ approval.mr_name }}
Checked by :- {% if approval.value != "PENDING" %}{{ approval.value }}{% endif %}
DATE :- {{ approval.when }}
{% endblock %}