Could someone guide me to (if possible) how to prevent the user from booking certain dates?
I manage to prevent clicking on the previous dates and the end date of the contract but not the dates of unavailability.

In my database I store dates (start date, end date) for employees.
How can I prevent the user from clicking dates when he wants to book a session with one of my employees?
Thank you!




max/mininputs.