occupancy rate

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
stef

occupancy rate

Post by stef »

Hello Marco,

Do you think it could be easy to display the occupancy rate monthly?
I would love to add this feature, it could be very helpful.

thank you again for that script

stef
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

Hi Stef,
what do you mean exactly? You can already display rates with grouped days clicking on the name of the rate at the top of the rates table.

Marco
stef

Post by stef »

hey marco,

thank you for replying.

I would just need to know the occupancy rate. I mean if, for instance, I have 10 rooms based on a month, I have 300 nights to sell, right?
and if I only sold 30 for this current month that means my occupancy rate is 10% !

I hope it is more clear now. :)

thank you again for your kind assistance.

Stef
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

Ok, now I understand... it shouldn't be very difficult to do. For example in the month table tabella.php, inside the 2 for loops (1 for apartments and 1 for periods, called settimane), count how many periods are occupied and calculate the occupancy rate at the end. Consider that when a reservation longer than 1 period is found the periods loop jumps that number of periods.

Marco
Post Reply