Astral04andClaude Sonnet 4.6 f30d8d1a07 Fix lunch break: float-to-gap logic + Google Calendar sync
- Lunch slot no longer pre-blocked; a slot is only unavailable if
  booking it would eliminate the last possible 30-min break window
- Added preferred lunch time per worker (closest-to-preferred slot wins)
- Lunch break only applies for shifts >= 6 hours
- Google Calendar: lunch event created/updated/deleted on every
  booking create, modify, or cancel via _syncLunchCalendarEvent()
- New table worker_lunch_gcal_events tracks lunch event IDs per worker/date
- New model methods: getBookingsForWorkerDay, getLunchGcalEventId,
  upsertLunchGcalEventId, deleteLunchGcalEventRecord, getBookingsForWorkerMonth,
  computeLunchBreak

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 21:12:08 +01:00
2025-10-04 11:38:07 +02:00
2025-10-04 11:38:07 +02:00
2025-10-04 11:38:07 +02:00
2025-10-04 11:38:07 +02:00
2025-10-04 11:38:07 +02:00
2025-10-04 11:38:07 +02:00
2025-10-04 11:38:07 +02:00
2025-10-04 11:38:07 +02:00
2025-10-04 11:38:07 +02:00
2025-10-04 11:38:07 +02:00
2025-10-04 11:35:36 +02:00
2025-10-04 11:38:07 +02:00
2025-10-04 11:38:07 +02:00
2025-10-04 11:38:07 +02:00
S
Description
No description provided
Readme
82 MiB
Languages
PHP 64%
CSS 19.1%
SCSS 6.9%
HTML 6.7%
JavaScript 3.2%
Other 0.1%