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

{% trans 'Status' %}

{{ order.status }}

{% endif %} {% with address=order.shipping_address %}

{% trans 'Shipping address' %}

{% if address.phone_number %} {% endif %} {% if address.notes %} {% endif %}
{% trans 'Address' %} {% for field in address.active_address_fields %} {{ field }}
{% endfor %}
{% trans 'Contact number' %} {{ address.phone_number }}
{% trans 'Notes' %} {{ address.notes|linebreaks }}
{% endwith %}

{% trans 'Shipping method' %}

{{ order.shipping_method }}

{% trans 'Order contents' %}

{% csrf_token %} {% iffeature "reviews" %} {% endiffeature %} {% for line in order.lines.all %} {% iffeature "reviews" %} {% endiffeature %} {% endfor %} {% for discount in order.discounts.all %} {% endfor %}
{% trans 'Product' %} {% trans 'Status' %} {% trans 'Estimated dispatch date' %} {% trans 'Quantity' %} {% trans 'Line price excl. tax' %} {% trans 'Line price incl. tax' %}
{{ line.description }} {{ line.shipping_status|default:"-" }} {{ line.est_dispatch_date|default:"-" }} {{ line.quantity }} {{ line.line_price_before_discounts_excl_tax|currency:order.currency }} {{ line.line_price_before_discounts_incl_tax|currency:order.currency }} {% if line.product|is_review_permitted:user %} {% trans 'Write a review' %} {% endif %}
{{ discount.description }} -{{ discount.amount|currency:order.currency }}
{% trans 'Total' %}
{% trans 'Basket total (inc. tax)' %} {{ order.basket_total_incl_tax|currency:order.currency }}
{% trans 'Shipping charge (inc. tax)' %} {{ order.shipping_incl_tax|currency:order.currency }}
{% trans 'Order total' %} {{ order.total_incl_tax|currency:order.currency }}
{% endblock content %}