Add visual worker calendar and floating lunch break system

- Monthly calendar grid per worker with colour-coded day status
- Override types: vacation, sick, custom hours, other, day-off
- Date-range override support via modal
- Floating 30-min lunch break: finds slot closest to preferred time
  within configurable window, adapts to existing bookings
- Lunch break only applies for shifts >= 6 hours
- Lunch slot shown in admin calendar; blocked in booking availability
- DB migrations: absence_type/note on worker_schedule_overrides,
  lunch_window_start/end/preferred_time on workers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 13:34:58 +01:00
co-authored by Claude Sonnet 4.6
parent 993e0cb8b1
commit b8f4f67b23
7 changed files with 771 additions and 47 deletions
@@ -0,0 +1,5 @@
<?php
include(getcwd().'/application/views/includes/skeleton-top.php');
include(getcwd().'/application/views/admin/includes/worker-calendar-form.php');
include(getcwd().'/application/views/includes/skeleton-bottom.php');
?>