reconversion.html.twig 980 Bytes
Newer Older
Damien Moulard committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
{% extends 'block/onetransaction.html.twig' %}

{% block blocktitle %}
	<i class="fa fa-external-link-alt mr-4"></i> {{ 'Reconversion'|trans }}
{% endblock blocktitle %}
{% block blockcontent %}
	<p>{{'Solde de votre compte'|trans}} : {{ app.session.get('_prestagere').ecompte }}<br/>
	{% if KOH_RECONVERSION_PRESTATAIRE is defined and KOH_RECONVERSION_PRESTATAIRE != '0' and KOH_RECONVERSION_PRESTATAIRE is not empty %}
		<em>{{'Taux de reconversion'|trans}} : {{app.session.get('_prestagere').tauxreconversion ? app.session.get('_prestagere').tauxreconversion : KOH_RECONVERSION_PRESTATAIRE}}%</em>
	{% endif %}
	</p>
	{% set form = getTransfertPrestataireSiegeForm(app.user) %}
	{{ form_start(form) }}
	    {% if form.montant is defined %}
	    	{{ form_row(form.montant, { 'label': 'Montant à reconvertir : ' }) }}
	    {% endif %}
	    {% if form.reference is defined %}
	    	{{ form_row(form.reference) }}
	    {% endif %}
	{{ form_end(form) }}
{% endblock blockcontent %}