{% extends 'oscar/dashboard/layout.html' %} {% load currency_filters %} {% load i18n %} {% load thumbnail %} {% block breadcrumbs %} {% endblock %} {% block extrastyles %} {{ block.super }} {% endblock %} {% block header %} {% endblock header %} {% block dashboard_content %} {% for range_product in object_list %} {% endfor %}
{% 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 %} {% else %} Deaktiviert {% endif %} {% 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" %}
{% comment %}
{% 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 "Date created:" %} {{ offer.date_created }}

{% trans "Offer details" %}

{% 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" %}
{% if order_discounts %}
{% trans "Export to CSV" %}

{% trans "Orders that used this offer" %}

{% for discount in order_discounts %} {% with order=discount.order %} {% endwith %} {% endfor %}
{% trans "Order number" %} {% trans "Order date" %} {% trans "Order total" %} {% trans "Cost" %}
{{ order.number }} {{ order.date_placed }} {{ order.total_incl_tax|currency }} {{ discount.amount|currency }}
{% include 'oscar/dashboard/partials/pagination.html' %} {% endif %} {% endcomment %} {% endblock dashboard_content %}