Backend reservation checkout button disappears after checkout day

More
4 years 9 months ago - 4 years 9 months ago #14318 by gmonamour
Hi,
I'd like to inform you that from backend, when you open a reservation that has been cheked in, you find the check-out button.
But if you wait after the check-out day of the reservation you have not the check-out button anymore. So, you are not be able to set the check-out and the reservation still always in checked in state.
Could you fix that?

My site with Solidres www.gmonamour.it/
Last edit: 4 years 9 months ago by gmonamour.

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #14322 by solidres
Hi,

By default, you can not check out a reservation after the check out date, you can change it by editing this file:

/administrator/components/com_solidres/views/reservation/view.html.php

Regards,

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #14323 by gmonamour
Hi,
I started this topic because I remember that on the previous edition of Solidres I could check-out the reservation after the check-out day.
When you manage apartments and not hotel rooms you are not always with the PC. So, often, you set the check-out the day after.
I recommend Solidres to consider reviewing this feature again and restore the check-out button even after the check-out day.
What damage could it cause if the check-out button remains present even in the days following the check-out day?
Thanks
Best regards

My site with Solidres www.gmonamour.it/

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #14326 by solidres
Hi,

Thank you for your feedback, we will forward it to our developers.

Regards,

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago - 4 years 9 months ago #14336 by gmonamour
Hi,
I've just check the file /administrator/components/com_solidres/views/reservation/view.html.php
I think that the issue I reported is not intentionally wanted but is a bug.
In fact the code refered to the check-out button (line 170) is
if ($checkInOut == 1 && $checkout >= $today)
so the programmer wanted to make the chek-out button appear the same day of today or after.
But the variables $checkout and $today are not valued thus the check-out button does not work correctly.
I fixed the bug simply with
if ($checkInOut == 1 )
Best regards

PS: Also, I've descovered that because of the same bug (the variables $checkout and $today that are not valued) the check-in out reset button does not work.

My site with Solidres www.gmonamour.it/
Last edit: 4 years 9 months ago by gmonamour.

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #14337 by solidres
Hi,

Could you elaborate more about "$checkout and $today are not valued"?

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?