How amenity booking works in Plinth
Admins define amenities and booking guardrails at Admin → Amenities; residents reserve slots at Amenities. The database enforces one booking per time window plus booking notice/advance limits.
Admin: create an amenity
- Open Admin → Amenities (
/admin/amenities). - Add an amenity — e.g. Clubhouse, Gym, or Party hall.
- Optionally add a description.
- Set booking guardrails:
- Minimum notice before residents can book.
- Maximum days in advance.
- Maximum booking duration.
- Resident cancellation cutoff.
- Maximum guest count.
- 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.
- Booking is rejected if it violates notice/advance/duration/guest limits.
- If someone else already holds that window, booking fails — the slot is not silently overwritten.
Admin: review pending bookings
- On Admin → Amenities, open pending bookings.
- Tap Approve — status becomes confirmed (blocked if another booking overlaps).
- Use Reject with a reason when a request does not meet society rules.
- Every approval or rejection is audit-logged.
Cancel a booking
Residents can cancel their own bookings before the amenity cancellation cutoff. Admins can cancel any pending/confirmed booking. Status becomes cancelled and the slot reopens.
Post-usage closure
Admins can close confirmed bookings as completed or no_show so monthly usage reports and dispute handling stay accurate.
Admin guide · Resident guide · FAQ.