Hello folks! ?
First of all... I'm not a PHP developer, so this project is quite challenging. Please don't be too hard on me. ?
Over the last weeks i was working on my very first module, which should provide an appointment booking function including a calendar in the frontend and create all the necessary pages.
You can manage locations, employees, services and bookings.
Currently the dependencies for the frontend are jQuery, jQuery validate, Bootstrap 5 (only design and error toast) and twig template.
This is how it currently looks like.
Frontend:
Backend:
It's actually only meant to be a fun project and i am not sure if i will ever finish it. However maybe at some point i will just make a public github repository.
As far as I know, there is no such module yet and I think it could be very helpful for some.
If i have the time and motivation... this is still on my to do list:
Frontend:
Functionality to select "any" employee and show free timeslots accordingly
Day not selectable / blocked if no timeslots available
Check if timeslot is still free on form submit (to avoid double bookings)
Backend:
Add working times in backend (currently static array in the code)
Add selection for holidays (for location or in general and for employees, currently as static array in the code)
Functionality to send email to the user if the booking is rejected or accepted
Selection of weekdays that should always be blocked