{% extends "forms/_form_base.html" %} {# Arial throughout, title tucked directly under the company name — as printed. #} {% block form_styles %} .company .name { font-size: 20pt; } h1.title { margin: 0 0 4mm; font-family: "Liberation Sans", Arial, "DejaVu Sans", sans-serif; font-size: 14pt; } table.grid th, table.grid td { font-family: "Liberation Sans", Arial, "DejaVu Sans", sans-serif; } table.grid th { height: 7mm; font-size: 9.5pt; } table.grid th.sub { height: 6mm; font-size: 8.5pt; } table.grid td { font-size: 9.5pt; } table.grid td:nth-child(2) { font-weight: bold; } table.grid tr.total td { font-weight: bold; } table.grid tr.total td:nth-child(2) { text-align: right; } {% endblock %} {# Two heading rows: CLOSING and PROJECTION each span their QUANTITY and VALUE. #} {% block form %} {% set g = grids.main %} {% for w in g.widths %}{% endfor %} {% for h in g.headers[:3] %}{% endfor %} {% for h in g.headers[3:] %}{% endfor %} {% for r in g.rows %} {% for c in r.cells %}{% endfor %} {% endfor %} {% for t in totals %}{% endfor %}
{{ h }}CLOSING PROJECTION
{{ h }}
{{ c }}
TOTAL{{ t }}
{% endblock %}