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

View File

@@ -0,0 +1,52 @@
{% extends 'mails/base.twig' %}
{% block content %}
<mj-section background-color="#f3f4f6" border-radius="12px" padding="20px">
<mj-column>
<mj-text font-family="Helvetica, Arial, sans-serif" color="#10b981" font-size="28px" font-weight="bold" align="center" padding-bottom="20px">
✅ Paiement Confirmé
</mj-text>
</mj-column>
<mj-wrapper background-color="#ffffff" border-radius="8px" padding="20px" border="1px solid #e5e7eb" padding-bottom="20px">
<mj-section padding="0">
<mj-column width="100%">
<mj-text font-family="Helvetica, Arial, sans-serif" color="#374151" font-size="16px" line-height="1.6" padding-bottom="0">
Bonjour <strong>{{ datas.pseudo }}</strong>,
</mj-text>
<mj-text font-family="Helvetica, Arial, sans-serif" color="#374151" font-size="16px" line-height="1.6" padding-top="0" padding-bottom="20px">
Nous vous confirmons la bonne réception de votre paiement de cotisation. Merci beaucoup pour votre soutien ! Votre adhésion est maintenant active.
</mj-text>
<mj-table padding="5px 0" width="100%" color="#374151" font-size="14px">
<tr style="border-bottom: 1px solid #e5e7eb;">
<td style="font-weight: bold; padding: 10px 0;">Période d'Adhésion :</td>
<td style="text-align: right; padding: 10px 0;">Du {{ datas.start_at|date('d/m/Y') }} au {{ datas.end_at|date('d/m/Y') }}</td>
</tr>
</mj-table>
<mj-table padding="5px 0" width="100%">
<tr>
<td style="font-weight: bold; padding: 10px 0; color: #374151; font-size: 14px;">Montant Payé :</td>
<td style="text-align: right; padding: 10px 0; color: #10b981; font-size: 18px; font-weight: bold;">{{ datas.amount|format_currency('EUR', locale='fr') }}</td>
</tr>
</mj-table>
</mj-column>
</mj-section>
</mj-wrapper>
<mj-column>
<mj-text font-family="Helvetica, Arial, sans-serif" color="#6b7280" font-size="12px" align="center" padding-top="15px">
Une question ? Contactez-nous.
</mj-text>
<mj-text font-family="Helvetica, Arial, sans-serif" color="#6b7280" font-size="12px" align="center" padding-top="10px">
Cet e-mail est envoyé automatiquement.
</mj-text>
</mj-column>
</mj-section>
{% endblock %}