We're Moving to a New Support Platform – Starting June 1st!

We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.

You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.

While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.

We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.

Thanks for your continued support and trust – we’re excited to bring you an even better support experience!

Okay
  Public Ticket #2742074
NEGATIVE minimum advance scheduling time
Closed

Comments

  • Leonidas Touroutoglou started the conversation

    Hello,

    my client asks to let an available time slot  (that is 1h long) open until 20 minutes AFTER the service has started so a "late" customer can book it even after the service has started.

    I understand that this is not an option by default but can you provide some guidance as to how I can achieve that with custom code?

    thanx in advance!

  • [deleted] replied

    Hi, Leonidas!

    Thank you for choosing Amelia.

    That's correct: there's no such a built-in option, so it probably can be achieved with some custom work.

    I will forward your inquiry to our developers to see if it can be done with a simple code, and get back to you at the earliest possible time. 

    Best Regards. 

  • Leonidas Touroutoglou replied

    Thank you so much, I 'll be waiting.

  • [deleted] replied

    Hi, Leonidas!

    Our developers suggest you to try this change:
    src/Domain/Services/TimeSlot/TimeSlotService.php 

    IF condition should look like this:

    if ($currentDateString === $dateKey && ($currentTimeStringInSeconds - 20 * 60 > $appointmentData['seconds'] || $startTimeInSeconds - 20 * 60 > $appointmentData['seconds'])) {
                            continue;
                        }

    0LhF9vqzuex6WoThdaG4uoP39wQsEd72Miia8ECqs95BsdjmAzhKD69lyc0SG_lzVZQ2bYtiX3r3KSXD3kjnJI38UftvRVGbeE9gDyrq4497DF-ul6pGtcmYM2oufvohFpOPA6oY

    Please let us know if that worked.

    Best Regards.