{% extends 'oscar/dashboard/layout.html' %} {% load currency_filters %} {% load i18n %} {% load thumbnail %} {% block breadcrumbs %} {% endblock %} {% block extrastyles %} {{ block.super }} {% endblock %} {% block header %}
{% trans 'Display order' context 'offer' %} | {% trans 'Product' context 'offer' %} | {% trans 'Special price' context 'offer' %} | {% trans 'Offer slider' context 'offer' %} {% trans 'Image' context 'offer' %} | {% trans 'Offer slider' context 'offer' %} {% trans 'Link' context 'offer' %} | {% trans 'Label' context 'offer' %} | {% trans 'Label' context 'offer' %} {% trans 'Title' context 'offer' %} | {% trans 'Start date' %} | {% trans 'End date' %} | |
---|---|---|---|---|---|---|---|---|---|
{% if range_product.display_order is not None %} {{ range_product.display_order }} {% endif %} | {% if range_product.product is not None %} {{ range_product.product }} {% endif %} | {% if range_product.special_price is not None %} {{ range_product.special_price|currency }} {% endif %} |
{% if range_product.has_slide %}
|
{% if range_product.link is not None %} {{ range_product.link }} {% endif %} | {% if range_product.has_label %} {% else %} {% endif %} | {% if range_product.title is not None %} {{ range_product.title }} {% endif %} | {% if range_product.special_price_start is not None %} {{ range_product.special_price_start }} {% endif %} | {% if range_product.special_price_end is not None %} {{ range_product.special_price_end }} {% endif %} | {% trans "Edit" %} {% trans "Delete" %} |
{% 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 }} | {% 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" %} |
{% trans 'Special prices and display options' %} | {% 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 }} |