{% extends 'base.html.twig' %} {% block title %}Tableau de bord — {{ app.user.nomClub }}{% endblock %} {% block content %} {# ══════════════════════════════════════════════════════════════ Design inspiré du reçu de paiement PDF (CRED / LFM) Palette : navy #003189 · rouge #E3000F · or #F5B400 · vert reçu #1b5e20/#e8f5e9 ══════════════════════════════════════════════════════════════ #} {% block header_banner %}

{{ app.user.nomClub }}

N° club {{ app.user.numeroClub }} · Saison 2025–2026

{% endblock %}
{# ── KPIs ── #}
{{ stats.impayees }}
Amendes impayées
{{ stats.montantDu|number_format(2, ',', ' ') }} €
Montant total dû
{{ stats.suspendus }}
Personnes potentiellement suspendues
{# ── Alerte suspension imminente ── #} {% if amendesProcheSuspension|length > 0 %}
Attention ! {% for a in amendesProcheSuspension %} {{ a.nomPrenomPersonne }} sera potentiellement suspendu dans {{ a.joursRestants }} jours (dossier {{ a.numeroDossier }}). {% endfor %} Réglez ces amendes pour éviter une eventuelle suspension.
{% endif %} {# ── Tableau des amendes ── #}

Mes amendes

{% for amende in amendes %} {% else %} {% endfor %}
N° dossier Personne Motif Compétition Date match Limite J+15 Montant Statut Action
{% if amende.statutPaiement != 'payé' %} {% endif %} {{ amende.numeroDossier }}
{{ amende.nomPrenomPersonne }}
{{ amende.role }} · {{ amende.libelleCategorie }}
{{ amende.libelleMotif }} {{ amende.competition }} {{ amende.dateMatch|date('d/m/Y') }} {% if amende.statutPaiement == 'payé' %} Réglé {% elseif amende.isSuspendu %} {% else %} {% set jours = amende.joursRestantsAvantSuspension %} {{ amende.dateLimiteSuspension|date('d/m') }} {% if jours <= 3 %}({{ jours }}j !){% endif %} {% endif %} {{ amende.sommeTotale|number_format(2, ',', ' ') }} € {% if amende.statutPaiement == 'payé' %} Payé {% elseif amende.statutPaiement == 'en_cours' %} En cours… {% else %} Impayé {% endif %} {% if amende.statutPaiement != 'payé' %} {% else %} Reçu {% endif %}

Aucune amende — votre club est en règle !

{# ── Barre de paiement groupé ── #}
{# ── Modal Stripe ── #}
{# /.cdv2 #} {% endblock %} {% block javascripts %} {% endblock %}