{% extends '@kohinos/block/onetransaction.html.twig' %}
{% block blocktitle %}
{{"%name% : Paiement d'un prestataire"|trans({'%name%': ssa.name}) }}
{% endblock blocktitle %}
{% block blockcontent %}
{# Si l'adherent a un solde ssa > 0 en verifiant via #}
{% if app.user.adherent.ssaEmlcAccount(ssa).balance > 0 %}
{% set form = getTransactionAdherentPrestataireSsaForm(app.user, ssa) %}
{{ parent() }}
{% else %}
{{ "Solde insuffisant"|trans }}
{% endif %}
{% endblock blockcontent %}