BlogOperations

How Amenity Booking Works in Plinth

Updated 2026-06-07

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

  1. Open Admin → Amenities (/admin/amenities).
  2. Add an amenity — e.g. Clubhouse, Gym, or Party hall.
  3. Optionally add a description.
  4. Toggle requires approval if the committee must sign off before the slot is firm (party halls, large gatherings).
  5. Leave approval off for self-serve facilities like the gym — bookings confirm immediately.

Resident: book a slot

  1. Open Amenities (/amenities).
  2. Pick an amenity and choose start and end time.
  3. Optionally note guest count and link the booking to your flat.
  4. Submit — Plinth calls book_amenity:
    • Confirmed if approval is not required.
    • Pending if the amenity needs admin approval.
  5. If someone else already holds that window, booking fails — the slot is not silently overwritten.

Admin: approve pending bookings

  1. On Admin → Amenities, open pending bookings.
  2. Tap Approve — status becomes confirmed (blocked again if another confirmed booking now overlaps).
  3. 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.