notification_flux.html.twig 1.29 KB
Newer Older
Julien Jorry committed
1 2 3 4 5 6 7 8 9 10 11 12
{% extends '@kohinos/email/email_layout.html.twig' %}

{% set title %}{% spaceless %}
	{{ subject }}
{% endspaceless %}
{% endset %}

{% block content %}
	<h2 style="font-size: 18px; color: #111111; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: bold; line-height: 1.2em; margin: 40px 0 10px;">{{ user.name|title }}</h2><br/>
	<h3>
		{% if flux.type == 'reconversion' %}
			{{ 'Demande de reconversion' }}
Yvon committed
13 14
		{% elseif flux.type == 'prelevement_cotisation_adherent_depassement_plafond' %}
			{{ "Réduction de l'allocation après dépassement du plafond" }}
15 16 17 18
		{% elseif flux.type == 'prelevement_cotisation_adherent_correction_solde' %}
			{{ "Correction de solde (réduction de l'allocation) suite à une erreur de cotisation" }}
		{% elseif flux.type == 'reversement_cotisation_adherent_correction_solde' %}
			{{ "Correction de solde (allocation complémentaire de la caisse) suite à une erreur de cotisation" }}
Julien Jorry committed
19 20 21 22 23 24 25 26 27
		{% else %}
			{{ flux.parenttype|capitalize }} : {{ flux.type|replace({'_' : ' => '}) }}
		{% endif %}
	</h3>
	<p>De {{ flux.expediteur }} à {{ flux.destinataire }}</p>
	<p>Montant de {{ flux.montant|number_format(2) }} (Moyen : {{ flux.moyen }})</p>
	<p>Référence : {{ flux.reference }}</p>
	{# <p>Opérateur : {{ flux.operateur.name }}</p> #}
{% endblock %}