TastyIgniter icon indicating copy to clipboard operation
TastyIgniter copied to clipboard

[Bug]: ASAP time closing hour/timeslot issue

Open StuartAlvez opened this issue 3 years ago • 1 comments

What happened?

Basically, orders coming through during closing hours. For example- Opening Hours: 5:30 PM - 11:00 PM Interval Time: 10 mins & Lead Time: 30 mins, Order Limit: 5, Pre-order: 0 days, add lead time to start time is enabled.

Everything works fine before the last available timeslot: 10:30 PM, later timeslot shows empty and ASAP automatically accepts orders as the same time as order placed time.

For example, when time is 10:37 PM, ASAP button shows 10:37 PM too. And, order time gets selected as 10:37 PM and customers are able to place order. It does not show Closed/Next day available opening hours till 11:01pm. I had same problem with TI version 3.0.7 in 2021 and got fixed in next release.

What did you expect to happen?

After 10:30 PM it should not accept any more order and it should show an error message to the customers to try again during opening hours.

Version

3.2.x

What browser are you seeing the problem on?

Chrome

Relevant log output

No response

StuartAlvez avatar May 20 '22 17:05 StuartAlvez

Can you provide an export of your locations database table, and/or share a private GitHub repo with the codebase and database export required to reproduce this issue?

ryanmitchell avatar May 24 '22 19:05 ryanmitchell