{% extends 'base.html.twig' %} {% block title %}Tableau de Bord - Clinique Les Genêts{% endblock %} {% block page_title %}Tableau de Bord{% endblock %} {% block body %}

Bienvenue dans votre Tableau de Bord

Clinique Les Genêts - {{ "now"|date("d/m/Y à H:i") }}

{{ stats.task_completion_rate }}%
Tâches complétées

Tâches

{{ stats.total_tasks }}

{{ stats.completed_tasks }} terminées

Projets

{{ stats.total_projects }}

En cours

Enquêtes

{{ stats.active_surveys }}

Actives

En retard

{{ overdue_tasks|length }}

Tâches urgentes

Tâches du jour

Voir toutes
{% if today_tasks is empty %}

Aucune tâche prévue pour aujourd'hui

{% else %}
{% for task in today_tasks|slice(0, 5) %}

{{ task.title }}

{% if task.dueDate %} {{ task.dueDate|date('H:i') }} {% endif %} {% if task.category %} {{ task.category.name }} {% endif %}

{{ task.statusLabel }}
{% endfor %}
{% endif %}

Projets en cours

Voir tous
{% if active_projects is empty %}

Aucun projet actif

{% else %}
{% for project in active_projects %}

{{ project.name }}

{{ project.progress }}%
{{ project.status|title }} {% if project.endDate %} {{ project.endDate|date('d/m/Y') }} {% endif %}
{% endfor %}
{% endif %}
{% if recent_surveys is not empty %}

Enquêtes actives

Voir toutes
{% for survey in recent_surveys %}

{{ survey.title }}

{{ survey.status|title }}
{{ survey.currentResponses }}/{{ survey.targetResponses }} réponses
{% if survey.averageRating %}
{{ survey.averageRating|round(1) }}
{% endif %}
{% endfor %}
{% endif %}

Actions rapides

{% endblock %}