admin_comptoir.html.twig 1.16 KB
Newer Older
Julien Jorry committed
1 2 3 4
{% if getCurrentComptoir() != null %}
	{% set compte = getCurrentComptoir().mlcAccount.balance %}
	{% set soldelabel = 'Solde du comptoir "'|trans ~ getCurrentComptoir() ~ '"' %}
	{% include '@kohinos/block/solde.html.twig' with {'compte': compte, 'soldelabel': soldelabel, 'currency' : KOH_MLC_SYMBOL|default('')} %}
Julien Jorry committed
5 6 7
	{% include '@kohinos/comptoir/block/infos.html.twig' %}
	{# {% include '@kohinos/block/transactions.html.twig' %} #}
	{% include '@kohinos/block/operations.html.twig' %}
8 9 10 11 12 13 14
	{% if not tav_env %}
		{% include '@kohinos/comptoir/block/vente_adherent.html.twig' %}
		{% include '@kohinos/comptoir/block/vente_prestataire.html.twig' %}
		{% include '@kohinos/comptoir/block/retrait_prestataire.html.twig' %}
		{% include '@kohinos/comptoir/block/retrait_adherent.html.twig' %}
		{% include '@kohinos/comptoir/block/reconversion.html.twig' %}
		{% include '@kohinos/comptoir/block/reconversion_adherent.html.twig' %}
15
		{% include '@kohinos/comptoir/block/vente_emlc_adherent.html.twig' %}
16
		{% include '@kohinos/comptoir/block/vente_emlc_prestataire.html.twig' %}
17 18
	{% else %}
		{% include '@kohinos/tav/block/comptoir_encaisser_cotisation.html.twig' %}
19
	{% endif %}
Julien Jorry committed
20
{% endif %}