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