wip: modernized edit flow, fix insurance tier calculation

This commit is contained in:
Björn Fromme committed 2025-10-09 17:42:39 +02:00
1 parent cba0f747cd
commit 67c642bc2f
31 files changed
+272 -536

No files matched your search

+3 -3
View File
@@ -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();