Zerra logo

ZerraLivin Documentation General

Facility & Reservation

Manage cluster facilities — like a pool or function hall — and confirm or reject resident bookings for them.

  • view
  • get
  • create
  • update
  • delete

What it’s for

A shared amenity — a pool, a function hall, a court — is a Facility here. This page covers two things: keeping the list of facilities up to date, and handling the bookings residents make for them.

Where to find it

Sidebar → GeneralFacility & Reservation, at /admin/facility. Two tabs: Facilities and Bookings.

Who can use it

  • See the menu item and open the page — needs view.
  • See either tab’s list — needs get.
  • Create, edit, delete a facility, and change a booking’s status — needs create/update/delete as appropriate.

On this screen

Facilities tab — a table of facilities with capacity, hours, and status, plus create/edit/delete.

Bookings tab — every reservation made against those facilities, each with a booking status (Need Confirm, Confirmed, Check In, Check Out, Cancelled, Rejected) and a separate payment status.

How to…

Create a facility

  1. Switch to the Facilities tab and click create.
  2. Fill in name, cluster, facility type, and capacity.
  3. Set opening and closing hours (closing must be after opening) and a booking interval in hours.
  4. Set the rent price and, optionally, a separate member rent price.
  5. Optionally mark closed days and upload gallery images.
  6. Set status: Available, Unavailable, or under Maintenance.
  7. Save.

Edit or delete a facility

  1. Open the edit or delete action on its row.
  2. For edit, change any field and save. For delete, confirm.

Handle a booking

  1. Switch to the Bookings tab.
  2. Open a booking and update its status: move it to Confirmed, Check In, Check Out, Cancelled, or Rejected as the situation requires.

Field reference

FieldNotes
Opening / closing hoursFormat HH:MM; closing must be after opening
IntervalBooking slot length, in hours
Rent price / Member rent priceTwo separate prices — member pricing is optional
StatusAvailable / Unavailable / Maintenance
Booking statusNeed Confirm → Confirmed → Check In → Check Out, or Cancelled / Rejected
Payment statusPaid / Not Paid — tracked separately from booking status

Rules & statuses

A facility marked Unavailable or under Maintenance can still have existing bookings — this status only affects whether it can be booked going forward, not what’s already on the calendar.

Booking status and payment status move independently — a booking can be Confirmed and still Not Paid, or Check Out and Paid. There’s no automatic link between them.

  • Facility Type (Settings) — the type categories a facility is assigned to.