At present the availability calendar shows dates on room availability by color codes.

Can I show Number of rooms available along with dates.

Thanks

Comments

larowlan’s picture

Assigned: Unassigned » larowlan
Status: Active » Closed (fixed)

Hi
This can be done at the theme layer.
Copy hotel_booking_calendar_cell.tpl.php from the module folder to your theme folder and flush your cache (theme registry).
Then you may edit the version in your theme to suit.
The header of the file contains comments regarding the available variable names, one of which is $available which details the number of rooms available, alter the markup to suit your needs and you're good to go.
You have to love theme templates!
Lee

sverma’s picture

This is fantastic,
thanks a lot
Luving it.

Slartibartfass’s picture

Title: Number of rooms available in availability calendar » Number of rooms available resets
Version: 6.x-2.x-dev » 7.x-1.0-alpha1
Assigned: larowlan » Slartibartfass
Status: Closed (fixed) » Active

Hi,

every time I want to update the Availability calender (eg. to set the room unavailable for some days), the last status of the month's availability gets lost. Thist means I have to enter the availability of the whole month again.
Is this right or am I doing wrong, and what am I doing wrong??
Thorsten

larowlan’s picture

Title: Number of rooms available resets » Number of rooms available in availability calendar
Version: 7.x-1.0-alpha1 » 6.x-2.x-dev
Assigned: Slartibartfass » larowlan
Status: Active » Fixed

Please create a new request with the new version and new issue, don't hijack an existing closed issue.

Slartibartfass’s picture

I'm sorry; it was my fault though not my intention at all. Best regards. Thorsten

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.