{% load static %} {% load custom_tags %} {% load bootstrap5 %} Dienstplan {% bootstrap_css %}
Eine Woche zurück Aktuelle Woche

Dienstplan für KW {{ calendar_week }}

{% csrf_token %} Datum öffnen

{% if user.is_authenticated %}
{% csrf_token %}
{% else %} Login {% endif %}
Eine Woche vorwärts
{% if user.is_authenticated %}
{% for day, date in days_with_dates %} {% endfor %} {% for location, events in events_by_location.items %} {% for day, date in days_with_dates %} {% with event=events|get_item:forloop.counter0 %} {% if event == None %} {% if user.is_authenticated %} {% else %} {% endif %} {% else %} {% endif %} {% endwith %} {% endfor %} {% endfor %} {% for day in range_days %} {% if reinigungs_by_date|default_if_none:None %} {% if reinigungs_by_date|get_item:day %} {% with reinigung=reinigungs_by_date|get_item:day %} {% endwith %} {% else %} {% endif %} {% else %} {% endif %} {% endfor %} {% for day in range_days %} {% if helpers_by_date|default_if_none:None %} {% if helpers_by_date|get_item:day %} {% with helper=helpers_by_date|get_item:day %} {% endwith %} {% else %} {% endif %} {% else %} {% endif %} {% endfor %} {% for day, date in days_with_dates %} {% endfor %} {% for employee, shifts in shifts_by_employee.items %} {% for day, date in days_with_dates %} {% with shift=shifts|get_item:forloop.counter0 %} {% if shift == None %} {% else %} {% endif %} {% endwith %} {% endfor %} {% endfor %}
Veranstaltungen{{ day }} {{ date }}
{{ location.name }}---- {% if event.name %} {{ event.name }} {% else %} F {% endif %}
Reinigung {{ reinigung.auftrag }} ----
Helfer {{ helper.ben }}/{{ helper.best }} ----
Mitarbeiter{{ day }} {{ date }}
{{ employee.name }} F {% if shift.start and shift.end %} {{ shift.start|time:"H:i" }} - {{ shift.end|time:"H:i" }} {% if shift.shiftchef %} {{ shift.shiftchef }} {% endif %} {% else %} {{ shift.get_shifttype_display }} {% endif %}
{% endif %}
{% bootstrap_javascript %}