{% extends 'layouts/authenticated.html.twig' %} {% block page_title %}{{ page_title }}{% endblock %} {% block content %}

{{ incident.reference }}

{{ incident.title }}

Retour
{{ incident.severityLabel }} {{ incident.statusLabel }} {{ incident.typeLabel }}

Détails

Équipement
{{ incident.equipment.name }} ({{ incident.equipment.internalReference }})
Date incident
{{ incident.incidentDate|date('d/m/Y') }}
Signalé par
{{ incident.reportedBy.fullName ?? incident.reportedBy.email }}
Signalé le
{{ incident.reportedAt|date('d/m/Y H:i') }}
{% if incident.location %}
Lieu
{{ incident.location }}
{% endif %} {% if incident.investigatedBy %}
Enquêteur
{{ incident.investigatedBy.fullName ?? incident.investigatedBy.email }}
{% endif %} {% if incident.resolvedBy %}
Résolu par
{{ incident.resolvedBy.fullName ?? incident.resolvedBy.email }}
{% endif %}

Actions

{% if incident.canInvestigate %}
{% endif %} {% if incident.canResolve %}
{% endif %} {% if incident.canClose %}
{% endif %}

Description

{{ incident.description|nl2br }}

{% if incident.investigationNotes %}

Notes d'enquête

{{ incident.investigationNotes|nl2br }}

{% endif %} {% if incident.resolution %}

Résolution

{{ incident.resolution|nl2br }}

{% if incident.resolvedAt %}

Résolu le {{ incident.resolvedAt|date('d/m/Y H:i') }}

{% endif %}
{% endif %}
{% endblock %}