{% extends "base.html" %} {% load i18n %} {% load static %} {% block head %}
{% blocktranslate with user=active_draft.requested_by.get_full_name|default:active_draft.requested_by.username date=active_draft.updated_at|date:"d/m/Y H:i" %}
Enregistré par {{ user }} le {{ date }}.
{% endblocktranslate %}
{% if active_draft.request_notes %}
« {{ active_draft.request_notes }} »
{% endif %}
{% translate "Aucun contact interne spécifique renseigné." %}
{% endif %}{% translate "Aucun contact prestataire renseigné." %}
{% endif %}| {% translate "Symptôme" %} | {% translate "Contexte / Précision" %} | {% translate "Contrat" %} | {% translate "Délai garanti (SLA)" %} | {% translate "Contact tél" %} | {% translate "Envoi fiche mail" %} | {% translate "Consignes particulières" %} | {% translate "Action" %} |
|---|---|---|---|---|---|---|---|
|
{{ row.symptom_name }}
{% if row.symptom_conditions_count > 1 %}
{{ row.symptom_conditions_count }} {% translate "conditions" %}
{% endif %}
|
{% endif %}
{% if row.context_label %} {{ row.context_label }} {% else %} {% translate "Tous contextes" %} {% endif %} |
{% if it.contract %}
{{ it.contract.contract_number }}
{% if it.contract.company %}
{{ it.contract.company.name }}
{% endif %}
{% else %}
{% translate "Non défini" %}
{% endif %}
|
{% with p=it.get_priority mins=it.get_chosen_delay_minutes %} {% if p == '1' %} P1{% if mins is not None %}: {{ it.get_chosen_delay_display }}{% endif %} {% elif p == '2' %} P2{% if mins is not None %}: {{ it.get_chosen_delay_display }}{% endif %} {% elif p == '3' %} P3{% if mins is not None %}: {{ it.get_chosen_delay_display }}{% endif %} {% elif p == '4' %} P4{% if mins is not None %}: {{ it.get_chosen_delay_display }}{% endif %} {% elif mins is not None %} {{ it.get_chosen_delay_display }} {% else %} - {% endif %} {% endwith %} |
{% if it.call_required %}
{% translate "OUI (Call out)" %}
{% with contacts=it.get_phone_contacts_with_companies %}
{% if contacts %}
{% for c in contacts %}
{% if c.company %}{{ c.company }} :{% endif %}{{ c.phone }}
{% endfor %}
{% endif %}
{% endwith %}
{% else %}
{% translate "Non" %}
{% endif %}
|
{% if it.send_email %}
{% translate "OUI" %}
{% else %}
{% translate "Non" %}
{% endif %}
{% if it.send_email %}
{% if it.use_default_emails %}
{% with def_r=it.get_default_email_recipients def_c=it.get_default_email_cc_recipients %}
{% if def_r or def_c %}
{% translate "Par défaut" %} :
{% if def_r %}
{% translate "À :" %} {{ def_r }}
{% endif %}
{% if def_c %}
{% translate "Cc :" %} {{ def_c }}
{% endif %}
{% translate "Spécifiques" %} :
{% if it.email_recipients %}
{% translate "À :" %} {{ it.email_recipients }}
{% endif %}
{% if it.email_cc_recipients %}
{% translate "Cc :" %} {{ it.email_cc_recipients }}
{% endif %}
|
{% if it.get_specific_instructions %}
{{ it.get_specific_instructions|linebreaksbr }}
{% else %}
-
{% endif %}
|
{% translate "Intervention" %}
{% with next_st=it.get_next_status next_st_label=it.get_next_status_display_label next_st_color=it.get_next_status_color is_mandatory=it.is_next_status_mandatory %}
{% if next_st %}
{% if is_mandatory %}
{% endif %}
{{ next_st_label }}
{% endif %}
{% endwith %}
|
| {% translate "Aucun symptôme associé pour le moment à cette fiche." %} | |||||||
{% translate "Aucune procédure spécifique renseignée." %}
{% endif %}{% translate "Aucune procédure spécifique renseignée." %}
{% endif %}| {% translate "Date" %} | {% translate "Demandeur" %} | {% translate "Statut" %} | {% translate "Notes / Justification" %} | {% translate "Arbitrage admin" %} | {% translate "Action" %} |
|---|---|---|---|---|---|
| {{ req.created_at|date:"d/m/Y H:i" }} | {{ req.requested_by.get_full_name|default:req.requested_by.username }} | {% if req.status == 'submitted' %} {% translate "En attente de validation" %} {% elif req.status == 'approved' %} {% translate "Validée & Appliquée" %} {% elif req.status == 'rejected' %} {% translate "Rejetée" %} {% else %} {% translate "Brouillon" %} {% endif %} | {{ req.request_notes|default:"-"|truncatechars:80 }} |
{% if req.reviewed_by %}
{{ req.reviewed_by.get_full_name|default:req.reviewed_by.username }}
({{ req.reviewed_at|date:"d/m/Y" }})
{% if req.admin_notes %} {{ req.admin_notes }}{% endif %} {% else %} {% translate "Non arbitré" %} {% endif %} |
{% if req.status == 'draft' and can_edit %} {% translate "Reprendre" %} {% elif is_admin and req.status == 'submitted' %} {% translate "Arbitrer" %} {% else %} {% endif %} |
{% translate "Remarques complémentaires" %}