{% trans "Name" %} |
{{ voucher.name }} |
|
{% trans "Description" %} |
{{ voucher.offers.first.description|safe }} |
|
{% trans "Code" %} |
{{ voucher.code }} |
|
{% trans "Num child codes" %} |
{{ children.count }} |
|
{% trans "Priority" %} |
{{ voucher.priority }} |
|
{% trans "Start datetime" %} |
{{ voucher.start_datetime }} |
|
{% trans "End datetime" %} |
{{ voucher.end_datetime }} |
|
{% trans "Desktop Image" %} |
{% if voucher.offers.first %}
{% include "oscar/dashboard/vouchers/voucher_thumbnail.html" with record=voucher.offers.first.desktop_image %}
{% endif %}
|
|
{% trans "Mobile Image" %} |
{% if voucher.offers.first %}
{% include "oscar/dashboard/vouchers/voucher_thumbnail.html" with record=voucher.offers.first.mobile_image %}
{% endif %}
|
|
{% trans "Usage" %} |
{{ voucher.get_usage_display }} |
|
{% trans "Condition" %} |
{{ voucher.condition.description|safe }} |
|
{% trans "Discount" %} |
{{ voucher.benefit.description|safe }} |
|
{% trans "Usage is limited to specific user groups?" %} |
{% if voucher.limit_usage_by_group %}
{% trans "Yes" %}
{% else %}
{% trans "No" %}
{% endif %}
|
|
{% if voucher.limit_usage_by_group %}
{% trans "Whitelisted User Groups" %} |
{% for group in voucher.groups.all %}
{{ group.name }}
{% endfor %}
|
|
{% endif %}
{% trans "Offer Group" %} |
{{ voucher.offer_group.name|default:"-" }} |
|