{% if discounts %} {% regroup discounts by discount.description as discounts_grouped %} {% for discount_type in discounts_grouped %}