{% comment %} Composant PricingTier pour utilisation dans un tableau de tarification Usage: {% endcomment %}
{% if tier.badge %}
{{ tier.badge }}
{% endif %}

{{ tier.title }}

{% if tier.description %}

{{ tier.description }}

{% endif %}
{% if tier.discount_price %}
{{ tier.discount_price }}
{% endif %}
{{ tier.price }} {% if tier.billing_cycle %} {{ tier.billing_cycle }} {% endif %}
{% if tier.button_label %} {{ tier.button_label }} {% endif %}
{% if sections %} {% for section in sections %}
{% for feature in section.features %}
{% if feature.tiers %} {% for tier_id, value in feature.tiers.items %} {% if tier_id == tier.id %} {% if value == True or value == "true" %} {% elif value == False or value == "false" %} {% else %} {{ value }} {% endif %} {% endif %} {% endfor %} {% endif %}
{% endfor %}
{% endfor %} {% endif %}