Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you put a rate modifiers with Dollar Value method it's not work fine because always use Percentage method.
I found in hotel_booking_calendars.inc line 352 this:
if ($row['method'] == 'value') {
$rate += $row['modifier_rate'];
}
else {
$rate += ($rate * $row['modifier_rate'] / 100);
}
I modified the if with this:
if ($row['method'] == 'V') {
And now it's work fine.
Comments
Comment #1
larowlanThanks, good pickup.
Have committed to 6.x-2.x branch
Comment #2
larowlan