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

{% block blocktitle %}
	<i class="fa fa-exchange fa-exchange-alt mr-4"></i> {{ 'Encaisser un don d\'un habitant'|trans }}
{% endblock blocktitle %}
{% block blockcontent %}
	{% if app.session.has('_comptoirgere') %}
		{% set form = getComptoirEncaisserDonAdherentForm(app.user) %}
		{{ form_start(form) }}
			{{ form_row(form.expediteur) }}
			{{ form_row(form.montant) }}
			{{ form_row(form.moyen) }}
			{{ form_row(form.save) }}
			{{ parent() }}
		{{ form_end(form) }}
	{% else %}
		<span><em> {{ 'Aucun Comptoir assigné ! Veuillez contacter un administrateur !'|trans }} </em></span>
	{% endif %}
{% endblock blockcontent %}