{% load i18n %} {% load lfs_tags %}
{% trans 'General' %}
{% trans 'Order number' %}: {{ current_order.number|default_if_none:"-" }} {% trans 'Date' %}: {{ current_order.created|date:_("DATETIME_FORMAT") }}
{% trans 'E-mail' %}: {{ current_order.customer_email }} {% trans 'State' %}: {{ current_order.get_state_display }} {% if current_order.state_modified %}({{ current_order.state_modified|date:_("DATETIME_FORMAT") }}){% endif %}
{% trans 'Phone' %}: {{ current_order.shipping_phone }} {% trans 'Total' %}: {{ current_order.price|currency:request }}
{% trans 'Shipping address' %} {% trans 'Invoice address' %} {% trans 'Shipping method' %} {% trans 'Payment method' %}
{{ current_order.shipping_firstname }} {{ current_order.shipping_lastname }}
{% if current_order.shipping_company_name %}
{{ current_order.shipping_company_name }}
{% endif %}
{{ current_order.shipping_line1 }}
{% if current_order.shipping_line2 %}
{{ current_order.shipping_line2 }}
{% endif %}
{{ current_order.shipping_code }} {{ current_order.shipping_city }}
{{ current_order.shipping_state }}
{{ current_order.shipping_country }}
{{ current_order.shipping_phone }}
{{ current_order.invoice_firstname }} {{ current_order.invoice_lastname }}
{% if current_order.invoice_company_name %}
{{ current_order.invoice_company_name }}
{% endif %}
{{ current_order.invoice_line1 }}
{% if current_order.invoice_line2 %}
{{ current_order.invoice_line2 }}
{% endif %}
{{ current_order.invoice_code }} {{ current_order.invoice_city }}
{{ current_order.invoice_state }}
{{ current_order.invoice_country }}
{{ current_order.invoice_phone }}
{{ current_order.shipping_method }} {{ current_order.payment_method.name }} {% ifequal current_order.payment_method.id 1 %}
{{ current_order.account_number }}
{{ current_order.bank_identification_code }}
{{ current_order.bank_name }}
{{ current_order.depositor }}
{% endifequal %}
{% for item in current_order.items.all %} {% endfor %} {% if current_order.voucher_number %} {% endif %}
{% trans 'Image' %} {% trans 'SKU' %} {% trans 'Name' %} {% trans 'Amount' %} {% trans 'Price' %} {% trans 'Included VAT' %} {% trans 'Total' %}
{% if item.product.get_image.image %} {{ item.product_name }} {% else %}   {% endif %} {{ item.product_sku }} {% if item.product %} {{ item.product_name }} {% else %} {{ item.product_name }} {% endif %} {% for property in item.product.get_displayed_properties %}
{{ property.title }} : {{ property.value }} {{ property.unit|safe }}
{% endfor %} {% for property in item.product.get_variant_properties %}
{{ property.title }}: {{ property.value }} {{ property.unit|safe }}
{% endfor %} {% if item.product.is_configurable_product %} {% for property in item.get_properties %}
{{ property.title }} : {{ property.value }} {{ property.unit|safe }} {% if property.display_price %} ({{ property.price|currency:request }}) {% endif %}
{% endfor %} {% endif %}
{{ item.amount }} {{ item.product.unit }} {% if item.product.active_packing_unit %} ({{ item|packages }} {{ item.product.packing_unit_unit }}) {% endif %} {{ item.product_price_gross|currency:request }}{% if item.product.price_unit %} / {{ item.product.price_unit }}{% endif %} {{ item.product_tax|currency:request }} {{ item.price_gross|currency:request }}
{% trans 'Voucher' %} ({{ current_order.voucher_number }}) 1 - {{ current_order.voucher_price|currency:request }} - {{ current_order.voucher_price|currency:request }}
{% trans 'Shipping' %} ({{ current_order.shipping_method }}) 1 {{ current_order.shipping_price|currency:request }} {{ current_order.shipping_price|currency:request }}
{% trans 'Payment' %} ({{ current_order.payment_method }}) 1 {{ current_order.payment_price|currency:request }} {{ current_order.payment_price|currency:request }}
{{ current_order.price|currency:request }}
{% trans 'Inclusive VAT' %}: {{ current_order.tax|currency:request }}
{% if current_order.message %}
{% trans 'Message from the customer' %}
{{ current_order.message }}
{% endif %} {% if current_order.paypalordertransaction_set.all %} {% for ppt in current_order.paypalordertransaction_set.all %} {% for ipn in ppt.ipn.all %} {% endfor %} {% endfor %}
{% trans 'Paypal Transaction ID' %}
{{ ipn.txn_id }}
{% endif %}