Members
formValidation :Array.<express.RequestHandler>
Validation for the booking management form. Field rules run for create and update only.
Type:
- Array.<express.RequestHandler>
routes :express.Router
Type:
- express.Router
Methods
(async, static) create()
(async, static) delete()
(async, static) exportBookingsXml()
(async, static) getById()
(static) handleBookingManagement()
Creates, updates or deletes a booking from the validated management form.
(async, static) list()
(async, static) update()
(static) viewBookingManagement()
Renders the booking management page. Admins and trainers see all bookings; members see only their own. Loads the booking in the URL into the edit form.