{% extends 'dashboard/layout.html' %} {% load currency_filters %} {% load i18n %} {% block body_class %}orders{% endblock %} {% block title %} {% blocktrans with number=order.number %}Order {{ number }}{% endblocktrans %} | {{ block.super }} {% endblock %} {% block breadcrumbs %}
{% endblock %} {% block headertext %} {% blocktrans with number=order.number %}Order #{{ number }}{% endblocktrans %} {% endblock %} {% block dashboard_content %}{{ order.user.get_full_name|default:"-" }}
{{ order.user.email|default:"-" }}
{% trans "Customer checked out anonymously." %}
{% endif %}{{ order.total_incl_tax|currency }}
{{ order.date_placed|date:"d/m/y" }}
{{ order.date_placed|date:"H:s" }}
{{ order.status|default:"N/A" }}
{% trans "Date" %} | {% trans "Event" %} | {% trans "Lines" %} | {% trans "Notes" %} |
---|---|---|---|
{{ event.date }} | {{ event.event_type.name }} | {% for line_qty in event.line_quantities.all %} {% trans "Product:" %} {{ line_qty.line.title }} - {% trans "quantity" %} {{ line_qty.quantity }} {% endfor %} | {{ event.notes }} |
No shipping events.
{% endif %} {% endwith %}{% trans "Date" %} | {% trans "Event" %} | {% trans "Amount" %} | {% trans "Lines" %} |
---|---|---|---|
{{ event.date }} | {{ event.event_type.name }} | {{ event.amount|currency }} | {% for line_qty in event.line_quantities.all %} {% trans "Product:" %} {{ line_qty.line.title }} - {% trans "quantity" %} {{ line_qty.quantity }} {% endfor %} |
{% trans "No payment events." %}
{% endif %} {% endwith %}{% trans "Method" %} | {{ order.shipping_method }} |
---|---|
{% trans "Charge (incl tax)" %} | {{ order.shipping_incl_tax|currency }} |
{% trans "Charge (excl tax)" %} | {{ order.shipping_excl_tax|currency }} |
{% trans "Address" %} |
{% for field in order.shipping_address.active_address_fields %}
{{ field }} {% endfor %} |
{% for field in order.billing_address.active_address_fields %}
{{ field }}
{% endfor %}
{% trans "Source" %} | {% trans "Allocation" %} | {% trans "Amount debited" %} | {% trans "Amount refunded" %} | {% trans "Reference" %} |
---|---|---|---|---|
{{ source.source_type }} | {{ source.amount_allocated|currency }} | {{ source.amount_debited|currency }} | {{ source.amount_refunded|currency }} | {{ source.reference|default:"-" }} |
{% trans "No payment sources" %}
{% endif %} {% endwith %} {% block tab_transactions %}{% trans "No transaction data available." %}
{% endblock %}{% trans "Voucher code" %} | {% trans "Offer name" %} | {% trans "Amount" %} |
---|---|---|
{{ discount.voucher_code|default:"-" }} | {{ discount.offer.name }} | {{ discount.amount|currency}} |
{% trans "No discounts were applied in this order." %}
{% endif %} {% endwith %} {% endblock %}{% trans "No email data available." %}
{% endblock %}{% trans "Date" %} | {% trans "User" %} | {% trans "Type" %} | {% trans "Message" %} | |
---|---|---|---|---|
{{ note.date_created }} | {{ note.user }} | {{ note.note_type }} | {{ note.message|linebreaks }} | {% if note.is_editable %} {% trans "Edit" %} {% endif %} |