Hi again,
The Delivery Time Field si enabled with time slot set to 30 minutes, and Disable Current Time Slot is on. The Delivery Date si set to current date. And I have the following time slots: 10:00-10:30, 10:30-11:00, 11:00:11:30….22:00-22:30.
If the current time is 10:35, the slots 10:00-10:30 and 10:30-11:00 are now disabled.
But I want that all the slots that are less then currentTime + 60 minutes to be disabled. So for the above example all the slots that are less then 10:35+60 = 11:35 should be disabled: 10:00-10:30, 10:30-11:00, 11:00:11:30. The first available time slot should be in this case 11:30-12:00 (the time is greater then currentTime + 60 minutes.)
As I said the Disable Current Time Slot is on, and I want to disabled also the next available slot after the Disabled Current Time slot. In this case if the current time si 10:35, The Disabled Current Time slot is 10:30-11:00, and I want to disabled the next available slot after the current time slot which is 11:00:11:30.
Thank You.