{# Bloc SEPA - Demandes en attente pour trésoriers et super admins #} {% if KOH_USE_SEPA|default('false') == 'true' and app.user and (is_granted('ROLE_SUPER_ADMIN') or is_granted('ROLE_TRESORIER')) %} {% set nbMandats = countPendingSepaMandates() %} {% set nbCotisationsMlc = countPendingMlcSubscriptions() %} {% set nbCotisationsSsa = countPendingSsaSubscriptions() %} {% set nbAchats = countPendingPurchases() %} {% set nbModifMlc = countMlcSubscriptionsWithModification() %} {% set nbModifSsa = countSsaSubscriptionsWithModification() %} {% set nbModifAchats = countPurchasesWithModification() %} {% if nbMandats > 0 or nbCotisationsMlc > 0 or nbCotisationsSsa > 0 or nbAchats > 0 or nbModifMlc > 0 or nbModifSsa > 0 or nbModifAchats > 0 %}