• Resolved igornn

    (@igornn)


    Hi,
    1. all the Schedule time for Reservation stop working.
    after i have research little bit i see that all the time have the same class “disabled” and thats why all the Hours i have set not showing
    you can see on the next images:
    img1
    img2

    2. i have create dashboard widget. all works great until the last update.
    but now all the functions i have use gives me another parameters for example to get total Reservations, i have use this code:

    require_once( RTB_PLUGIN_DIR . '/includes/WP_List_Table.BookingsTable.class.php' );
    			$booking_table = new rtbBookingsTable();
    			$booking_table->prepare_items(); ?>
    			echo $booking_table->booking_counts['total'];

    but now i get “new” Reservations

    https://www.ads-software.com/plugins/restaurant-reservations/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi igornn,

    1. The scheduler doesn’t handle times that wrap around midnight. So it can’t handle a time like 23:45-10:30. You’ll need to set up two rules. The first should have a start time of 23:45 and no end time. The second should have an end time of 10:30 and no start time. Both will need to have all days of the week selected.

    Hopefully that works out for you.

    2. Hmm, it seems like that should work. Can you post the full code for the dashboard widget? If you need to send it by email, you can reach me here.

    Thread Starter igornn

    (@igornn)

    Hi its not “midnight” its regular Hours 10:30-23:45
    you see this 23:45-10:30 because i am using “rtl”
    before the update all work fine.

    what do you think it can be?

    i will send you the code

    Oh that’s right, my mistake. Can you send me a link to the site where you’re having trouble?

    Thread Starter igornn

    (@igornn)

    i will create new test site and will send you because i had to restore the one version before the last one.

    i will send you all.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘after last update couple things stop working’ is closed to new replies.