I’m building a website to connect people to businesses that collect christmas trees.
I’ve managed to setup a large bulk of this project so far, but where I’m a bit confused is the best way to setup the ‘availability’ side of things for businesses.
If you look at this screenshot below, you can see that I’ve come up with a basic interface for the ‘availability’ settings, but because I’m working with a seasonal calendar (27th December to 31st January) I’m not sure how to best set this up.
The current setup (as per the screenshot) is actually all individual groups, and not a repeating group. I had thought about creating a repeating group but wasn’t sure how to add the specific dates I need.
Additionally, I’m not sure the best practice for creating this in the database, i.e. I want to set all days as ‘available for collection’ by default, which would mean that there needs to be a new database entry for each day 27th December through to 31st January for when this user is created. What would be the best way to…
- Setup database for this.
- Input the data for each day into the database (date, available status, capacity, location, business name)
- Setup the interface (e.g. as is now, or by repeating group?)
Kind Regards,
Calum