{% extends 'base.html.twig' %} {% block title %}{{ task.title }} - Clinique Les Genêts{% endblock %} {% block page_title %}Détails de la tâche{% endblock %} {% block body %}
Modifier {% if not task.isCompleted %} {% endif %}

{{ task.title }}

{{ task.priorityLabel }} {{ task.statusLabel }} {% if task.isOverdue %} En retard {% endif %}
{% if task.description %}

Description

{{ task.description|nl2br }}

{% endif %}

Assigné à

{{ task.assignedTo.firstName|slice(0,1) }}{{ task.assignedTo.lastName|slice(0,1) }}

{{ task.assignedTo.firstName }} {{ task.assignedTo.lastName }}

{{ task.assignedTo.specialty }}

Échéance

{% if task.dueDate %}

{{ task.dueDate|date('d/m/Y à H:i') }} {% if task.isOverdue %} {% endif %}

{% else %}

Aucune échéance définie

{% endif %}
{% if task.project %}

Projet

{{ task.project.name }}
{% endif %} {% if task.category %}

Catégorie

{{ task.category.name }}
{% endif %} {% if task.satisfactionRating %}

Note de satisfaction

{% for i in 1..5 %} {% endfor %} {{ task.satisfactionRating }}/5
{% endif %}

Créée le

{{ task.createdAt|date('d/m/Y à H:i') }}

Activité et commentaires

{{ task.assignedTo.firstName }} {{ task.assignedTo.lastName }} a créé cette tâche {{ task.createdAt|date('d/m/Y à H:i') }}
{% if task.updatedAt != task.createdAt %}
{{ task.assignedTo.firstName }} {{ task.assignedTo.lastName }} a modifié cette tâche {{ task.updatedAt|date('d/m/Y à H:i') }}
{% endif %}
{% endblock %}