Files
e-ticket/templates/order/_summary.html.twig
Serreau Jovann 3468b1288d Improve mobile/tablet responsive, fix structured data, update deploy schedule and fix HTML issues
- Add responsive breakpoints (sm/md) to event_detail.html.twig: adaptive titles, stacked ticket layout on mobile, reduced padding/spacing
- Add responsive breakpoints to order templates (guest, summary, public, payment, success): adaptive typography, padding, and layouts
- Fix BreadcrumbList JSON-LD: escape names with json_encode, remove item URL from last breadcrumb
- Update deploy.yml cron schedule from 3h/13h/19h/23h to 1h/22h
- Add <title> tags to rgpd_deletion.html.twig and rgpd_access.html.twig
- Add scope attributes to all <th> tags in rgpd_access.html.twig
- Replace deprecated width/cellpadding/cellspacing HTML attributes with CSS in scan_force_notification email

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 08:40:28 +02:00

28 lines
1.4 KiB
Twig

<div class="card-brutal overflow-hidden">
<div class="section-header">
<h2 class="text-[10px] font-black uppercase tracking-widest text-white">Recapitulatif</h2>
</div>
<div class="p-4 sm:p-6">
<p class="font-black uppercase text-xs sm:text-sm tracking-widest mb-3 sm:mb-4">{{ order.event.title }}</p>
{% for item in order.items %}
<div class="flex justify-between gap-2 py-2 {{ not loop.last ? 'border-b border-gray-200' : '' }}">
<div class="min-w-0">
<p class="font-bold text-sm truncate">{{ item.billetName }}</p>
<p class="text-xs text-gray-400 font-bold">x{{ item.quantity }}{{ item.unitPriceHTDecimal|number_format(2, ',', ' ') }} &euro;/u</p>
</div>
<p class="font-black text-sm text-indigo-600 flex-shrink-0">{{ item.lineTotalHTDecimal|number_format(2, ',', ' ') }} &euro;</p>
</div>
{% endfor %}
<div class="flex justify-between pt-3 sm:pt-4 mt-3 sm:mt-4 border-t-2 border-gray-900">
<span class="font-black uppercase text-sm">Total HT</span>
<span class="font-black text-lg text-indigo-600">{{ order.totalHTDecimal|number_format(2, ',', ' ') }} &euro;</span>
</div>
{% if order.orderNumber %}
<p class="text-[10px] font-bold text-gray-400 mt-2">Commande {{ order.orderNumber }}</p>
{% endif %}
</div>
</div>