Add payment details block on ticket PDF after practical info and conditions
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -399,6 +399,26 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{% if order.paymentMethod %}
|
||||
<table style="width: 100%; border-collapse: collapse; margin-top: 8px; border-top: 1px solid #eee; padding-top: 6px;">
|
||||
<tr>
|
||||
<td style="padding-top: 6px;">
|
||||
<div style="font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; color: #999; margin-bottom: 4px;">Details du paiement</div>
|
||||
<div style="font-size: 9px; color: #555;">
|
||||
Methode : {{ order.paymentMethod }}
|
||||
{% if order.cardBrand and order.cardLast4 %}
|
||||
— {{ order.cardBrand|upper }} **** {{ order.cardLast4 }}
|
||||
{% endif %}
|
||||
{% if order.paidAt %}
|
||||
• Date : {{ order.paidAt|date('d/m/Y H:i') }}
|
||||
{% endif %}
|
||||
• Montant : {{ order.totalHTDecimal|number_format(2, ',', ' ') }} € HT
|
||||
• Commande : {{ order.orderNumber }}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- FOOTER -->
|
||||
|
||||
Reference in New Issue
Block a user