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
occupancy rate
Moderator: marco
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
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
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
Marco