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

{% block blocktitle %}
	<i class="fa fa-external-link fa-external-link-alt mr-4"></i> {{ 'Reconversion'|trans }}
{% endblock blocktitle %}
{% block blockcontent %}
	<p>{{'Solde de votre compte'|trans}} : {{ getCurrentPrestataire().emlcAccount.balance }}<br/>
	{% if KOH_RECONVERSION_PRESTATAIRE is defined and KOH_RECONVERSION_PRESTATAIRE != '0' and KOH_RECONVERSION_PRESTATAIRE is not empty %}
		<em>{{'Taux de reconversion'|trans}} : {{ getCurrentPrestataire().tauxreconversion ? getCurrentPrestataire().tauxreconversion : KOH_RECONVERSION_PRESTATAIRE}}%</em>
	{% endif %}
	</p>
	{% set form = getReconversionForm(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 %}