{% extends 'dashboard/layout.html' %} {% load currency_filters %} {% load i18n %} {% block title %} {% blocktrans with name=offer.name %} Offer '{{ name }}' | Offer management {% endblocktrans %} | {{ block.super }} {% endblock %} {% block breadcrumbs %}
{% endblock %} {% block header %}{% trans "Offer details" %} | |
{% trans "Name" %} | {{ offer.name }} |
---|---|
{% trans "Description" %} | {{ offer.description }} |
{% trans "Start date" %} | {{ offer.start_date }} |
{% trans "End date" %} | {{ offer.end_date }} |
{% trans "Condition" %} | {{ offer.condition.description }} |
{% trans "Benefit" %} | {{ offer.benefit.description }} |
{% trans "Date created" %} | {{ offer.date_created }} |
{% trans "Offer performance" %} | |
{% trans "Total discount" %} | {{ offer.total_discount|currency }} |
{% trans "Number of orders" %} | {{ offer.num_orders }} |
{% trans "No orders have been placed that use this offer." %}
{% else %}{% trans "We show a maximum of 20 orders sorted by recency." %}
{% trans "Order number" %} | {% trans "Order total" %} | {% trans "Discount" %} | {% for discount in order_discounts %} {% with order=discount.order %} |
---|---|---|---|
{{ order.number }} | {{ order.total_incl_tax|currency }} | {{ discount.amount|currency }} | {% trans "View" %} |