{% extends "vendor/manage/base.html" %} {% load i18n %} {% block extra_css %} {% endblock %} {% block extra_head_js %} {% endblock %} {% block vendor_content %}
{% trans 'Offer Detail' %}
{% csrf_token %} {% comment %} {% endcomment %} {% if form.non_field_errors %} {% endif %} {% comment %} {% endcomment %}
{{ form.name.label_tag }} {{ form.name }} {% if form.name.errors %} {% for error in form.name.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.name.help_text %} {{ form.name.help_text }} {% endif %}
{% comment %} {% endcomment %}
{% trans 'Offer available through:' %}
{{ form.start_date.label_tag }} {{ form.start_date }} {% if form.start_date.errors %} {% for error in form.start_date.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.start_date.help_text %} {{ form.start_date.help_text }} {% endif %}
{{ form.end_date.label_tag }} {{ form.end_date }} {% if form.end_date.errors %} {% for error in form.end_date.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.end_date.help_text %} {{ form.end_date.help_text }} {% endif %}
{% comment %} {% endcomment %}
{{ form.terms.label_tag }} {{ form.terms }} {% if form.terms.errors %} {% for error in form.terms.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.terms.help_text %} {{ form.terms.help_text }} {% endif %}
{% comment %} {% endcomment %}
{{ form.term_details.label_tag }} {{ form.term_details }} {% if form.term_details.errors %} {% for error in form.term_details.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.term_details.help_text %} {{ form.term_details.help_text }} {% endif %}
{% comment %} {% endcomment %}
{{ form.term_start_date.label_tag }} {{ form.term_start_date }} {% if form.term_start_date.errors %} {% for error in form.term_start_date.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.term_start_date.help_text %} {{ form.term_start_date.help_text }} {% endif %}
{% comment %} {% endcomment %}
{{ form.available.label_tag }} {{ form.available }} {% if form.available.errors %} {% for error in form.available.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.available.help_text %} {{ form.available.help_text }} {% endif %}
{% comment %} {% endcomment %}
{{ form.offer_description.label_tag }} {{ form.offer_description }} {% if form.offer_description.errors %} {% for error in form.offer_description.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.offer_description.help_text %} {{ form.offer_description.help_text }} {% endif %}
{% comment %} {% endcomment %}
{{ form.allow_multiple.label_tag }} {{ form.allow_multiple }} {% if form.allow_multiple.errors %} {% for error in form.allow_multiple.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.allow_multiple.help_text %} {{ form.allow_multiple.help_text }} {% endif %}
{% comment %} {% endcomment %}
{{ form.products.label_tag }} {{ form.products }} {% if form.products.errors %} {% for error in form.products.errors %}
{{ error }}
{% endfor %} {% endif %} {% if form.products.help_text %} {{ form.products.help_text }} {% endif %}
{% trans 'Cost' %}
{{ formset.management_form }} {% for price_form in formset.forms %} {{ price_form.id }} {% comment %} {% endcomment %}
{{ price_form.price_select.label_tag }}
{% for radio in price_form.price_select %} {% endfor %}
{% if price_form.price_select.errors %} {% for error in price_form.price_select.errors %}
{{ error }}
{% endfor %} {% endif %} {% if price_form.price_select.help_text %} {{ price_form.price_select.help_text }} {% endif %}
{% comment %} {% endcomment %}
{{ price_form.cost.label_tag }} {{ price_form.cost }} {% if price_form.cost.errors %} {% for error in price_form.cost.errors %}
{{ error }}
{% endfor %} {% endif %} {% if price_form.cost.help_text %} {{ price_form.cost.help_text }} {% endif %}
{{ price_form.currency.label_tag }} {{ price_form.currency }} {% if price_form.currency.errors %} {% for error in price_form.currency.errors %}
{{ error }}
{% endfor %} {% endif %} {% if price_form.currency.help_text %} {{ price_form.currency.help_text }} {% endif %}
{% comment %} {% endcomment %}
{% trans 'Price for this offer available through:' %}
{{ price_form.start_date.label_tag }} {{ price_form.start_date }} {% if price_form.start_date.errors %} {% for error in price_form.start_date.errors %}
{{ error }}
{% endfor %} {% endif %} {% if price_form.start_date.help_text %} {{ price_form.start_date.help_text }} {% endif %}
{{ price_form.end_date.label_tag }} {{ price_form.end_date }} {% if price_form.end_date.errors %} {% for error in price_form.end_date.errors %}
{{ error }}
{% endfor %} {% endif %} {% if price_form.end_date.help_text %} {{ price_form.end_date.help_text }} {% endif %}
{% comment %} {% endcomment %}
{{ price_form.priority.label_tag }} {{ price_form.priority }} {% if price_form.priority.errors %} {% for error in price_form.priority.errors %}
{{ error }}
{% endfor %} {% endif %} {% if price_form.priority.help_text %} {{ price_form.priority.help_text }} {% endif %}
{% endfor %}
{% comment %}
{% trans 'Customers Owning' %}
    {% for customer_profile in customers_who_own.all %}
  • {{customer_profile}}
  • {% endfor %}
{% trans 'Customers Not Owning' %}
{% endcomment %} {% endblock %} {% block extra_js %} {% endblock %}