{# Avertissement cotisation non valide pour les adhérents #} {% if KOH_ALLOW_COTISATION|default('false') == 'true' and KOH_COTISATION_ADHERENT_MANDATORY|default('false') == 'true' and false == isCotisationValid(app.user) %}
{{ 'Cotisation requise'|trans }}
{{ "Votre cotisation n'est pas à jour. Certaines fonctionnalités de votre compte sont bloquées."|trans }} {% if KOH_USE_HELLOASSO|default('false') == 'true' and KOH_HELLOASSO_URL_COTISATION_ADHERENT|default('') != '' %} {{ 'Payer ma cotisation'|trans }} {% elseif KOH_USE_PAYZEN|default('false') == 'true' %} {{ 'Payer ma cotisation'|trans }} {% endif %}
{% endif %} {% if KOH_ALLOW_MLC|default('false') == 'true' %} {# Mode normal avec compte emlc #} {% set esoldelabel = 'Solde e-mlc'|trans %} {% include '@kohinos/block/solde.html.twig' with {'compte': app.user.adherent.emlcAccount.balance, 'soldelabel': esoldelabel, 'currency' : 'e'~(KOH_MLC_SYMBOL|default(''))} %} {% if KOH_USE_PAYZEN == 'true' or KOH_USE_HELLOASSO == 'true' %} {% include '@kohinos/adherent/block/achat_monnaie.html.twig' %} {% elseif KOH_ACHAT_MONNAIE_ALLOW_CHEQUE == 'true' or KOH_ACHAT_MONNAIE_ALLOW_VIREMENT == 'true' %} {% include '@kohinos/adherent/block/demande_achat_monnaie.html.twig' %} {% endif %} {% include '@kohinos/adherent/block/transaction_presta.html.twig' %} {% include '@kohinos/adherent/block/transaction_adherent.html.twig' %} {# {% include '@kohinos/block/transactions.html.twig' %} #} {% include '@kohinos/block/operations.html.twig' %} {% if KOH_ALLOW_COTISATION == 'true' %} {% include '@kohinos/block/cotisations.html.twig' %} {% endif %} {% endif %} {% if KOH_USE_PAYMENT_CODE == 'true' %} {% include '@kohinos/tav/block/adherent_payment_code.html.twig' %} {% endif %} {% include '@kohinos/adherent/block/infos.html.twig' %} {# Gestion du cas où seul SSA est activé (sans MLC) #} {% if KOH_ALLOW_SSA|default('false') == 'true' %} {# Affichage direct du bloc SSA quand seul SSA est actif #} {% include '@kohinos/adherent/block/ssa.html.twig' with {'titlecolor': 'bg-primary text-white', 'ssa_only_mode': true} %} {% endif %} {# Bloc SEPA pour cotisations SSA #} {% set ssaWithSepa = getEnabledSsaParametersWithSepa() %} {% if KOH_USE_SEPA|default('false') == 'true' and KOH_ALLOW_SSA|default('false') == 'true' and ssaWithSepa|length > 0 %} {% include '@kohinos/adherent/block/sepa_ssa.html.twig' %} {% endif %} {# Bloc SEPA pour cotisations et achats MLC #} {% if KOH_USE_SEPA|default('false') == 'true' and KOH_ALLOW_MLC|default('false') == 'true' %} {% include '@kohinos/adherent/block/sepa_mlc.html.twig' %} {% endif %} {# Bloc standalone pour les mandats SEPA actifs (affiché seulement s'il y a des mandats actifs) #} {% if KOH_USE_SEPA|default('false') == 'true' %} {% include '@kohinos/adherent/block/sepa_mandates.html.twig' %} {% endif %}