7965ac4111
The version with the header was better, so let's use that in both places by moving it inside the template.
19 lines
557 B
HTML
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 }} × {{ discount.clause }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endfor %}
|
|
<blockquote><small>Any applicable discounts will be applied automatically when you check out.</small></blockquote>
|
|
|
|
<hr />
|
|
|
|
|
|
{% endif %}
|