{% extends 'dashboard/layout.html' %} {% load currency_filters %} {% load i18n %} {% block title %} {% trans "Offer management" %} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block header %} {% endblock header %} {% block dashboard_content %}

{% trans "Search" %}

{% include 'partials/form_fields_inline.html' with form=form %} {% trans "Reset" %}

{% trans "Create Offer" %}

{% trans "Create" %}

{{ queryset_description }}

{% if offers.count %}
{% csrf_token %} {% for offer in offers %} {% endfor %}
{% trans "Offer name" %} {% trans "Status" %} {% trans "Start date" %} {% trans "End date" %} {% trans "Condition" %} {% trans "Benefit" %} {% trans "Date created" %}
{{ offer.name }} {% if offer.is_active %}{% trans "Active" %}{% else %}{% trans "Inactive" %}{% endif %} {{ offer.start_date }} {{ offer.end_date }} {{ offer.condition.description }} {{ offer.benefit.description }} {{ offer.date_created }} {% trans "Browse" %} {% trans "Stats" %} {% trans "Edit" %} {% trans "Delete" %}
{% if page_obj %} {% include "partials/pagination.html" %} {% endif %}
{% else %}

{% trans "No offers found." %}

{% endif %} {% endblock dashboard_content %}