{# this text is placed by the satchmo_order template tag "order_tracking_details" #} {% load i18n %} {% load satchmo_currency %} {% load satchmo_checkout %} {% load satchmo_util normalize_decimal %}

{% trans 'Order #' %} {{ order.id }}

{% trans 'Status' %}

{% for status in order.orderstatus_set.all %}

{{status.time_stamp|date:"F jS Y H:i" }}: {{ status.status|status_label }}
{% if status.notes %}{% trans status.notes %}{% endif %}

{% endfor %}

{% trans "Items Ordered" %}

{% for item in order.orderitem_set.all %} {{ item }} - {{item.unit_price|currency}} x {{item.quantity|normalize_decimal}}{% if item.discount %} - {{ item.discount|currency }}{% endif %} = {{item.sub_total|currency}}
{% endfor %} {% if order.shipping_method %}

{% trans "Shipping Method" %}

{{ order.shipping_description }}
{% ifnotequal order.shipping_method order.shipping_description %}{{ order.shipping_method }}
{% endifnotequal %} {{ order.shipping_sub_total|currency }}
{% endif %}

{% trans "Total" %}

{% if order.discount %} {% trans "Discount" %} - {{order.discount|currency}}
{% endif %} {% if order.is_shippable %} {% trans "Shipping" %} + {{order.shipping_sub_total|currency}}
{% endif %} {% if order.tax %} {% trans "Tax" %} + {{order.tax|currency}}
{% endif %} {% trans "Total" %} = {{order.total|currency}}
{% order_payment_summary order paylink %} {% if order.is_shippable %}

{% trans "Shipping To" %}

{{ order.ship_addressee }}
{{ order.full_ship_street }}
{{ order.ship_city }}
{{ order.ship_state }}
{{ order.ship_postal_code }}
{{ order.ship_country_name|title }}
{% endif %}