rooms still available
- tkalkuhl
-
Topic Author
- Offline
Less
More
10 years 3 days ago #30
by tkalkuhl
rooms still available was created by tkalkuhl
Hi,
I have a room type "Single room" with six rooms.
I made a reservation for all six rooms from 20.09.13 to 21.09.13
In the backand I can see the reservation, but for all six rooms the room number is always the same...
It should be 3, 4, 5, 21, 23, 24 and it is only room 3, but six times...
And if I try to make another reservation from 20.09.13 to 21.09.13 all six rooms are still available...
I have a room type "Single room" with six rooms.
I made a reservation for all six rooms from 20.09.13 to 21.09.13
In the backand I can see the reservation, but for all six rooms the room number is always the same...
It should be 3, 4, 5, 21, 23, 24 and it is only room 3, but six times...
And if I try to make another reservation from 20.09.13 to 21.09.13 all six rooms are still available...
The following user(s) said Thank You: Dolphin
Please Log in or Create an account to join the conversation.
- vietvh
-
- Offline
Less
More
- Posts: 1553
10 years 3 days ago #33
by vietvh
Replied by vietvh on topic rooms still available
Hi tkalkuhl,
In this file
/libraries/solidres/reservation/reservation.php
You can comment line 76 :
It should fix that issue, this is because of in 0.5.0, a room will not be automatically occupied until the reservation's status is confirmed.
vietvh
In this file
/libraries/solidres/reservation/reservation.php
You can comment line 76 :
//$query->where('res.state = 1 or res.state = 5');
It should fix that issue, this is because of in 0.5.0, a room will not be automatically occupied until the reservation's status is confirmed.
vietvh
Please Log in or Create an account to join the conversation.
- vietvh
-
- Offline
Less
More
- Posts: 1553
10 years 5 hours ago #137
by vietvh
Replied by vietvh on topic rooms still available
Just a quick update on this issue, version 0.5.1 contains a better and more elegant fix than the above one.
Please Log in or Create an account to join the conversation.
Moderators: solidres