fix: restore room occupancy lost to case-sensitive xml attribute lookup
This commit is contained in:
@@ -110,7 +110,7 @@ class BookingConfigurator
|
||||
$selection->price = $room->price;
|
||||
$selection->status = $room->status;
|
||||
$selection->maxQuantity = $room->available;
|
||||
$selection->capacity = $room->minPax;
|
||||
$selection->capacity = $room->minPax ?? 1;
|
||||
$selection->quantity = $roomsIdsAndQuantities[$room->id] ?? 0;
|
||||
|
||||
return $selection;
|
||||
|
||||
Reference in New Issue
Block a user