{{ header }}{{ column_left }}

{{ text_order_detail }}

{% if shipping_method %} {% endif %}
{{ store_name }}
{{ date_added }}
{{ payment_method }}
{{ shipping_method }}

{{ text_customer_detail }}

{% if customer %} {{ firstname }} {{ lastname }} {% else %} {{ firstname }} {{ lastname }} {% endif %}
{{ customer_group }}
{{ email }}
{{ telephone }}

{{ text_option }}

{{ text_invoice }} {{ invoice_no }} {% if not invoice_no %} {% else %} {% endif %}
{{ text_reward }} {{ reward }} {% if customer and reward %} {% if not reward_total %} {% else %} {% endif %} {% else %} {% endif %}
{{ text_affiliate }} {% if affiliate %} ({{ affiliate_firstname }} {{ affiliate_lastname }}) {% endif %} {{ commission }} {% if affiliate %} {% if not commission_total %} {% else %} {% endif %} {% else %} {% endif %}

{{ text_order }}

{% if shipping_method %} {% endif %} {% if shipping_method %} {% endif %}
{{ text_payment_address }}{{ text_shipping_address }}
{{ payment_address }}{{ shipping_address }}
{% for product in products %} {% endfor %} {% for voucher in vouchers %} {% endfor %} {% for total in totals %} {% endfor %}
{{ column_product }} {{ column_model }} {{ column_quantity }} {{ column_price }} {{ column_total }}
{{ product.name }} {% for option in product.option %}
{% if option.type != 'file' %}   - {{ option.name }}: {{ option.value }} {% else %}   - {{ option.name }}: {{ option.value }} {% endif %} {% endfor %}
{{ product.model }} {{ product.quantity }} {{ product.price }} {{ product.total }}
{{ voucher.description }} 1 {{ voucher.amount }} {{ voucher.amount }}
{{ total.title }} {{ total.text }}
{% if comment %}
{{ text_comment }}
{{ comment }}
{% endif %}

{{ text_history }}


{{ text_history_add }}
{% if account_custom_fields %}
{% for custom_field in account_custom_fields %} {% endfor %}
{{ text_account_custom_field }}
{{ custom_field.name }} {{ custom_field.value }}
{% endif %} {% if payment_custom_fields %}
{% for custom_field in payment_custom_fields %} {% endfor %}
{{ text_payment_custom_field }}
{{ custom_field.name }} {{ custom_field.value }}
{% endif %} {% if shipping_method and shipping_custom_fields %}
{% for custom_field in shipping_custom_fields %} {% endfor %}
{{ text_shipping_custom_field }}
{{ custom_field.name }} {{ custom_field.value }}
{% endif %}
{% if forwarded_ip %} {% endif %}
{{ text_browser }}
{{ text_ip }} {{ ip }}
{{ text_forwarded_ip }} {{ forwarded_ip }}
{{ text_user_agent }} {{ user_agent }}
{{ text_accept_language }} {{ accept_language }}
{% for tab in tabs %}
{{ tab.content }}
{% endfor %}
{{ footer }}