{% extends "layout.html" %} {% load currency_filters %} {% load i18n %} {% block headertext %} {% blocktrans with number=order.number %}Order #{{ number }}{% endblocktrans %} {% endblock %} {% block content %}

{% trans 'Status' %}

{{ order.status }}

{% trans 'Shipping address' %}

{% if order.shipping_address.phone_number %} {% endif %} {% if order.shipping_address.notes %} {% endif %}
{% trans 'Address' %} {% for field in order.shipping_address.active_address_fields %} {{ field }}
{% endfor %}
{% trans 'Contact number' %} {{ shipping_address.phone_number }}
{% trans 'Shipping notes' %} {{ shipping_address.notes }}

{% trans 'Shipping method' %}

{{ order.shipping_method }}

{% trans 'Order contents' %}

{% csrf_token %} {% for line in order.lines.all %} {% endfor %} {% for discount in order.discounts.all %} {% endfor %}
{% trans 'Product' %} {% trans 'Availability' %} {% trans 'Quantity' %} {% trans 'Line price excl. tax' %} tax {% trans 'Line price incl. tax' %} {% trans 'Status' %}
{{ line.description }} {{ line.product.stockrecord.availability }} {{ line.quantity }} {{ line.line_price_before_discounts_excl_tax|currency }} {{ line.line_price_before_discounts_incl_tax|currency }} {{ line.shipping_status }} {% trans 'Write a review' %}
{{ discount.description }} -{{ discount.amount|currency }}
{% trans 'Totals' %}
{% trans 'Basket total (inc. tax)' %} {{ order.basket_total_incl_tax|currency }}
{% trans 'Shipping charge (inc. tax)' %} {{ order.shipping_incl_tax|currency }}
{% trans 'Order total' %} {{ order.total_incl_tax|currency }}
{% endblock content %}