diff --git a/backoffice/app/templates/owner/agenda.html b/backoffice/app/templates/owner/agenda.html index 01cdbac..b2acb15 100644 --- a/backoffice/app/templates/owner/agenda.html +++ b/backoffice/app/templates/owner/agenda.html @@ -40,11 +40,30 @@ .new-booking { border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-top: 24px; } .new-booking .field { display: inline-block; margin: 0 8px 8px 0; } label { display: block; font-size: .75rem; color: var(--muted); margin-bottom: 3px; } + .filiale-filter { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; + margin: 10px 0 18px; padding: 10px 14px; background: #f6faf9; border: 1px solid var(--line); + border-radius: 9px; } + .filiale-filter .flabel { font-size: .78rem; color: var(--muted); margin: 0; } + .filiale-filter label { display: flex; align-items: center; gap: 6px; margin: 0; + font-size: .85rem; color: var(--ink); cursor: pointer; } + .filiale-filter input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--brand); + cursor: pointer; } + tr.res-hidden { display: none; } + .day-no-match { color: var(--muted); font-size: .85rem; margin: 0; display: none; }

{{ client.business_name if client else 'Kalender' }}

+ {% if resources|length > 1 %} +
+

Filialen:

+ {% for r in resources %} + + {% endfor %} +
+ {% endif %} + {% if error == "missing_fields" %}
Bitte alle Felder ausfüllen.
{% elif error == "not_found" %} @@ -78,7 +97,7 @@ ZeitKundeLeistungRessourceStatus {% for b in bookings %} - + {{ b.start_local.strftime('%H:%M') }} {{ b.customer_name }} {{ b.service }} @@ -103,6 +122,7 @@ {% endfor %} +

Keine Buchungen für die ausgewählten Filialen.

{% endif %} {% endfor %} @@ -146,5 +166,44 @@

Zurück

+ +