{% load i18n %} {% load lfs_tags %}
{% trans 'General' %}
{% trans 'Customer name' %}: {{ order.customer_firstname }} {{ order.customer_lastname }} {% trans 'Number' %}: {{ order.number }}
{% trans 'E-mail' %}: {{ order.customer_email }} {% trans 'Date' %}: {{ order.created|date:_("DATETIME_FORMAT") }}
{% trans 'Phone' %}: {{ order.shipping_phone }} {% trans 'State' %}: {{ order.get_state_display }}
{% trans 'Total' %}: {{ order.price|currency }}
{% trans 'Shipping address' %} {% trans 'Invoice address' %} {% trans 'Shipping method' %} {% trans 'Payment method' %}
{% with order.shipping_address as sa %}
{{ sa.firstname }}
{{ sa.lastname }}
{{ sa.company_name }}
{{ sa.line1|default_if_none:"" }}
{% if sa.line2 %}
{{ sa.line2 }}
{% endif %}
{{ sa.zip_code|default_if_none:"" }} {{ sa.city|default_if_none:"" }}
{{ sa.country|default_if_none:"" }}
{{ sa.phone|default_if_none:"" }}
{{ sa.email|default_if_none:"" }}
{% endwith %}
{% with order.invoice_address as ia %}
{{ ia.firstname }}
{{ ia.lastname }}
{{ ia.company_name }}
{{ ia.line1|default_if_none:"" }}
{% if ia.line2 %}
{{ ia.line2 }}
{% endif %}
{{ ia.zip_code|default_if_none:"" }} {{ ia.city|default_if_none:"" }}
{{ ia.country|default_if_none:"" }}
{{ ia.phone|default_if_none:"" }}
{{ ia.email|default_if_none:"" }}
{% endwith %}
{{ order.shipping_method }}
{{ order.payment_method.name }}
{% ifequal order.payment_method.id 1 %}
{{ order.account_number }}
{{ order.bank_identification_code }}
{{ order.bank_name }}
{{ order.depositor }}
{% endifequal %} {% if order.payment_method.id == 3 and order.can_be_paid %}
{% trans 'Pay now' %}
{% endif %}
{% for item in order.items.all %} {% endfor %} {% if order.voucher_number %} {% endif %}
{% trans 'SKU' %} {% trans 'Name' %} {% trans 'Amount' %} {% trans 'Price' %} {% trans 'Total' %}
{{ item.product_sku }} {{ item.product_name }} {% include "lfs/catalog/products/_product_properties.html" with product=item.product configurable_properties=item.get_properties %} {{ item.amount }} {{ item.product.unit }} {% if item.product.active_packing_unit %} ({{ item|packages }} {{ item.product.packing_unit_unit }}) {% endif %} {{ item.product_price_gross|currency }}{% if item.product.price_unit %} / {{ item.product.price_unit }}{% endif %} {{ item.price_gross|currency }}
{% trans 'Voucher' %} ({{ order.voucher_number }}) 1 - {{ order.voucher_price|currency }} - {{ order.voucher_price|currency }}
{% trans 'Shipping' %} ({{ order.shipping_method }}) 1 {{ order.shipping_price|currency }} {{ order.shipping_price|currency }}
{% trans 'Payment' %} ({{ order.payment_method }}) 1 {{ order.payment_price|currency }} {{ order.payment_price|currency }}
{{ order.price|currency }}
{% trans 'Inclusive VAT' %}: {{ order.tax|currency }}
{% if order.message %}
{% trans 'Your message to us' %}
{{ order.message }}
{% endif %}