{# templates/invoices/receipt_80mm_urdu.html #}
رسید — {{ invoice.meta.invoice_no }}
{# ══ SHOP HEADER ══ #}
{% if invoice.shop.logo_url %}

{% endif %}
{{ invoice.shop.name }}
{% if invoice.shop.address %}
{{ invoice.shop.address }}
{% endif %}
{% if invoice.shop.phone_1 %}
{{ invoice.shop.phone_1 }}{% if invoice.shop.phone_2 %} • {{ invoice.shop.phone_2 }}{% endif %}
{% endif %}
{# ══ META ══ #}
{# ══ CUSTOMER ══ #}
نام:
{{ invoice.customer.urdu_name|default:invoice.customer.name }}
{% if invoice.customer.phone %}
فون:
{{ invoice.customer.phone }}
{% endif %}
{# ══ ITEMS TABLE ══ #}
| نام |
مقدار |
قیمت |
کل رقم |
{% for it in invoice.items %}
| {{ it.urdu_name|default:it.name }} |
{{ it.qty|floatformat:0 }}
|
{{ it.price|floatformat:0 }}
|
{{ it.total|floatformat:0 }}
|
{% endfor %}
{# ══ TOTALS ══ #}
| ذیلی کل |
{{ invoice.summary.subtotal|floatformat:2 }} |
{% if invoice.summary.previous and invoice.summary.previous != 0 %}
| پچھلا بقایا |
{{ invoice.summary.previous|floatformat:2 }} |
{% endif %}
{% if invoice.summary.discount and invoice.summary.discount != 0 %}
| رعایت |
{{ invoice.summary.discount|floatformat:2 }} |
{% endif %}
{% if invoice.summary.transport and invoice.summary.transport != 0 %}
| ٹرانسپورٹ |
{{ invoice.summary.transport|floatformat:2 }} |
{% endif %}
{% if invoice.summary.tax and invoice.summary.tax != 0 %}
| ٹیکس |
{{ invoice.summary.tax|floatformat:2 }}% |
{% endif %}
| بل کل |
{{ invoice.summary.total|floatformat:2 }} |
{% if invoice.summary.paid is not None %}
| ادا شدہ رقم |
{{ invoice.summary.paid|floatformat:2 }} |
{% endif %}
{% if invoice.summary.change is not None %}
| کل واجب الادا |
{{ invoice.summary.change|floatformat:2 }} |
{% endif %}
{% if invoice.summary.total_weight and invoice.summary.total_weight != 0 %}
| کل وزن |
{{ invoice.summary.total_weight|floatformat:2 }} kg |
{% endif %}
{# ══ SHOP REMARKS ══ #}
{% if invoice.remarks_override or footer_lines %}
{% endif %}
{# ══ FOOTER ══ #}