{{ header }}
{% if success %}
{{ success }}
{% endif %} {% if error_warning %}
{{ error_warning }}
{% endif %}
{{ column_left }} {% if column_left and column_right %} {% set class = 'col-sm-6' %} {% elseif column_left or column_right %} {% set class = 'col-sm-9' %} {% else %} {% set class = 'col-sm-12' %} {% endif %}
{{ content_top }}

{{ heading_title }}

{{ text_order_detail }}
{% if invoice_no %} {{ text_invoice_no }} {{ invoice_no }}
{% endif %} {{ text_order_id }} #{{ order_id }}
{{ text_date_added }} {{ date_added }}
{% if payment_method %} {{ text_payment_method }} {{ payment_method }}
{% endif %} {% if shipping_method %} {{ text_shipping_method }} {{ shipping_method }} {% endif %}
{% if shipping_address %} {% endif %} {% if shipping_address %} {% endif %}
{{ text_payment_address }}{{ text_shipping_address }}
{{ payment_address }}{{ shipping_address }}
{% if products %} {% endif %} {% for product in products %} {% endfor %} {% for voucher in vouchers %} {% if products %} {% endif %} {% endfor %} {% for total in totals %} {% if products %} {% endif %} {% endfor %}
{{ column_name }} {{ column_model }} {{ column_quantity }} {{ column_price }} {{ column_total }}
{{ product.name }} {% for option in product.option %}
  - {{ option.name }}: {{ option.value }} {% endfor %}
{{ product.model }} {{ product.quantity }} {{ product.price }} {{ product.total }} {% if product.reorder %} {% endif %}
{{ voucher.description }} 1 {{ voucher.amount }} {{ voucher.amount }}
{{ total.title }} {{ total.text }}
{% if comment %}
{{ text_comment }}
{{ comment }}
{% endif %} {% if histories %}

{{ text_history }}

{% if histories %} {% for history in histories %} {% endfor %} {% else %} {% endif %}
{{ column_date_added }} {{ column_status }} {{ column_comment }}
{{ history.date_added }} {{ history.status }} {{ history.comment }}
{{ text_no_results }}
{% endif %} {{ content_bottom }}
{{ column_right }}
{{ footer }}