{% extends 'base.html' %} {% load static %} {% block title %}Détail du PV n°{{ pv.numero }}{% endblock %} {% block content %}
Numéro PV : {{ pv.numero }}
Type de PV : {{ pv.type_pv|default:"-" }}
Client : {{ pv.client|default:"-" }}
Date de visite : {{ pv.date_visite|date:"d/m/Y H:i" }}
Lieu : {{ pv.lieu|default:"-" }}
Statut : {{ pv.get_statut_display|default:"Brouillon" }}
Objet du contrôle :
{{ pv.objet_controle.nom_projet|linebreaks|default:"-" }}
Observations générales :
{{ pv.observations_generales|linebreaks|default:"-" }}
| Nom | Fonction | Organisme | Signature |
|---|---|---|---|
| {{ participant.nom }} | {{ participant.fonction|default:"-" }} | {{ participant.organisme|default:"-" }} |
{% if participant.signature_presente %}
Présente
{% else %}
Absente
{% endif %}
|
Aucun participant enregistré
{% endif %}| Ouvrage / Élément / Point de contrôle | Résultat | Observation |
|---|---|---|
|
{{ controle.point_controle.element.ouvrage.nom }}
{{ controle.point_controle.element.nom }} {{ controle.point_controle.point_de_controle|cut:"Point de contrôle : "|cut:"Point de contrôle:" }} |
{% if controle.statut == 'CONFORME' %} Conforme {% elif controle.statut == 'NON_CONFORME' %} Non conforme {% elif controle.statut == 'SUSPENDU' %} Suspendu {% else %} {{ controle.get_statut_display }} {% endif %} | {% if controle.observation %} {{ controle.observation|linebreaks|truncatechars:150 }} {% else %} — {% endif %} |
Aucun contrôle enregistré
| Description | Priorité | Délai | Statut |
|---|---|---|---|
| {{ recommandation.description|default:"-" }} | {% if recommandation.priorite == 'haute' %} Haute {% elif recommandation.priorite == 'moyenne' %} Moyenne {% else %} Basse {% endif %} | {{ recommandation.delai|default:"-" }} | {% if recommandation.statut %} Réalisé {% else %} En cours {% endif %} |
Aucune recommandation enregistrée
{% endif %}