Admin: manage amenities and bookings
Add an amenity
- Open Admin → Amenities (
/admin/amenities). - Tap Add amenity (or equivalent).
- Enter name (e.g. Clubhouse, Gym, Party hall) and optional description.
- Set requires approval:
- On — resident bookings start as pending until you approve.
- Off — bookings are confirmed immediately if the slot is free.
- Save — active amenities appear for residents on Amenities.
Edit or deactivate
- Select the amenity on the admin list.
- Update name, description, or approval setting.
- Set active to off to stop new bookings without deleting history.
Approve a pending booking
- Open the bookings list on Admin → Amenities.
- Find bookings with status pending.
- Tap Approve — status becomes confirmed if no other booking overlaps that window.
- If approval fails with "slot already booked," another booking took the window — cancel or reschedule one of them.
Cancel a booking
- Open the booking detail.
- Tap Cancel — calls
cancel_amenity_booking; status becomes cancelled and the slot frees up.
Delete a booking (admin only)
Admins can permanently delete a booking record from the admin view when needed for data cleanup. Prefer cancel so residents see the status change.
Tips
- Use requires approval for party hall and any facility where bye-laws need committee sign-off.
- Pair with a notice when you change booking rules.
- Do not use amenity booking for formal AGM scheduling — use Meetings for governance sessions.
Next: Troubleshooting.