• Resolved almiteyG

    (@almiteyg)


    I have scheduled bookings between 530 to 7 and 8 to 930 with a upto 4 hour late booking option.

    It works fine during the day, but after my last slot, say if i try to book at 11pm for next day – it shows me all times from 3am onwards till my last slot at 930.

    I tried to hunt in the javascript and found that the pickdate.js has bugs. Does this have to do with that? And can we put some workarounds, i just could’nt figure which function to tinker with and even if i do it would override, in the next update.

    • This topic was modified 6 years, 2 months ago by almiteyG.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter almiteyG

    (@almiteyg)

    So this issue is not only after the last slot but i can also book a 930pm reservation at 730pm which shouldn’t be the case.

    Thread Starter almiteyG

    (@almiteyg)

    I put a custom mod that moves the datepicker to select the valid date for users trying to book after 6pm everyday.

    if ( rtb_pickadate.date_onload == ‘soonest’ ) {
    rtb_booking_form.datepicker.set( ‘select’, new Date() );

    var date_today = new Date();
    if (date_today.getHours() > 18) {
    rtb_booking_form.datepicker.set( ‘select’, new Date((date_today.getFullYear()), (date_today.getMonth()), (date_today.getDate() + 1)) );
    } else if

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with late booking option’ is closed to new replies.