{% extends 'base.html' %} {% load static %} {% block title %}Visualisation du procès-verbal n°{{ pv.numero|default:"" }} - Contrôle Technique{% endblock %} {% block content %}
| Type de PV : | {{ pv.type_pv|default:"Non spécifié" }} |
|---|---|
| Client : |
{{ pv.client.nom|default:"Non spécifié" }}
{% if pv.client.email %} {{ pv.client.email }}{% endif %} {% if pv.client.telephone %} {{ pv.client.telephone }}{% endif %} |
| Date de visite : | {{ pv.date_visite|date:"d/m/Y"|default:"Non spécifiée" }} |
| Lieu : | {{ pv.lieu|default:"Non spécifié" }} |
| Inspecteur : | {% if user.username %} {{user.username}} {% else %} Non assigné {% endif %} |
|---|---|
| Référence dossier : | {{ pv.reference_dossier|default:"-" }} |
| Validité : | {% if pv.date_validite %} {{ pv.date_validite|date:"d/m/Y" }} {% else %} Non définie {% endif %} |
| Version : | {{ pv.version|default:"1.0" }} |
{{ pv.objet_controle.nom_projet|default:"Aucun objet spécifié"|linebreaks }}
{{ pv.observations_generales|default:"Aucune observation"|linebreaks }}
| Ouvrage | Élément d'ouvrage | Point de contrôle | Statut | Observations | Photos |
|---|---|---|---|---|---|
| {{ controle.point_controle.element.ouvrage.nom|default:"-" }} | {{ controle.point_controle.element.nom }} | {{ controle.point_controle.point_de_controle|cut:"Point de contrôle : "|cut:"Point de contrôle:" }} | {{ controle.get_statut_display }} | {{ controle.observation|default:"-" }} |
{% with photos=controle.photos.all %}
{% if photos %}
|
{{ validation.utilisateur.get_full_name|default:validation.utilisateur.username }}
{% if validation.commentaire %}
{{ validation.commentaire }}
{% endif %}