{% extends '@kohinos/block/onetransaction.html.twig' %}

{% block blocktitle %}
	<i class="fa fa-exchange fa-exchange-alt mr-4"></i> {% if tav_env %}{{ 'Encaisser la COTISATION d\'un habitant'|trans }}{% else %}{{ 'Vente de monnaie numérique à un adhérent'|trans }}{% endif %}
{% endblock blocktitle %}
{% block blockcontent %}
	{% if app.session.has('_comptoirgere') %}
		{% set form = getVenteEmlcAdherentForm(app.user) %}
		{{ parent() }}
	{% else %}
		<span><em> {{ 'Aucun Comptoir assigné ! Veuillez contacter un administrateur !'|trans }} </em></span>
	{% endif %}
{% endblock blockcontent %}