{% extends 'mobile/mobile_base.html' %} {% load static %} {% load tz %} {% load controls_custom_filters %} {% load i18n %} {% block extra_head %} {% endblock extra_head %} {% block upleft %} {% endblock upleft %} {% block title %} {{ control.control_code }} {% endblock title %} {% block content %}
{% translate 'Statut' %} : {{ control.get_status_display }}
{% translate 'Type' %} : {{ control.get_control_type_display }}
{% translate 'Projet' %} : {{ control.project.name }}
{% endif %} {% if control.phase %}{% translate 'Phase' %} : {{ control.phase.name }}
{% endif %} {% if control.intervention %}{% translate 'Intervention' %} : {{ control.intervention }}
{% endif %}{% translate 'Lieu' %} : {{ control.location }}
{% translate 'Créé le' %} {{ control.created_at|timezone:"Europe/Paris"|date:"d/m/Y H:i" }} | {% translate 'Mis à jour le' %} {{ control.updated_at|timezone:"Europe/Paris"|date:"d/m/Y H:i" }}
{% translate 'Auteur' %} : {{ control.control_author }}
{% if control.description %}{% translate 'Description' %} : {{ control.description }}
{% endif %}{% load short_name %} {% translate 'Mise à jour par' %} {{ remark.updated_by|short_name|default:remark.updated_by.username }} {% translate 'le' %} {{ remark.updated_at|timezone:"Europe/Paris"|date:"d/m/Y H:i" }}
| {% translate 'Poste / Description' %} | {% translate 'Total' %} |
|---|---|
|
{% if q.contract_post %}
{{ q.contract_post.code }}
{% if q.contract_post.unit %}({{ q.contract_post.unit }}){% endif %}
{% if LANGUAGE_CODE|slice:":2" == "nl" %}
{{ q.contract_post.description_nl|default:q.contract_post.description_fr|truncatechars:120 }}
{% else %}
{{ q.contract_post.description_fr|default:q.contract_post.description_nl|truncatechars:120 }}
{% endif %}
{% if q.contract %}
{{ q.contract.contract_number }}
{% endif %}
{% else %}
{{ q.description|default:"—" }}
{% endif %}
|
{{ q.computed_qty|floatformat:2 }} |
{% translate 'Aucune remarque enregistrée.' %}
{% endfor %}{% translate 'Aucun rapport sauvegardé.' %}
{% endfor %}{% translate 'Mise à jour par' %} {{ remark.updated_by.username }} {% translate 'le' %} {{ remark.updated_at|timezone:"Europe/Paris"|date:"d/m/Y H:i" }}