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

{# DISABLE ALL TRANSACTIONS IF USER HAS NO COTISATION VALID #}
{% block blocktoggle %}{% if isCotisationValid(app.user) %}collapse{% endif %}{% endblock blocktoggle %}

{% block blocktitle %}
	<i class="fa fa-exchange fa-exchange-alt mr-4"></i> Virement vers un prestataire
{% endblock blocktitle %}
{% block blockcontent %}
	{% if isCotisationValid(app.user) %}
		{% set form = getTransactionPrestatairePrestataireForm(app.user) %}
		{{ parent() }}
	{% endif %}
{% endblock blockcontent %}