{% extends "base.html" %} {% block title %}Contrats - GMAO{% endblock %} {% block content %}
| Nom | Entreprise | Lot / Equipement | Signe le | Fin | Preavis | Tacite | Statut | |
|---|---|---|---|---|---|---|---|---|
|
{{ c.name }}
{% if c.contract_number %} {{ c.contract_number }}{% endif %} |
{% if c.company %} {{ c.company.name }} {% else %}—{% endif %} |
{% if c.lot %}Lot: {{ c.lot.name }} {% endif %} {% if c.equipment %}{{ c.equipment.name }}{% endif %} {% if not c.lot and not c.equipment %}—{% endif %} |
{{ c.signed_date.strftime('%d/%m/%Y') if c.signed_date else '—' }} | {% if c.end_date %} {{ c.end_date.strftime('%d/%m/%Y') }} {% if c.days_until_expiry is not none %} {% if c.days_until_expiry < 0 %} expire {{ c.days_until_expiry }}j {% elif c.days_until_expiry <= 90 %} {{ c.days_until_expiry }}j {% else %} ({{ c.days_until_expiry }}j) {% endif %} {% endif %} {% else %} indetermine {% endif %} |
{% if c.notice_period_days %}
{{ c.notice_period_days }}j
{% if c.notice_deadline_calculated %}
limite: {{ c.notice_deadline_calculated.strftime('%d/%m/%Y') }} {% if c.must_send_notice_now %} URGENT {% endif %} {% endif %} {% else %}—{% endif %} |
{% if c.tacit_renewal %} Oui ({{ c.renewal_period_days }}j) {% else %} Non {% endif %} | {{ c.status }} |
Aucun contrat enregistre
Creer le premier contrat