- Add proper <thead> with <th> headers to tables in email templates: order_cancelled_orga, order_notification_orga, order_refunded, organizer_invitation, payment_failed, scan_force_notification - Add proper <thead> with <th> headers to tables in PDF templates: attestation_ventes, billet, export_recap, invoice - Fix testInfraPageWithSnapshotData: provide complete server data (os, uptime, cpu, ram, disk, services, ssl) required by the template Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
46 lines
2.7 KiB
Twig
46 lines
2.7 KiB
Twig
{% extends 'email/base.html.twig' %}
|
|
|
|
{% block title %}Remboursement - {{ order.event.title }}{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if isPartial|default(false) %}
|
|
<h2>Remboursement partiel</h2>
|
|
<p>Bonjour {{ order.firstName }},</p>
|
|
<p>Un remboursement partiel a ete effectue sur votre commande <strong>{{ order.orderNumber }}</strong> pour l'evenement <strong>{{ order.event.title }}</strong>.</p>
|
|
{% else %}
|
|
<h2>Votre commande a ete remboursee</h2>
|
|
<p>Bonjour {{ order.firstName }},</p>
|
|
<p>Votre commande <strong>{{ order.orderNumber }}</strong> pour l'evenement <strong>{{ order.event.title }}</strong> a ete integralement remboursee.</p>
|
|
{% endif %}
|
|
|
|
<table style="width: 100%; border-collapse: collapse; margin: 20px 0; border: 2px solid #111827;">
|
|
<thead>
|
|
<tr style="background: #111827; color: #fff;">
|
|
<th style="padding: 10px 12px; text-align: left; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; width: 140px;">Champ</th>
|
|
<th style="padding: 10px 12px; text-align: left; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px;">Valeur</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr style="border-bottom: 1px solid #e5e7eb;">
|
|
<td style="padding: 10px 12px; font-weight: 900; text-transform: uppercase; font-size: 11px; color: #6b7280; width: 140px;">Commande</td>
|
|
<td style="padding: 10px 12px; font-weight: 700;">{{ order.orderNumber }}</td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid #e5e7eb;">
|
|
<td style="padding: 10px 12px; font-weight: 900; text-transform: uppercase; font-size: 11px; color: #6b7280;">Montant rembourse</td>
|
|
<td style="padding: 10px 12px; font-weight: 900; color: #16a34a;">{{ (refundedAmount|default(order.totalHTDecimal))|number_format(2, ',', ' ') }} €</td>
|
|
</tr>
|
|
{% if isPartial|default(false) %}
|
|
<tr>
|
|
<td style="padding: 10px 12px; font-weight: 900; text-transform: uppercase; font-size: 11px; color: #6b7280;">Total commande</td>
|
|
<td style="padding: 10px 12px; font-weight: 700;">{{ order.totalHTDecimal|number_format(2, ',', ' ') }} €</td>
|
|
</tr>
|
|
{% endif %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<p>Le remboursement sera visible sur votre releve bancaire sous 5 a 10 jours ouvrables.
|
|
{% if not isPartial|default(false) %} Les billets associes a cette commande ont ete invalides.{% else %} Vos billets restent valides.{% endif %}</p>
|
|
|
|
<p style="font-size: 12px; color: #9ca3af;">Si vous avez des questions, contactez l'organisateur de l'evenement.</p>
|
|
{% endblock %}
|