46 lines
2.9 KiB
Twig
46 lines
2.9 KiB
Twig
|
|
{% extends 'email/base.html.twig' %}
|
||
|
|
|
||
|
|
{% block content %}
|
||
|
|
<table width="600" cellpadding="0" cellspacing="0" style="margin: 0 auto;">
|
||
|
|
<tr>
|
||
|
|
<td style="padding: 32px;">
|
||
|
|
{% set greeting = customer.raisonSociale ? 'Chez ' ~ customer.raisonSociale : 'Bonjour ' ~ customer.firstName %}
|
||
|
|
<h1 style="font-family: Arial, Helvetica, sans-serif; font-size: 22px; font-weight: 700; color: #111827; margin: 0 0 16px;">{{ greeting }},</h1>
|
||
|
|
|
||
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #374151; line-height: 22px; margin: 0 0 16px;">
|
||
|
|
L'echeancier de paiement <strong>{{ echeancier.reference }}</strong> a ete refuse.
|
||
|
|
</p>
|
||
|
|
|
||
|
|
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 20px 0; border: 1px solid #e5e7eb;">
|
||
|
|
<tr>
|
||
|
|
<td style="padding: 10px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #9ca3af; background: #f9fafb; width: 35%;">Reference</td>
|
||
|
|
<td style="padding: 10px 16px; font-family: monospace; font-size: 13px; font-weight: 700;">{{ echeancier.reference }}</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td style="padding: 10px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #9ca3af; background: #f9fafb;">Motif</td>
|
||
|
|
<td style="padding: 10px 16px; font-size: 13px; font-weight: 700;">{{ echeancier.description }}</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td style="padding: 10px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #9ca3af; background: #f9fafb;">Total</td>
|
||
|
|
<td style="padding: 10px 16px; font-family: monospace; font-size: 14px; font-weight: 700;">{{ echeancier.totalWithMajoration|number_format(2, ',', ' ') }} €</td>
|
||
|
|
</tr>
|
||
|
|
{% if reason %}
|
||
|
|
<tr>
|
||
|
|
<td style="padding: 10px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #9ca3af; background: #f9fafb;">Motif du refus</td>
|
||
|
|
<td style="padding: 10px 16px; font-size: 13px; color: #dc2626;">{{ reason }}</td>
|
||
|
|
</tr>
|
||
|
|
{% endif %}
|
||
|
|
</table>
|
||
|
|
|
||
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #374151; line-height: 22px; margin: 16px 0;">
|
||
|
|
Si vous souhaitez discuter d'autres modalites de paiement, n'hesitez pas a nous contacter.
|
||
|
|
</p>
|
||
|
|
|
||
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #9ca3af; margin: 16px 0 0;">
|
||
|
|
Pour toute question : <a href="mailto:contact@e-cosplay.fr" style="color: #fabf04;">contact@e-cosplay.fr</a>
|
||
|
|
</p>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
{% endblock %}
|