| {% 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 "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:"-" }} |
|