How amenity booking works in Plinth
Admins define amenities and booking rules at Admin → Amenities; residents reserve slots at Amenities. The database enforces one booking per time window — no honour system.
Admin: create an amenity
- Open Admin → Amenities (
/admin/amenities). - Add an amenity — e.g. Clubhouse, Gym, or Party hall.
- Optionally add a description.
- Toggle requires approval if the committee must sign off before the slot is firm (party halls, large gatherings).
- Leave approval off for self-serve facilities like the gym — bookings confirm immediately.
Resident: book a slot
- Open Amenities (
/amenities). - Pick an amenity and choose start and end time.
- Optionally note guest count and link the booking to your flat.
- Submit — Plinth calls
book_amenity:- Confirmed if approval is not required.
- Pending if the amenity needs admin approval.
- If someone else already holds that window, booking fails — the slot is not silently overwritten.
Admin: approve pending bookings
- On Admin → Amenities, open pending bookings.
- Tap Approve — status becomes confirmed (blocked again if another confirmed booking now overlaps).
- Every approval is audit-logged.
Cancel a booking
Residents who made the booking, and society admins, can cancel via cancel_amenity_booking.
Status becomes cancelled and the time slot frees up.
Admin guide · Resident guide · FAQ.