wip: modernized edit flow, fix insurance tier calculation
This commit is contained in:
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace App\Service;
|
||||
|
||||
use App\Form\Model\BookingCreateDto;
|
||||
use App\Form\Model\BookingDto;
|
||||
|
||||
/**
|
||||
* Handles automatic room assignment for booking participants.
|
||||
@@ -26,9 +26,9 @@ class RoomAssignmentService
|
||||
* - 2x "Doppelzimmer" (capacity 2) = participants 0-1 → room A, participants 2-3 → room A
|
||||
* - 1x "3-Bett-Zimmer" (capacity 3) = participants 4-6 → room B
|
||||
*
|
||||
* @param BookingCreateDto $dto The booking DTO containing room selections and participants
|
||||
* @param BookingDto $dto The booking DTO containing room selections and participants
|
||||
*/
|
||||
public function assignParticipantsToRooms(BookingCreateDto $dto): void
|
||||
public function assignParticipantsToRooms(BookingDto $dto): void
|
||||
{
|
||||
$participantIndex = 0;
|
||||
$selectedRooms = $dto->getSelectedRooms();
|
||||
|
||||
Reference in New Issue
Block a user