{% extends 'dashboard/layout.html' %} {% load currency_filters %} {% block title %} Offer #{{ offer.id }} | Offer management | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block header %} {% endblock header %} {% block dashboard_content %}

Offer details

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 }}

Offer performance

Total discount{{ offer.total_discount|currency }}
Number of orders{{ offer.num_orders }}

Recent orders

{% if not order_discounts %}

No orders have been placed that use this offer.

{% else %}

We show a maximum of 20 orders sorted by recency.

{% for discount in order_discounts %} {% with order=discount.order %} {% endwith %} {% endfor %}
Order number Order total Discount
{{ order.number }} {{ order.total_incl_tax|currency }} {{ discount.amount|currency }} View
{% endif %}
Edit or Delete or cancel
{% endblock dashboard_content %}