We need the Room Rate to be based on total guests and ideally the sum of Adults and Children. Is this possible?

CommentFileSizeAuthor
#4 uchotel_644396.patch9.87 KBwillvincent

Comments

willvincent’s picture

I'm not sure I understand what you're asking.

Rooms have a base rate, and that base rate can be increased by a rate modifier applied to specific room types. Price can then also be adjusted by number of occupants.

So, if you need a rate that is based solely on number of occupants, you could set the rate to 0, and set the amount per person to an occupancy modifier with a threshold of 0. Though it would probably make more sense to set the base rate to the price for a single occupant, then create occupancy modifiers for numbers above 1.

Occupancy modifiers are defined separately for adults and children, and any existing modifiers can be assigned to any room type.

dasii’s picture

Thanks for your reply, however our problem is a little more subtle. The base rate applies up to and including four occupants (regardless if they are adults or children) and THEN a per-person surcharge applies. As an example, 3 adults and 3 children would be 1 x baserate + 2 x additional_occupant_charge.

willvincent’s picture

Assigned: Unassigned » willvincent

Ahh.. I see what the issue is now.

You want the ability to set up an occupancy modifier that is based solely on number of occupants, not number of adults or number of children.

This does seem like an important feature, and a fairly easy one to implement. I'll add it to the list for the next release.

willvincent’s picture

Status: Active » Fixed
StatusFileSize
new9.87 KB

The attached patch will add this functionality.

I've also commit the change to cvs.

So if you update from cvs you'll have this, or if the date of the latest dev snapshot is Dec. 1 or later you will also have this change. (It's not Dec.1 here yet, but the script that builds the dev snapshots has already run for today, so it won't run again until tomorrow sometime)

willvincent’s picture

Status: Fixed » Closed (fixed)