🐛 fix: do not include cancelled bookings in overview

This commit is contained in:
Marc Koch 2025-08-20 17:22:04 +02:00
parent 3b3588000f
commit 11c6d4d48e
Signed by: marc
GPG Key ID: 12406554CFB028B9
1 changed files with 5 additions and 4 deletions

View File

@ -392,6 +392,7 @@ def clear(target_calendars: list, is_test: bool=False) -> dict:
# Add the other bookings to the overview # Add the other bookings to the overview
for ob in other_bookings: for ob in other_bookings:
if not ob.is_cancelled:
ob.is_declined = False ob.is_declined = False
ob.is_overlapping = False ob.is_overlapping = False
ob.is_other_booking = True ob.is_other_booking = True