{% extends 'base.html' %} {% load static %} {% block title %}Détail du PV n°{{ pv.numero }}{% endblock %} {% block content %}

Procès-Verbal n°{{ pv.numero }}

Créé le {{ pv.date_visite|date:"d/m/Y" }}

Modifier Retour

Informations générales

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:"-" }}

Participants

{% if pv.participants.all %}
{% for participant in pv.participants.all %} {% endfor %}
Nom Fonction Organisme Signature
{{ participant.nom }} {{ participant.fonction|default:"-" }} {{ participant.organisme|default:"-" }} {% if participant.signature_presente %}
Présente Signature de {{ participant.nom }}
{% else %} Absente {% endif %}
{% else %}

Aucun participant enregistré

{% endif %}

Contrôles effectués

{% if pv.controles.all %}
{% for controle in pv.controles.all %} {% endfor %}
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 %}
{% else %}

Aucun contrôle enregistré

{% endif %}

Recommandations

{% if pv.recommandations.all %}
{% for recommandation in pv.recommandations.all %} {% endfor %}
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 %}
{% else %}

Aucune recommandation enregistrée

{% endif %}
{% endblock %}