{% extends "base.html" %} {% load static %} {% load i18n %} {% load short_name %} {% load projects_tags %} {% load document_viewer_tags %} {% block head %} {% endblock head %} {% block content %}
{% for thematic in project.thematics.all %}
{{ thematic.name }}
{% empty %}
{% translate "Aucune thématique" %}
{% endfor %}
{% if project.begin_time %}
{{ project.start_date|date:"d-m-Y" }}
{% endif %}
{% if project.end_time %}
{{ project.end_date|date:"d-m-Y" }}
{% endif %}
{{ project.start_date|date:"d-m-Y"|default:"..." }} {{ project.end_date|date:"d-m-Y"|default:"..." }}
{% translate "Toute la Région" %}
{{ project.description }}
{% if project.pmo_number %} {{ project.pmo_number }} {% endif %}
{% if project.osiris_number %} {{ project.osiris_number }} {% endif %}
| {% translate "Session" %} | {% translate "Fichiers" %} | {% translate "Statut" %} | {% translate "Validation" %} | {% translate "Mis à jour" %} | {% translate "Action" %} |
|---|---|---|---|---|---|
| {{ imp.name }} |
{% if imp.excel_filename %} {{ imp.excel_filename }} {% endif %}
{% if imp.dxf_filename %}{{ imp.dxf_filename }} {% endif %}
|
{% if imp.status == 'completed' %} {% translate "Terminé" %} {% elif imp.status == 'partially_applied' %} {% translate "Partiellement appliqué" %} {% elif imp.status == 'in_review' %} {% translate "En validation" %} {% else %} {{ imp.get_status_display }} {% endif %} {% if imp.summary_stats.anomalies %} {{ imp.summary_stats.anomalies }} {% endif %} |
{{ imp.summary_stats.validated|default:0 }} / {{ imp.summary_stats.total|default:0 }} {% translate "validés" %} ({{ imp.summary_stats.progress_pct|default:0 }}%)
|
{{ imp.updated_at|date:"d/m/Y H:i" }} |
{% if can_import_publiclighting %}
{% if imp.status == 'draft_config' %}
{% translate "Configurer" %}
{% elif imp.status == 'completed' or imp.status == 'cancelled' %}
{% translate "Voir le rapport" %}
{% else %}
{% translate "Reprendre" %}
{% endif %}
{% if imp.status != 'completed' and imp.status != 'cancelled' %}
{% if imp.status == 'partially_applied' %}
{% translate "Abandonner cette session d'import ? Les éléments déjà appliqués seront conservés." as confirm_del_imp %}
{% else %}
{% translate "Supprimer cette session d'import ?" as confirm_del_imp %}
{% endif %}
{% endif %}
{% endif %}
|
{% translate "Aucun import d'inventaire d'éclairage public n'a encore été lancé pour ce projet." %}
{% endif %}{% translate "Aucun tag associé" %}
{% endfor %}{% translate "Aucun template associé" %}
{% endif %} {% for tpl_data in project_templates %}{% translate "Aucun attribut défini pour ce template." %}
{% else %}| {{ item.attr.name }} {% if item.attr.is_required %}*{% endif %} | {% if item.value %} {{ item.value.display_value }} {% else %} — {% endif %} |
{% translate "Aucune phase définie pour ce projet." %}
{% endif %}| {% translate "Résumé" %} | {% translate "Code" %} | {% translate "Titre" %} | {% translate "Début" %} | {% translate "Statut" %} |
|---|---|---|---|---|
| {% if interv.can_view_summary %} {% endif %} | {% if interv.can_view %} {{ intervention.code }} {% else %} {{ intervention.code }} {% endif %} | {{ intervention.title }} | {{ intervention.begin_time|date:"d-m-Y H:i" }} | {{ intervention.get_status_display }} |
| {% translate "Code" %} | {% translate "Contrat" %} | {% translate "Date de commande" %} | {% translate "Date de livraison" %} | {% translate "Montant total" %} | {% translate "Statut" %} | |
|---|---|---|---|---|---|---|
| {{ order.order_code }} | {{ order.contract.contract_number }} | {{ order.order_date|date:"d-m-Y" }} | {{ order.delivery_date|date:"d-m-Y" }} | {{ order.total_amount|floatformat:2 }} € | {{ order.get_order_status_display }} | {% if can_manage_orders %} {% endif %} |
| {% translate "Code" %} | {% translate "Date" %} | {% translate "Type" %} | {% translate "Titre" %} | {% translate "Statut" %} | {% translate "Résultat" %} | {% translate "Inspecteur" %} |
|---|---|---|---|---|---|---|
| {{ visit.code }} | {{ visit.conducted_at|date:"d/m/Y H:i" }} | {{ visit.get_visit_type_display }} | {{ visit.title|default:"-" }} | {{ visit.get_status_display }} | {{ visit.get_result_status_display }} | {% if visit.inspector %}{{ visit.inspector|short_name }}{% else %}-{% endif %} |
{% translate "Aucune visite ou réception enregistrée pour ce projet." %}
{% endif %}| {% translate "Code" %} | {% translate "Objet" %} | {% translate "Gravité" %} | {% translate "Statut" %} | {% translate "Origine" %} | {% translate "Entreprise" %} | {% translate "Échéance" %} |
|---|---|---|---|---|---|---|
| {{ f.code }} {% if f.is_safety_hazard %} {% endif %} |
{{ f.title|default:f.get_finding_nature_display }}
{% if f.is_allotted %}
{% translate "Alloti au projet" %}
{% endif %}
|
{{ f.get_severity_display }} | {{ f.get_status_display }} | {% if f.origin_visit %} {{ f.origin_visit.code }} {% else %} {{ f.get_origin_source_display }} {% endif %} | {{ f.assigned_company.name|default:"-" }} | {{ f.due_date|date:"d/m/Y"|default:"-" }} |
{% translate "Aucun constat ni réserve associé ou alloti à ce projet." %}
{% endif %}