{% extends 'base.html' %} {% from 'macros.html' import status_badge, due with context %} {% block title %}Übersicht{% endblock %} {% block content %}
{{ today.strftime('%d.%m.%Y') }}

Hallo {{ user.full_name.replace('Dr. ', '').replace('Prof. ', '').split(' ')[0] }}

{% if modules.steri %}+ Steri-Charge{% endif %} {% if modules.temperatur and temp_points %}+ Temperatur{% endif %} {% if modules.lager %}Lager buchen{% endif %}
{% set overdue = tasks|selectattr('status', 'eq', 'overdue')|list %}
{{ overdue|length }}
Prüfungen überfällig
{{ tasks|length - overdue|length }}
bald fällig
{% if modules.steri %}
{{ batches|length }}
Chargen ohne Freigabe
{% endif %} {% if modules.temperatur and temp_points %}
{{ temp_bad|length + temp_missing|length }}
{{ 'Temperatur außerhalb' if temp_bad else 'Temperatur heute offen' }}
{% endif %}
{{ quals|length }}
Nachweise ablaufend/fehlend
{% if modules.lager %}
{{ low_stock|length }}
Artikel nachbestellen
{% endif %}
{{ unacked|length }}
Dokumente zu bestätigen
{% for e in old_open %}
⏱ Dein Zeiteintrag vom {{ e.day|d }} (seit {{ e.start.strftime('%H:%M') }}) hat kein „Gehen“. Jetzt nachtragen
{% endfor %} {% if clock and clock.source == 'auto' and clock.day == today and (now - clock.start).total_seconds() < 900 %}
⏱ Automatisch eingestempelt um {{ clock.start.strftime('%H:%M') }}. Nur kurz reingeschaut?
{% endif %} {% if pending_leave %}
🗓 {{ pending_leave|length }} Urlaubsantr{{ 'ag' if pending_leave|length == 1 else 'äge' }} warten auf Entscheidung: {% for a in pending_leave[:4] %}{{ a.user.full_name }} ({{ a.start.strftime('%d.%m.') }}{% if a.end != a.start %}–{{ a.end.strftime('%d.%m.') }}{% endif %}){{ ', ' if not loop.last }}{% endfor %}
Entscheiden
{% endif %} {% if unacked %}
📄 Bitte lesen und bestätigen: {% for d in unacked %}{{ d.title }}{{ ', ' if not loop.last }}{% endfor %}
{% endif %}

Fällige Prüfungen & Wartungen

{% if tasks %} {% else %}
Alles erledigt 🎉
{% endif %}

Qualifikationen & Unterweisungen

{% if is_leitung %}{% endif %}
{% if quals %} {% else %}
Alle Nachweise aktuell.
{% endif %}
{% if modules.temperatur and temp_points %}

Temperatur heute

{% endif %} {% if modules.steri %}

Steri – offene Chargen

{% if batches %} {% else %}
Keine Charge wartet auf Freigabe.
{% endif %}
{% endif %} {% if modules.lager %}
{% if low_stock or expiring_lots %} {% else %}
Bestand und Verfallsdaten in Ordnung.
{% endif %}
{% endif %} {% if absent_today is defined %}

Heute abwesend

{% if absent_today %} {% else %}
Alle da.
{% endif %}
{% endif %} {% if reviews %}

QM-Dokumente zur Überprüfung

{% endif %}
{% endblock %}