feat: show room prices in room assignment form field
This commit is contained in:
1 parent
5b75a165ce
commit
e1bfe9b93c
22 files changed
+193
-92
No files matched your search
@@ -152,9 +152,9 @@ class BookingDataProcessor
|
||||
$room = $availableRooms[$bookingRoom->id] ?? null;
|
||||
if (null !== $room && null !== $bookingRoom->totalCount && $bookingRoom->totalCount > 0) {
|
||||
$roomSelection = new RoomSelectionDto();
|
||||
$roomSelection->roomId = $bookingRoom->id;
|
||||
$roomSelection->roomLabel = $room->label;
|
||||
$roomSelection->roomPrice = $room->price;
|
||||
$roomSelection->id = $bookingRoom->id;
|
||||
$roomSelection->label = $room->label;
|
||||
$roomSelection->price = $room->price;
|
||||
$roomSelection->quantity = $bookingRoom->totalCount; // Actual quantity from booking XML (anzahl)
|
||||
$dto->roomSelections[] = $roomSelection;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user