{# 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 %}
Gestion SEPA - Demandes en attente
{% if nbMandats > 0 %}
Mandats SEPA à valider : {{ nbMandats }} Valider
{% endif %} {% if nbCotisationsMlc > 0 %}
Cotisations MLC à valider : {{ nbCotisationsMlc }} Valider
{% endif %} {% if nbCotisationsSsa > 0 %}
Cotisations SSA à valider : {{ nbCotisationsSsa }} Voir
{% endif %} {% if nbAchats > 0 %}
Achats mensuels à valider : {{ nbAchats }} Valider
{% endif %} {% if nbModifMlc > 0 %}
Modifications MLC en attente : {{ nbModifMlc }} Approuver
{% endif %} {% if nbModifSsa > 0 %}
Modifications SSA en attente : {{ nbModifSsa }} Approuver
{% endif %} {% if nbModifAchats > 0 %}
Modifications achats en attente : {{ nbModifAchats }} Approuver
{% endif %}
{% endif %} {% endif %}