{% extends "base.html" %} {% block content %} {% for copy_type in ['Office Copy', 'Factory Copy', 'Gatepass Copy'] %}

Al Wasiqa Packages Pvt Ltd

{{ copy_type }}
M/S: {{ bill.customer_name }}
Date: {{ bill.date }}    No: {{ bill.bill_no }}
{% for item in bill['items'] %} {% endfor %} {# Add empty rows to make total 10 rows #} {% for _ in range(10 - bill['items']|length) %} {% endfor %}
S.No QTY Size Colour Brand Mic Printed Varity Per Ctn
Qty
@
{{ loop.index }} {# Roman Urdu: Pehle CTN+ROLL dikhaye, phir underline, phir total rolls #} {{ item.qty_display }}
{{ item.qty }} Rolls
{{ item.size }} {{ item.colour }} {{ item.brand }} {{ item.mic }} {{ item.printed }} {{ item.varity }} {{ item.per_ctn_qty }} {{ item.rate }}
{{ loop.index + bill['items']|length }}
{# 1 box ka vertical gap #}
{% endfor %} {% endblock %}