Problem booking rooms in admin back end
-
AuthorPosts
-
-
February 26, 2023 at 10:54 AM #887826
121940kz
ParticipantHello, I’m a software developer as well and have been using Hotel WP plugin for 5 years, so i’m pretty familiar with it. I realized when trying to book through the admin back end bookings, when putting the date as 4/15/2023 check in and check out the next day on 4/16/2023, once you click the “Add” button, it’s showing as if i selected 4/14/2023 check in and check out on 4/15/2023 so it shows as the prior day from what I selected.
I tracked down the issue to be in admin.hotel-booking.js file, when it’s creating the unix date time stamp. Lines 810 and 826. I thought it had something to do with daylight savings which is coming up on March 12th. So that is issue #1
Issue #2 is that it seems when booking a room, if i select check out on 4/16, then that room should be available to book again for a new person on 4/16, however when doing a search through the front end, the room does not show in the results. Which mean that room can’t be booked from the front end until 4/17. If the person is checking out on 4/16 it means someone should be able to book it to stay in for that same night. Is there a fix for this?
-
February 27, 2023 at 9:10 AM #887943
Julia
KeymasterThis reply has been marked as private.
-
-
AuthorPosts
You must be logged in to reply to this topic. You can click here