{% set weekdays = ['Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So'] %}
{% for month in months %} {% set totalCols = month.firstDow + (month.days | length) %}
{{ month.label }}
{% for col in 0..(totalCols - 1) %} {% set dow = col % 7 %}
{{ weekdays[dow] }}
{% endfor %}
{% if month.firstDow > 0 %} {% for i in 1..month.firstDow %}
{% endfor %} {% endif %} {% for dayNum, day in month.days %}
{{ dayNum }}
{% endfor %}
{% for row in [ {label: 'Preis', key: 'hasPrice', color: 'bg-blue-500'}, {label: 'Verpfl.', key: 'hasBoard', color: 'bg-green-500'}, {label: 'Zusatzl.', key: 'hasAdditional', color: 'bg-amber-500'}, {label: 'n. v.', key: 'isBlocked', color: 'bg-red-500'}, ] %}
{{ row.label }}
{% if month.firstDow > 0 %} {% for i in 1..month.firstDow %}
{% endfor %} {% endif %} {% for dayNum, day in month.days %}
{% endfor %}
{% endfor %}
{% endfor %}
Preiskonfigurationen
Verpflegungsleistungen
optionale Zusatzleistungen
nicht verfügbar