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

{{ maintenance.reference }}

{{ maintenance.equipment.name }} — {{ maintenance.typeLabel }}

Retour
{{ maintenance.statusLabel }} {% if maintenance.isOverdue %}En retard{% endif %}

Détails

Équipement
{{ maintenance.equipment.name }} ({{ maintenance.equipment.internalReference }})
Type
{{ maintenance.typeLabel }}
Date prévue
{{ maintenance.scheduledDate|date('d/m/Y') }}
{% if maintenance.performedAt %}
Réalisée le
{{ maintenance.performedAt|date('d/m/Y H:i') }}
{% endif %} {% if maintenance.performedBy %}
Réalisée par
{{ maintenance.performedBy.fullName ?? maintenance.performedBy.email }}
{% endif %} {% if maintenance.cost %}
Coût
{{ maintenance.cost|number_format(0, ',', ' ') }} XOF
{% endif %} {% if maintenance.nextMaintenanceDate %}
Prochaine maintenance
{{ maintenance.nextMaintenanceDate|date('d/m/Y') }}
{% endif %}

Actions

{% if maintenance.canStart %}
{% endif %} {% if maintenance.canComplete %}
{% endif %} {% if maintenance.canCancel %}
{% endif %}
{% if maintenance.description or maintenance.findings or maintenance.actionsPerformed %}
{% if maintenance.description %}

Description

{{ maintenance.description|nl2br }}

{% endif %} {% if maintenance.findings %}

Constatations

{{ maintenance.findings|nl2br }}

{% endif %} {% if maintenance.actionsPerformed %}

Actions réalisées

{{ maintenance.actionsPerformed|nl2br }}

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