fix: allow updating room assignments in edit mode

This commit is contained in:
Björn Fromme committed 2026-03-16 12:02:59 +01:00
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;
}
}