feat: passer l'id formule au contact et inclure le nom dans le mail

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-19 10:43:37 +01:00
parent 92b0839899
commit 48ecfe4de3
3 changed files with 24 additions and 4 deletions

View File

@@ -5,6 +5,11 @@
<mj-text font-size="22px" font-weight="900" color="#0f172a" text-transform="uppercase" font-style="italic" align="center">
Nouveau <span style="color:#2563eb">Message</span>
</mj-text>
{% if datas.formuleName is defined %}
<mj-text font-size="16px" font-weight="700" color="#f39e36" align="center" padding-top="10px">
Formule demandée : {{ datas.formuleName }}
</mj-text>
{% endif %}
<mj-divider border-width="1px" border-color="#f1f5f9" padding-top="20px" padding-bottom="20px" />
</mj-column>
</mj-section>

View File

@@ -81,7 +81,7 @@
</div>
</div>
<a href="{{ path('reservation_contact') }}" class="w-full bg-slate-900 text-white text-center py-6 rounded-3xl font-black uppercase italic tracking-widest hover:bg-[#fc0e50] transition-colors duration-300 shadow-xl">
<a href="{{ path('reservation_contact', {formule: formule.id}) }}" class="w-full bg-slate-900 text-white text-center py-6 rounded-3xl font-black uppercase italic tracking-widest hover:bg-[#fc0e50] transition-colors duration-300 shadow-xl">
Réserver cette formule
</a>
</div>