{% extends "base.html" %} {% block title %}Nouvelle intervention — GMAO{% endblock %} {% block content %}

Nouvelle intervention

Retour
{% if interpretation %}
Intervention créée à partir d'une interprétation automatique {{ interpretation.analysis_type|title }} {{ interpretation.analysis_action|title }} {% if interpretation.confidence_score %} Confiance: {{ '%.0f'|format(interpretation.confidence_score * 100) }}% {% endif %}
{% endif %}
{% if from_interpretation %} {% endif %}
{% if json_suggestions and json_suggestions.title %} Suggestion: {{ json_suggestions.title }} {% endif %}
{% if json_suggestions and json_suggestions.priority %} Suggestion: {{ json_suggestions.priority }} {% endif %}
{% if json_suggestions and json_suggestions.type %} Suggestion: {{ json_suggestions.type }} {% endif %}
Le parcours détermine les étapes affichées dans la fiche.
{% if json_suggestions and json_suggestions.equipment %}
{% if equipment_match %} Équipement trouvé: {{ equipment_match.name }} {% else %} Suggestion: "{{ json_suggestions.equipment }}" — Utilisez "Divers" si non applicable {% endif %}
{% endif %}
{% if json_suggestions and json_suggestions.location %}
{% if room_match %} Salle trouvée: {{ room_match.name }} {% else %} Suggestion: "{{ json_suggestions.location }}" {% endif %}
{% endif %}
{% if json_suggestions and json_suggestions.description and json_suggestions.description != (prefilled.description if prefilled is defined else '') %} Suggestion: {{ json_suggestions.description[:200] }}{% if json_suggestions.description|length > 200 %}...{% endif %} {% endif %}
{% if json_suggestions and json_suggestions.assignee %} Suggestion: {{ json_suggestions.assignee }} {% endif %}
{% if json_suggestions and json_suggestions.date %} Suggestion: {{ json_suggestions.date }} {% endif %}
{% if from_interpretation %} Refuser {% endif %} Annuler
{% if interpretation and interpretation.raw_json %}
{{ interpretation.raw_json }}
{% endif %}
{% endblock %}