admin_prestataire.html.twig 1.85 KB
Newer Older
Julien Jorry committed
1 2
{% 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(''))} %}
3

4
{% if tav_env == 1 %}
5 6
	{% include '@kohinos/tav/block/encaisser_paiement.html.twig' %}
{% endif %}
Julien Jorry committed
7 8 9 10
{% if getCurrentPrestataire().mlc == false %}
	{% include '@kohinos/presta/block/infos.html.twig' %}
{% endif %}
{# {% include '@kohinos/block/transactions.html.twig' %} #}
11
{% include '@kohinos/block/operations.html.twig' with {'display_cancel_transaction_btn' : tav_env} %}
12 13 14 15 16 17 18 19 20
{% if not tav_env %}
	{% 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 getCurrentPrestataire().solidoume == false %}
		{% include '@kohinos/block/cotisations.html.twig' %}
		{% set groupeprestataires = getAllGroupePrestataires() %}
		{% if groupeprestataires|length > 0 %}
			{% include '@kohinos/groupepresta/block/inscription.html.twig' %}
		{% endif %}
Julien Jorry committed
21
	{% endif %}
22 23 24 25 26 27
	{% if getCurrentPrestataire().solidoume == false %}
		{% if KOH_USE_PAYZEN == 'true' or KOH_USE_HELLOASSO == 'true' %}
			{% include '@kohinos/presta/block/achat_monnaie.html.twig' %}
		{% else %}
			{% include '@kohinos/presta/block/demande_achat_monnaie.html.twig' %}
		{% endif %}
Julien Jorry committed
28
	{% endif %}
29 30
	{% include '@kohinos/presta/block/transaction_presta.html.twig' %}
	{% include '@kohinos/presta/block/transaction_adherent.html.twig' %}
Julien Jorry committed
31
{% endif %}
32
{% if getCurrentPrestataire().mlc == false and getCurrentPrestataire().solidoume == false and getCurrentPrestataire().emlcAccount.balance > 0 and automatisation_reconversion == 0 %}
Julien Jorry committed
33 34
	{% include '@kohinos/presta/block/reconversion.html.twig' %}
{% endif %}