feat(contrat/paiement): Ajoute la confirmation de paiement avec signature automatique.
```
This commit is contained in:
Serreau Jovann
2026-01-23 10:04:12 +01:00
parent 79e964d7d0
commit c351c239c5
9 changed files with 491 additions and 4 deletions

View File

@@ -362,6 +362,7 @@
<th class="px-8 py-4 text-[9px] font-black uppercase text-slate-400 tracking-widest">Type / Objet</th>
<th class="px-8 py-4 text-[9px] font-black uppercase text-slate-400 tracking-widest">Méthode</th>
<th class="px-8 py-4 text-[9px] font-black uppercase text-slate-400 tracking-widest text-right">Montant</th>
<th class="px-8 py-4 text-[9px] font-black uppercase text-slate-400 tracking-widest text-right">Confirmation de paiement</th>
<th class="px-8 py-4 text-[9px] font-black uppercase text-slate-400 tracking-widest text-center">Statut</th>
</tr>
</thead>
@@ -396,6 +397,24 @@
<td class="px-8 py-5 text-right font-black text-slate-900 italic text-sm">
{{ pay.amount|number_format(2, ',', ' ') }}
</td>
<td class="px-8 py-5 text-right">
<div class="flex justify-end">
<a target="_blank" href="{{ path('gestion_contrat_view', {num: contrat.numReservation, idPaymentPdf: pay.id}) }}"
class="group relative flex items-center justify-center w-10 h-10 bg-blue-50 hover:bg-blue-600 text-blue-600 hover:text-white rounded-full transition-all duration-300 shadow-sm"
title="Télécharger le reçu">
{# Icône de téléchargement épurée #}
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 stroke-[2.5] transition-transform group-hover:scale-110" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" d="M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3" />
</svg>
{# Tooltip (optionnel) #}
<span class="absolute -top-8 scale-0 group-hover:scale-100 transition-all bg-slate-800 text-white text-[10px] px-2 py-1 rounded font-bold uppercase tracking-tighter">
PDF
</span>
</a>
</div>
</td>
<td class="px-8 py-5 text-center">
<div class="inline-flex items-center gap-1.5 text-green-600">
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M5 13l4 4L19 7"></path></svg>