{% extends "base.html" %} {% from "_macros.html" import app_pill %} {% block title %}Prüfmittel{% endblock %} {% block heading %}{% if filter_type == 'measuring_equipment' %}Messmittel{% elif filter_type == 'clamping' %}Spannmittel{% else %}Alle Prüfmittel{% endif %}{% endblock %} {% block topbar_actions %}
Alle Messmittel Spannmittel
{% if filter_type == 'measuring_equipment' %} + Neues Messmittel {% elif filter_type == 'clamping' %} + Neues Spannmittel {% else %} + Messmittel + Spannmittel {% endif %} {% endblock %} {% block content %}

Überfällig

{{ counts.overdue }}

Prüfung bereits fällig

Demnächst fällig

{{ counts.warning }}

in den nächsten 30 Tagen

In Ordnung

{{ counts.ok }}

nächste Prüfung in > 30 Tagen

Ohne Prüfintervall

{{ counts.unset }}

noch nicht eingerichtet

{{ items|length }} Prüfmittel

Sortiert nach Dringlichkeit — überfällige zuerst

{% if items %} {% for it in items %} {% endfor %}
Status Artikel Typ Anschaffung Letzte Prüfung Intervall Nächste Prüfung
{% if it.status == 'overdue' %} Überfällig · {{ -it.days_to_next }} T {% elif it.status == 'warning' %} Fällig in {{ it.days_to_next }} T {% elif it.status == 'ok' %} OK · {{ it.days_to_next }} T {% else %} Nicht gesetzt {% endif %}
{{ it.ident }}
{{ it.description }}
{% if it.item_type == 'measuring_equipment' %} Messmittel {% else %} Spannmittel {% endif %} {{ it.acquired_date or '—' }} {{ it.last_inspection_date or '—' }} {% if it.inspection_interval_months %}{{ it.inspection_interval_months }} Mon.{% else %}—{% endif %} {{ it.next_inspection_date or '—' }} Prüfen
{% else %}
Keine Prüfmittel in dieser Auswahl.
{% endif %}
{% endblock %}