Is it possible to extend the functionality of the drupal rooms module to incooporate "house keeping" functionality. For the moment rooms are available as
- unavailable
- available
- on request
- anonymous booking
If one could extent this to
- unavailable, not checked in
- unavailable, checked in
- available, room dirty
- available, room clean
- on request # I don't need this
- anonymous booking # I don't need this
and give it a nice UI, while not showing the options after the coma, one would have basic house keeping functionality. If customer books online, it gets set to "unavailable, not checked in". Once checked in, internally it is being changed to "unavailable, checked in". If the customer checks out, it is being changed to "available, room dirty" and once the room is made, internally it is being updated to "available, room clean". For short term booking, like arrival within the hour or two, one can only book "available, room clean".
Comments
Comment #1
jwilson3I wouldn't want to mix availability state with checkin status and housekeeping state, but keep these things separate. After all, a room could be occupied and still need cleaning. I guess this depends on how tightly you control your housekeepers or how you intend to use this feature, but suffice it to say that the Availability status should be kept as simple as possible for the booking / availability engine to work correctly. Availability works on a continuum and each day in the calendar year has a different availability state based on whether a room is *reserved* or not. This is completely different from Housekeeping and checkin state which can only relate to the *current day* and *current customer*.
I would go about this in the following way:
Comment #2
ashzade commentedHere's how we did it.
It is pretty much what jwilson3 describes, which makes me happy because I wasn't sure if there was a better way.
Comment #3
pozzo-balbi commentedThanks, I will work on it this weekend and see, if it fits.