From 9fe495a36352afb8d715d3282d421855ab1f7f95 Mon Sep 17 00:00:00 2001 From: mivanchenko Date: Sat, 12 Sep 2026 02:33:18 +0200 Subject: [PATCH] Owner agenda: hide cancelled bookings by default, with a toggle Cancelled bookings previously stayed visible (struck-through) in the week view permanently, cluttering it over time. Adds a "Stornierte anzeigen" checkbox next to the Filiale toggles -- unchecked by default so cancelled rows are hidden, checkable to bring them back for history/audit purposes. Client-side filter, remembered via localStorage like the Filiale toggle. Co-Authored-By: Claude Sonnet 5 --- backoffice/app/templates/owner/agenda.html | 33 ++++++++++++++++------ 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/backoffice/app/templates/owner/agenda.html b/backoffice/app/templates/owner/agenda.html index b2acb15..21acc64 100644 --- a/backoffice/app/templates/owner/agenda.html +++ b/backoffice/app/templates/owner/agenda.html @@ -55,14 +55,15 @@

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

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

Filialen:

{% for r in resources %} {% endfor %} + {% endif %} +
- {% endif %} {% if error == "missing_fields" %}
Bitte alle Felder ausfüllen.
@@ -122,7 +123,7 @@ {% endfor %} -

Keine Buchungen für die ausgewählten Filialen.

+

Keine Buchungen für die aktuelle Filter-Auswahl.

{% endif %} {% endfor %} @@ -168,25 +169,37 @@

Zurück