{% extends '@kohinos/block/block_collapse.html.twig' %} {% block blocktitle %} <i class="fa fa-shopping-basket mr-4"></i> {{'Payer ma cotisation'|trans }} {% endblock blocktitle %} {% block blockcontent %} {% set form = getPayerCotisationTAVForm(app.user) %} {% if form.montant.vars.value == false %} <p>{{ 'Vous n\'avez pas de profil de cotisation associé, vous ne pouvez donc pas payer de cotisation.'|trans }}</p> <p>{{ 'Veuillez contacter un administrateur.'|trans }}</p> {% else %} <p> {{ 'Montant de la cotisation à payer'|trans }} : <span class="paiement_cotisation_montant">{{ form.montant.vars.value }} €</span> </p> {{form_start(form)}} {% if form.don is defined %} {% include '@kohinos/tav/block/adherent_payer_cotisation_don.html.twig' %} <hr/> <p><b>{{ 'TOTAL A PAYER'|trans }} : <span class="achat_monnaie_montant_total">{{ form.montant.vars.value }} €</span></b></p> {% endif %} {% if form.save is defined %} {{ form_widget(form.save) }} {% endif %} {% if form.saveHelloAsso is defined %} {{ form_widget(form.saveHelloAsso) }} {% endif %} {{form_end(form)}} {% endif %} {% endblock blockcontent %}