{# Onglets période + calendrier bulma optionnel (TDB + liste admin). Variables : route_name, filters Optionnel : dashboard_booking_years, show_period_calendar (bool), filters_form_id (string si calendrier). #} {% set booking_years = dashboard_booking_years is defined ? dashboard_booking_years : [] %}
{% if booking_years is not empty %}
{% endif %}
{% if show_period_calendar is defined and show_period_calendar and filters_form_id is defined %}
{% include '_partials/period_calendar_fields.html.twig' with { filters_form_id: filters_form_id, filters: filters, } only %}
{% endif %}