{% if shop.logo_url %}
{% endif %}
{{ shop.shop_name }}
{% if shop.address %}
{{ shop.address }}
{% endif %} {% if shop.phone_1 or shop.phone_2 %}
{{ shop.phone_1 }}{% if shop.phone_1 and shop.phone_2 %} / {% endif %}{{ shop.phone_2 }}
{% endif %}
{{ receipt_title|default:"Pre-Bill" }}
Order #{{ order.order_no }}
Type:
{{ order.order_type }}
Table:
{{ table_name|default:"-" }}
Date:
{{ printed_at|date:"Y-m-d H:i" }}
{% if order_remarks %}
Remarks:
{{ order_remarks }}
{% endif %}
Item
Qty
Rate
Total
{% for row in rows %}
{{ row.name }} {% if row.note %}
{{ row.note }}
{% endif %}
{{ row.qty|floatformat:2 }}
{{ row.rate|floatformat:2 }}
{{ row.amount|floatformat:2 }}
{% endfor %}
Subtotal
{{ totals.subtotal|floatformat:2 }}
Discount
{{ totals.flat_discount|floatformat:2 }}
Service
{{ totals.service_amount|floatformat:2 }}
{% if order.order_type == "DELIVERY" %} Delivery Charges {% else %} Other Charges {% endif %}
{{ totals.other_charges|floatformat:2 }}
Tax{% if tax_percent %} ({{ tax_percent|floatformat:0 }}%){% endif %}
{{ totals.tax_amount|floatformat:2 }}
Grand Total
{{ totals.grand_total|floatformat:2 }}
{% if is_final %} {% if cash_change %}
Change
{{ cash_change|floatformat:2 }}
{% endif %} {% endif %} {% if is_final and kpra_invoice %}
KPRA Fiscal Invoice
KNTN:
{{ kpra_ntn|default:"-" }}
{% if kpra_pos_id and kpra_pos_id != "0" %}
POS ID:
{{ kpra_pos_id }}
{% endif %}
Invoice:
{{ kpra_invoice.usin }}
{% if kpra_invoice.fiscal_invoice_number %}
Sales ID:
{{ kpra_invoice.fiscal_invoice_number }}
{% endif %}
{% if kpra_qr_data_uri %}
{% endif %}
Scan to verify
{{ kpra_verify_url }}
Powered by KPRA RIMS
{% endif %}
{% if order.order_type == "DELIVERY" or order.order_type == "TAKEAWAY" %}
{{ order.order_type|title }} Details
{% if order.customer_name %}
Name: {{ order.customer_name }}
{% endif %} {% if order.customer_phone %}
Phone: {{ order.customer_phone }}
{% endif %} {% if order.customer_address %}
Address: {{ order.customer_address }}
{% endif %} {% if order.order_type == "DELIVERY" and order.delivery_person_name %}
Delivery Person: {{ order.delivery_person_name }}
{% endif %}
{% endif %}
Thank you
{% if autoprint %} {% endif %}