{% extends 'base.html.twig' %} {% block title %}Pronostics par match · Admin{% endblock %} {% block body %}

Pronostics par match

Consultez les pronostics joueur par joueur pour chaque rencontre. Liste complète

{% if selected_match %}

{{ selected_match }}

{% if selected_match.phase %} · {{ selected_match.phase }} {% endif %} · {{ selected_match.statut }} {% if selected_match.scoreDomicile is not null and selected_match.scoreExterieur is not null %} · Score final {{ selected_match.scoreDomicile }}-{{ selected_match.scoreExterieur }} {% endif %} · {{ active_players_count - missing_players|length }}/{{ active_players_count }} cotisé{{ active_players_count > 1 ? 's' : '' }} ont pronostiqué {% if missing_players is not empty %} · {{ missing_players|length }} manquant{{ missing_players|length > 1 ? 's' : '' }} {% endif %}

{% if missing_players is not empty %}

Joueurs sans prono ({{ missing_players|length }})

{% for player in missing_players %} {% set team_label = player_team_labels[player.id] ?? null %} {% endfor %}
Joueur Surnom Équipe
{{ player.email }} {{ team_label ? team_label.nickname : '—' }} {{ team_label ? team_label.team_name : '—' }} Fiche
{% endif %}

Pronostics enregistrés ({{ pronostics|length }})

{% if pronostics is empty %}

Aucun pronostic enregistré pour ce match.

{% else %}
{% for pronostic in pronostics %} {% endfor %}
Joueur Prono Pts base Cote Pts joueur Pts équipe BigBalls Modifié le
{{ pronostic.joueur.email }} {{ pronostic.scoreDomicile }}-{{ pronostic.scoreExterieur }} {{ pronostic.pointsBase ?? '—' }} {% if pronostic.coteCoefficient is not null %} {{ pronostic.coteCoefficient|number_format(2, ',', ' ') }} {% else %} — {% endif %} {% if pronostic.points is not null %} {{ pronostic.points|round(0, 'common') }} {% else %} — {% endif %} {% set team_pts = pronostic.pointsEquipe ?? pronostic.points %} {% if team_pts is not null %} {{ team_pts|round(0, 'common') }} {% else %} — {% endif %} {{ pronostic.priseRisque ? 'Oui' : '—' }} Détail
{% endif %} {% else %}

Aucun match en base.

{% endif %}

Retour admin

{% endblock %}