fix: allow updating room assignments in edit mode
This commit is contained in:
1 parent
380b1ed329
commit
f46cc59041
11 files changed
+191
-21
No files matched your search
@@ -162,6 +162,8 @@ class BookingDataProcessor
|
||||
$roomSelection->label = $room->label;
|
||||
$roomSelection->price = $room->price;
|
||||
$roomSelection->quantity = $bookingRoom->totalCount; // Actual quantity from booking XML (anzahl)
|
||||
$roomSelection->capacity = $room->minPax ?? 1;
|
||||
$roomSelection->maxQuantity = $bookingRoom->totalCount + ($room->available ?? 0);
|
||||
$dto->roomSelections[] = $roomSelection;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user