{% extends 'base.html' %} {% load static %} {% load static_v %} {% block title %}{{ t.invoice_title }} — {{ t.order_hash_prefix }}{{ order.id }} — PickkerMarket{% endblock %} {% block content %}
← {{ t.invoice_back_to_order }}

{{ t.invoice_title }} — {{ t.order_hash_prefix }}{{ order.id }}

{{ t.invoice_bill_to }}: {{ business_name|default:'' }}

{{ t.invoice_date_label }}: {{ order.delivery_date }} ({{ order.delivery_time_slot }})

{% if truck_type %}

{{ t.invoice_truck_label }}: {{ truck_type.name }} ({{ truck_type.capacity_label }})

{% endif %}
{% for item in items %} {% endfor %}
{{ t.invoice_item_col }} {{ t.invoice_qty_col }} {{ t.invoice_unit_price_col }} {{ t.invoice_line_total_col }}
{{ item.product_name }} {{ item.qty_label }} TSh {{ item.unit_price|floatformat:0 }} TSh {{ item.line_total|floatformat:0 }}
{{ t.invoice_subtotal_label }} TSh {{ order.items_subtotal|floatformat:0 }}
{{ t.invoice_delivery_fee_label }} TSh {{ order.delivery_fee|floatformat:0 }}
{{ t.invoice_picking_fee_label }} TSh {{ order.picking_fee|floatformat:0 }}
{% if order.package_fee %}
{{ t.invoice_package_fee_label }} TSh {{ order.package_fee|floatformat:0 }}
{% endif %}
{{ t.invoice_grand_total_label }} TSh {{ order.total_amount|floatformat:0 }}

{{ t.invoice_payment_held_notice }}

{% if payment_methods %}

{{ t.payment_send_to_one }}

{% for m in payment_methods %}
{{ m.provider_label }} {{ m.lipa_number }} {% if m.account_name %}{{ m.account_name }}{% endif %} {% if m.instructions %}{{ m.instructions }}{% endif %}
{% endfor %}
{% endif %}
{% endblock %}