{% extends "base.html" %} {% block title %}Planning préventif — GMAO{% endblock %} {% block content %}

Planning préventif

{{ stats.overdue }}

En retard

{{ stats.this_week }}

Semaine

{{ stats.this_month }}

Mois

{{ stats.later }}

Plus tard
{% for freq in frequency_counts %} {{ freq.label }} {{ freq.count }} {% endfor %}
{% if overdue %}
En retard ({{ overdue|length }})
{% endif %} {% if this_week %}
Cette semaine ({{ this_week|length }})
{% endif %} {% if this_month %}
Ce mois ({{ this_month|length }})
{% endif %} {% if later %}
Plus tard ({{ later|length }})
{% endif %} {% if not overdue and not this_week and not this_month and not later %}

Aucune maintenance préventive planifiée

{% endif %}
{% endblock %}