Owner calendar view + manual booking + owner cancel/reschedule (#20)

Adds an owner-authenticated weekly agenda (grouped by day, today highlighted)
with manual walk-in/phone booking creation, cancel, and reschedule -- all
routed through booking_api.py's create/cancel/reschedule logic (refactored
into shared helpers) so the EXCLUDE overlap constraint and confirmation
email stay on the single existing code path. Manual creation can skip the
opening-hours/min-notice/max-advance/buffer checks via an explicit override,
but never the overlap constraint itself.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-03 17:16:19 +02:00
parent 59c35ce39f
commit 528a13ca7c
8 changed files with 678 additions and 56 deletions
@@ -23,7 +23,8 @@
<h1>{{ client.business_name if client else 'Mein Konto' }}</h1>
<div class="card">
<p>Sie sind angemeldet.</p>
<p class="muted">Kalender, Buchungen und Einstellungen folgen hier.</p>
<p class="muted"><a href="{{ url_for('owner_booking.agenda') }}">Zum Kalender</a></p>
<p class="muted">Einstellungen folgen hier.</p>
</div>
<p class="muted"><a href="{{ url_for('owner_auth.logout') }}">Abmelden</a></p>
</body>