{% load i18n %} {% blocktrans with order_id=order.order_id %}Invoice {{ order_id }}{% endblocktrans %}
{{ vendor.address.name }}, {{ vendor.address.street }}, {{ vendor.address.postcode }} {{ vendor.address.city }}
{{ billing_address.name }}
{{ billing_address.street }}
{{ billing_address.postcode }} {{ billing_address.city }}
{% if order.order_id %} {% endif %} {% if order.shipping_date_range %} {% endif %}
{% blocktrans with order_id=order.order_id %}Invoice ID: {{ order_id }}{% endblocktrans %} {% blocktrans with customer_id=order.customer_id %}Customer ID: {{ customer_id }}{% endblocktrans %}
{% trans "The order will be shipped upon receipt of payment." %} {% blocktrans with date=order.date|date %}Date of Invoice: {{ date }}{% endblocktrans %}
{% for item in invoice.items %} {% endfor %} {% if order.total_discounted %} {% endif %} {% if order.total_shipping_net %} {% endif %}
{% trans "REF" context "Invoice table header - REF" %} {% trans "Description" context "Invoice table header - Description" %} {% trans "Quantity" context "Invoice table header - Quantity" %} {% trans "Price per Unit" context "Invoice table header - Price per Unit" %} {% trans "Tax Rate" context "Invoice table header - Tax Rate" %} {% trans "Net Price" context "Invoice table header - Net Price" %}
{{ item.reference }} {{ item.text|safe }} {{ item.quantity }} {{ item.net_price|floatformat:2 }} {{ currency }} {{ item.tax_rate }} % {{ item.total_net|floatformat:2 }} {{ currency }}
{% trans "Total discounted" context "invoice - Total discounted" %} {{ order.total_discounted|floatformat:2 }} {{ currency }}
{% trans "Shipping" context "invoice - Shipping" %} {{ order.total_shipping_net|floatformat:2 }} {{ currency }}
{% trans "Net total" context "invoice - Net total" %} {{ order.total_net|floatformat:2 }} {{ currency }}
{% blocktrans with tax=order.tax_rate %}VAT ({{ tax }}%){% endblocktrans %} {{ order.total_tax|floatformat:2 }} {{ currency }}
{% trans "Gross total" context "invoice - Gross total" %} {{ order.total_gross|floatformat:2 }} {{ currency }}

{% trans "Thank you for your order." %}

{% if order.pay_until_date %}

{% blocktrans with date=order.pay_until_date|date %}Please settle the payment by {{ date }}{% endblocktrans %}.

{% endif %} {% if order.shipping_date_range %}

{% blocktrans trimmed with from=order.shipping_from|date to=order.shipping_to|date %} Order will be delivered between {{ from }} and {{ to }}. {% endblocktrans %}

{% endif %}