I want to let the user to schedule an order for three days for example, the user will say he wants coffee on Monday, Wednesday and Friday
so, I must create 3 orders.
I loop through the list of dates, but it only makes one someday two orders even if the list contains 3 or 4 orders.
in back-end workflow:
so, the pickup time is the list that i will save the dates of the orders that I want to make.
then i will create an order and then i put a condition says the pickup time count must be bigger than iteration number. the iteration number is increasing by one every time.
here is the workflow in frontend.
so here we have the list of dates, and we have the iteration starts from 1.
I wonder why it only works for one time or 2 times and can’t loop more.
i kept counting to check if my list of dates does not save values but I checked, and it saves 4 or more values, but the loop only works once or two times.