fix: properly assign readonly state to form fields for unavailable services

This commit is contained in:
Björn Fromme committed 2025-12-11 12:07:19 +01:00
1 parent f54f66cd32
commit c1539a47f9
14 files changed
+68 -140

No files matched your search

@@ -118,7 +118,7 @@ class ParticipantParkingFieldHandler extends AbstractParticipantFieldHandler
*/
private function findParkingService(BookingDto $bookingDto): ?Service
{
$parkingServices = $bookingDto->travel->getAdditionalServicesBySubTypes(Constants::TOKEN_PARKING, true);
$parkingServices = $bookingDto->travel->getAdditionalServicesBySubTypes(Constants::TOKEN_PARKING);
if (empty($parkingServices)) {
return null;