I am trying to build my own room reservation smallApps. user can choose the room, date and how long they plan to reserve in one hour bases each slot as choice chips(multiple choices). i have seen one or two tutorial similar case like this before but unfortunately only single choice available. i tried to modify but stuck.
i have succeed to save the result in to a booking collection as an array. but yet still not working when i recall that data to show as available slots when the date clicked.
Above choice chips are displayed currently using 'booktime' data. from image no.2 data from booktime will be hidden.
I need to replace 'booktime' data with the data from 'jadwal' (array). so all reserved data are not going to be displayed in the first image.
i Believe i need to do some modifying this custom Function. from booktime (dateTime) image no.3 to DataSchema 'jadwal' (image no. 2), and yet still unsuccessful.
Any Information will helpful. Thank You