Hi all, I am currently trying to create a time slot booking system, similar to a restaurant booking system. I am using the DateTime Picker from the app store. https://appstore.home.mendix.com/link/app/94760/ I have got the part working where it greys out days that have been fully booked. I did this by setting up a counter which increases with each successful booking for that day. However, when I tried a similar approach for the slots itself, 15 minute slots, I found that it blocks out any slot exceeding the threshold for every day, not just the selected day. For example, if I fully book the slot 13:15 on the 8th, it also blocks it out on any other day, i.e. the 15th. In the microflow which retrieves a list of times to grey out, I managed to have it look only at the date which has been selected in the date part of the picker, however if I change the date it does not refresh the list and keeps blocking out the times selected by the first selected date. I just want it to block out only those slots that have been fully booked for that day and not those from other days. Does anybody know how to achieve this or if it is even possible with this widget? If anything is not clear enough please let me know and I will try to explain better.
↧