symposion_app/pinaxcon/templates/registrasion/discount_list.html
James Polley 7965ac4111 De-dupe discount header/text
The version with the header was better, so let's use that in both
places by moving it inside the template.
2017-10-01 14:44:41 +11:00

19 lines
557 B
HTML

{% if discounts %}
<h3>Discounts and Complimentary Items</h3>
<div class="vertical-small"></div>
{% regroup discounts by discount.description as discounts_grouped %}
{% for discount_type in discounts_grouped %}
<h4>{{ discount_type.grouper }}</h4>
<ul>
{% for discount in discount_type.list %}
<li>{{ discount.quantity }} &times; {{ discount.clause }}</li>
{% endfor %}
</ul>
{% endfor %}
<blockquote><small>Any applicable discounts will be applied automatically when you check out.</small></blockquote>
<hr />
{% endif %}