{% extends 'oscar/dashboard/layout.html' %} {% load currency_filters %} {% load i18n %} {% load thumbnail %} {% block title %} {% blocktrans with name=offer.name %} {{ name }} | Offers {% endblocktrans %} | {{ block.super }} {% endblock %} {% block extrastyles %} {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block header %}
{% if offer.is_available %} {% trans "Offer currently available" %} {% else %} {% trans "Offer not available due to restrictions!" %} {% endif %} | {% trans "Total cost:" %} {{ offer.total_discount|currency }} | {% trans "Number of orders:" %} {{ offer.num_orders }} | {% trans "Number of uses:" %} {{ offer.num_applications }} |
{% trans "Name" %} | {{ offer.name }} ({{ offer.partner }}) | {% trans "Edit" %} |
---|---|---|
{% trans "Description" %} | {{ offer.description|safe|default:"-" }} | |
{% trans "Incentive" %} | {{ offer.benefit.description|safe }} | {% trans "Edit" %} |
{% trans "Condition" %} | {{ offer.condition.description|safe }} | {% trans "Edit" %} |
{% trans "Restrictions" %} |
{% for restriction in offer.availability_restrictions %}
{% if not restriction.is_satisfied %}
{{ restriction.description }}
{% else %} {{ restriction.description }} {% endif %} {% endfor %} |
{% trans "Edit" %} |
{% if offer.is_special_price_offer %} {% trans 'Special prices and display options' %} {% else %} {% trans 'Display options' %} {% endif %} |
{% if offer.is_special_price_offer %}
Anzeigen: {% for range_product in slides %} {% with range_product.slide as slide %} {% endwith %} {% endfor %} {% endif %} |
{% trans "Edit" %} |
{% trans "Order number" %} | {% trans "Order date" %} | {% trans "Order total" %} | {% trans "Cost" %} |
---|---|---|---|
{{ order.number }} | {{ order.date_placed }} | {{ order.total_incl_tax|currency }} | {{ discount.amount|currency }} |