{% extends 'base.html' %} {% block title %}Urlaub & Abwesenheit{% endblock %} {% block content %}
| {{ MONTHS[first.month - 1] }} {{ first.year }} | {% for d in days %}{{ WEEKDAYS[d.weekday()] }} {{ d.day }} | {% endfor %}
|---|---|
| {{ u.full_name }} | {% for d in days %}{% set c = cells.get((u.id, d)) %} {% set wd = d.isoweekday() in u.work_day_set and d not in free %}{% endfor %} |
| Zeitraum | Art | Tage | Status | Bemerkung | |
|---|---|---|---|---|---|
| {{ a.start|d }}{% if a.end != a.start %} – {{ a.end|d }}{% endif %}{{ ' (½)' if a.half_day }} | {{ a.kind_label }} | {{ my_days[a.id]|num }} | {{ a.status }}
{% if a.decision_note %} {{ a.decision_note }}{% endif %} |
{{ a.note or '' }} | {% if a.status == 'beantragt' or (a.status == 'genehmigt' and (a.start > today or is_hr) and (a.kind not in ('krank','kind_krank') or is_hr)) %} {% endif %} |