{% extends "base.html" %} {% block title %}{{ company.name }} — GMAO Collège{% endblock %} {% block content %}

{{ company.name }}

Modifier
Informations
{% if company.trade_name %}{% endif %} {% if company.siret %}{% endif %} {% if company.rating %}{% endif %}
Nom commercial{{ company.trade_name }}
SIRET{{ company.siret }}
Spécialité{{ company.specialty }}
Contact{{ company.contact_name or '—' }}
Email{{ company.contact_email or '—' }}
Téléphone{{ company.contact_phone or '—' }}
Note{% for i in range(company.rating) %}⭐{% endfor %}
Statut{% if company.is_active %}Active{% else %}Inactive{% endif %}
Contacts techniciens
{% if company.tech1_name or company.tech2_name or company.tech3_name %} {% if company.tech1_name %} {% endif %} {% if company.tech2_name %} {% endif %} {% if company.tech3_name %} {% endif %}
Tech 1: {{ company.tech1_name }} {{ company.tech1_phone or '' }} {% if company.tech1_email %}
{{ company.tech1_email }}{% endif %}
Tech 2: {{ company.tech2_name }} {{ company.tech2_phone or '' }} {% if company.tech2_email %}
{{ company.tech2_email }}{% endif %}
Tech 3: {{ company.tech3_name }} {{ company.tech3_phone or '' }} {% if company.tech3_email %}
{{ company.tech3_email }}{% endif %}
{% else %}

Aucun contact technicien renseigné.

{% endif %}
{% if company.address %}
Adresse
{{ company.address }}
{% endif %} {% if company.notes %}
Notes
{{ company.notes }}
{% endif %}
Lots concernés ({{ company.lots|length }})
{% if company.lots %}
{% for lot in company.lots %} {% endfor %}
LotCatégoriesInterventions
{{ lot.name }} {{ lot.categories.count() }} {{ lot.interventions.count() }}
{% else %}

Aucun lot assigné à cette entreprise.

{% endif %}
Interventions ({{ interventions|length }})
{% if interventions %}
{% for interv in interventions %} {% endfor %}
#TitreTypeStatutDate
#{{ interv.id }} {{ interv.title }} {% if interv.type == 'curatif' %}Curatif{% else %}Préventif{% endif %} {{ interv.status|format_status }} {{ interv.requested_at|date_fmt }}
{% else %}

Aucune intervention pour cette entreprise.

{% endif %}
{% endblock %}