{% set esoldelabel = 'Solde e-mlc'|trans %} {% include '@kohinos/block/solde.html.twig' with {'compte': getCurrentPrestataire().emlcAccount.balance, 'soldelabel': esoldelabel, 'currency' : 'e'~(KOH_MLC_SYMBOL|default(''))} %} {% if KOH_USE_PAYMENT_CODE == 'true' %} {% include '@kohinos/tav/block/encaisser_paiement.html.twig' %} {% endif %} {# {% include '@kohinos/block/transactions.html.twig' %} #} {% include '@kohinos/block/operations.html.twig' %} {% if getCurrentPrestataire().mlc == true %} {% include '@kohinos/block/operations.html.twig' with {'title' : 'Compte de fonctionnement €', 'operations': getLastOperations(app.request, app.user, constant('App\\Enum\\CurrencyEnum::CURRENCY_EURO'))} %} {% elseif not isPrestataireManagerOfSsa(getCurrentPrestataire()) %} {% if KOH_ALLOW_COTISATION == 'true' %} {% include '@kohinos/block/cotisations.html.twig' %} {% endif %} {% set groupeprestataires = getAllGroupePrestataires() %} {% if groupeprestataires|length > 0 %} {% include '@kohinos/groupepresta/block/inscription.html.twig' %} {% endif %} {% endif %} {% if KOH_ALLOW_MLC|default('false') == 'true' or isPrestataireManagerOfSsa(getCurrentPrestataire()) %} {% if KOH_ALLOW_MLC|default('false') == 'true' and not isPrestataireManagerOfSsa(getCurrentPrestataire()) and KOH_USE_PAYZEN == 'true' or (KOH_USE_HELLOASSO == 'true' and KOH_HELLOASSO_URL_EMLC_PRESTATAIRE is not empty) %} {% include '@kohinos/presta/block/achat_monnaie.html.twig' %} {% endif %} {% if isPrestataireManagerOfSsa(getCurrentPrestataire()) or (KOH_ALLOW_MLC|default('false') == 'true' and (KOH_ACHAT_MONNAIE_ALLOW_CHEQUE == 'true' or KOH_ACHAT_MONNAIE_ALLOW_VIREMENT == 'true')) %} {% include '@kohinos/presta/block/demande_achat_monnaie.html.twig' %} {% endif %} {% endif %} {% if KOH_ALLOW_MLC|default('false') == 'true' %} {% include '@kohinos/presta/block/transaction_presta.html.twig' %} {% include '@kohinos/presta/block/transaction_adherent.html.twig' %} {% endif %} {% if KOH_ALLOW_SSA|default('false') == 'true' %} {# {% if isPrestataireManagerOfSsa(getCurrentPrestataire()) %} #} {# Formulaire unifié: un seul bloc pour toutes les caisses SSA gérées #} {% set ssas = getAllSsa() %} {% for ssa in ssas %} {% include '@kohinos/presta/block/transaction_adherent_ssa.html.twig' with {'ssa': ssa} %} {% endfor %} {# {% endif %} #} {% endif %} {% if getCurrentPrestataire().mlc == false and not isPrestataireManagerOfSsa(getCurrentPrestataire()) and getCurrentPrestataire().emlcAccount.balance > 0 %} {% include '@kohinos/presta/block/reconversion.html.twig' %} {% endif %} {% if getCurrentPrestataire().mlc == false %} {% include '@kohinos/presta/block/infos.html.twig' %} {% endif %} {# Bloc standalone pour les mandats SEPA (affiché seulement pour les prestataires non-MLC si SEPA activé) #} {% if KOH_USE_SEPA|default('false') == 'true' %} {% include '@kohinos/prestataire/block/sepa_mandates.html.twig' %} {% include '@kohinos/prestataire/block/sepa_mlc.html.twig' %} {% endif %} {# Bloc SEPA pour cotisations SSA #} {% if KOH_USE_SEPA|default('false') == 'true' and KOH_ALLOW_SSA|default('false') == 'true' %} {% include '@kohinos/prestataire/block/sepa_ssa.html.twig' %} {% endif %}