feat(templates/cota.twig): Ajoute template pour confirmation cotisation
 feat(templates/admin/dashboard.twig): Affiche stats membres et commandes
🐛 fix(src/Controller/WebhooksController.php): Gère paiement et reçu cotisation
 feat(src/Service/Payments/PaymentClient.php): Ajoute paiement cotisation
 feat(.env): Met à jour URL de dev
 feat(src/Controller/Admin/AdminController.php): Ajoute validation et lien paiement
 feat(src/Controller/DonsController.php): Ajoute route validation cotisation
 feat(assets/admin.js): Ajoute assets admin
 feat(templates/form_admin.twig): Ajoute thème formulaire admin
 feat(assets/admin.scss): Ajoute style admin
 feat(src/Service/Pdf/CotaReceiptGenerator.php): Génère reçu de cotisation
 feat(src/Form/MembersType.php): Ajoute champs et options formulaire membre
 feat(templates/admin/base.twig): Ajoute base admin
 feat(templates/admin/member/add.twig): Ajoute template ajout/édition membre
 feat(src/Entity/Members.php): Ajoute champs et relations entité Membre
 feat(templates/admin/members.twig): Affiche liste membres
 feat(templates/mails/coti_payment.twig): Ajoute template mail paiement cotisation
 feat(src/Controller/MembersController.php): Filtre membres actifs
 feat(templates/mails/cota_validation.twig): Ajoute template mail validation cota
```
This commit is contained in:
Serreau Jovann
2025-11-22 20:36:20 +01:00
parent 91d79e60d7
commit a3dc9f5801
26 changed files with 1591 additions and 254 deletions

54
templates/cota.twig Normal file
View File

@@ -0,0 +1,54 @@
{% extends 'base.twig' %}
{% block title %}
Confirmation de Paiement | Votre Cotisation
{% endblock %}
{% block body %}
<div class="min-h-screen bg-gray-100 flex items-center justify-center p-4">
<div class="max-w-xl w-full bg-white shadow-2xl rounded-lg overflow-hidden border-t-4 border-green-500">
{# Header #}
<div class="p-6 bg-green-500 text-white text-center">
<svg class="w-16 h-16 mx-auto mb-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
<h1 class="text-3xl font-bold">Paiement Reçu !</h1>
<p class="text-green-100 mt-1">Confirmation de votre Cotisation</p>
</div>
{# Body Content #}
<div class="p-6 md:p-8 space-y-4">
<p class="text-gray-700">Cher membre,</p>
<p class="text-gray-800">
Nous vous remercions sincèrement. Le paiement de votre **cotisation** a été effectué avec succès et a été enregistré dans nos systèmes.
Votre compte est désormais à jour.
</p>
{# Transaction Details #}
<div class="bg-gray-50 border border-gray-200 p-4 rounded-lg">
<h2 class="text-lg font-semibold text-gray-800 mb-3 border-b pb-2">Détails de la transaction</h2>
<dl class="space-y-2 text-sm">
<div class="flex justify-between">
<dt class="font-medium text-gray-600">Montant payé :</dt>
<dd class="font-bold text-green-600">{{ payment.amount|number_format(2, ',', ' ') }} €</dd>
</div>
</dl>
</div>
{# Footer Text #}
<p class="pt-4 text-gray-600 border-t mt-6">
Pour toute question concernant cette transaction ou votre adhésion, n'hésitez pas à contacter notre support.
</p>
<p class="text-gray-700 font-semibold">
Cordialement,<br>
L'équipe E-Cosplay
</p>
</div>
</div>
</div>
{% endblock %}