Try this
- Drop a booking on a person who already has one at that time: it goes back, and a message says it overlaps another booking.
- Drag a booking before 8:00 or after 18:00: it stays, and a message asks you to check it, because that rule only warns.
- Go to next Thursday and drag a booking into the red stripes "System maintenance" (12:00–14:00): it goes back.
Show 2 more
- Switch to Week and drag a booking onto Saturday: it goes back with the app's own message, "No bookings at the weekend."
- Find a person with 2 in "Cap.": two bookings at the same time are allowed for them.
What you see
- Refused (the booking goes back): overlapping another booking, maintenance time, weekends.
- Warning only (you decide): outside working hours, Monday to Friday 08:00–18:00, shaded gray.
- Each rule is one line in conflictRules(). Add ->warn() to a rule to warn instead of refusing. "View code" shows all four.
Show 1 more
- "Cap.": how many bookings a person can have at the same time (1 or 2).