On every IN/OUT punch, Delam updates Staff.isAvailable. That flag is read by three systems in real-time:
- 01
Inbound call router
Only available staff with calls.receive are rung.
- 02
Booking calendar
Unavailable staff are greyed out for new bookings automatically.
- 03
Payroll engine
Hours are calculated via analyzePunches() with provincial overtime logic.
Clocking in makes staff available for calls. Clocking out sends inbound calls to the AI front desk. No separate online/offline toggle, no split systems, no missed calls.