feat(contrat/view): Ajoute l'attribut data-turbo="false" au lien d'acompte.
🐛 fix(RedirecListener): Exclut les webhooks de la redirection ngrok.
 feat(Webhooks): Crée des ProductReserve lors du paiement d'un acompte.
 feat(ContratPdfService): Remplace le code-barres par un QR code.
 feat(ContratController): Gère le paiement de l'acompte via Stripe.
```
This commit is contained in:
Serreau Jovann
2026-01-29 13:47:33 +01:00
parent e5252b2932
commit 85afa1b31b
5 changed files with 63 additions and 52 deletions

View File

@@ -264,7 +264,7 @@
<div class="p-6 text-center">
<p class="text-3xl font-black text-slate-900 italic mb-4">{{ arrhes|number_format(2, ',', ' ') }}€</p>
{% if contrat.signed %}
<a href="{{ path('gestion_contrat_view', {'num': contrat.numReservation,'act':'accomptePay'}) }}" class="block w-full bg-slate-900 text-white py-4 rounded-xl font-black uppercase text-xs hover:bg-blue-600 transition-all shadow-md">Régler l'acompte</a>
<a data-turbo="false" href="{{ path('gestion_contrat_view', {'num': contrat.numReservation,'act':'accomptePay'}) }}" class="block w-full bg-slate-900 text-white py-4 rounded-xl font-black uppercase text-xs hover:bg-blue-600 transition-all shadow-md">Régler l'acompte</a>
{% else %}
<div class="p-3 bg-amber-50 rounded-xl border border-amber-100">
<span class="text-[9px] text-amber-600 font-black uppercase tracking-tighter">Attente de signature du contrat</span>