- 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>
28 lines
1.4 KiB
Twig
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, ',', ' ') }} €/u</p>
|
|
</div>
|
|
<p class="font-black text-sm text-indigo-600 flex-shrink-0">{{ item.lineTotalHTDecimal|number_format(2, ',', ' ') }} €</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, ',', ' ') }} €</span>
|
|
</div>
|
|
|
|
{% if order.orderNumber %}
|
|
<p class="text-[10px] font-bold text-gray-400 mt-2">Commande {{ order.orderNumber }}</p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|