fix: use correct amount of rooms to calculate rooms pricing
This commit is contained in:
@@ -83,11 +83,10 @@ class RoomPricingCalculator
|
||||
continue;
|
||||
}
|
||||
|
||||
// Calculate participant count for this room selection
|
||||
$participantCount = $room->minPax * $roomSelection->quantity;
|
||||
|
||||
// Each participant pays the full room price
|
||||
$totalPrice = $participantCount * $room->price;
|
||||
// Pricing in create flow is based on selected room quantity from step 1.
|
||||
// Do not derive billable units from minPax, which represents capacity constraints.
|
||||
$participantCount = $roomSelection->quantity;
|
||||
$totalPrice = $roomSelection->quantity * $room->price;
|
||||
|
||||
$roomPricing[] = [
|
||||
'roomId' => $room->id,
|
||||
|
||||
Reference in New Issue
Block a user