{% extends "layout.html" %} {% load currency_filters %} {% block header %}

Order #{{ order.number }}

{% endblock header %} {% block content %}

Shipping address

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

Shipping method

{{ order.shipping_method }}

Order contents

{% csrf_token %} {% for line in order.lines.all %} {% endfor %}
Partner Product Quantity Line price excl tax Line price incl tax Shipping status
{{ line.partner }} {% if line.is_product_deleted %} {{ line.title }} [Deleted] {% else %} {{ line.description }} {% endif %} {{ line.quantity }} {{ line.line_price_excl_tax|currency }} {{ line.line_price_incl_tax|currency }} {{ line.shipping_status }}
Set selected lines to:
{% csrf_token %} Set entire order to:
Totals
Basket total (inc. tax) {{ order.basket_total_incl_tax|currency }}
Shipping charge (inc. tax) {{ order.shipping_incl_tax|currency }}
Order total {{ order.total_incl_tax|currency }}
{% if order.shipping_events.count %}

Shipping events

{% for event in order.shipping_events.all %} {% endfor %}
Date Event Num lines Details
{{ event.date }} {{ event.event_type }} {{ event.num_affected_lines }} {% for line_quantity in event.line_quantities.all %} {{ line_quantity.line.product }} (quantity: {{ line_quantity.quantity }})
{% endfor %}
{% endif %}

Order notes

{% if order.notes.count %} {% for note in order.notes.all %} {% endfor %}
Note User Date
{{ note.message }} {{ note.user }} {{ note.date }}
{% endif %}
{% csrf_token %}
{% endblock content %}