fix: restore room occupancy lost to case-sensitive xml attribute lookup
This commit is contained in:
1 parent
24df764efb
commit
e14d29f7d4
10 files changed
+223
-16
No files matched your search
@@ -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