fix: properly assign readonly state to form fields for unavailable services
This commit is contained in:
@@ -62,10 +62,8 @@ class ParticipantTransportationDiscountReplacementFieldHandler extends AbstractP
|
||||
&& DirectionMapper::SUBTYPE_BUS_API === $participant->transportationInbound->subType;
|
||||
|
||||
// Step 3: Get all outbound PKW services
|
||||
// Get ALL outbound services (not filtered by availability or smart filtering)
|
||||
$allOutboundServices = $bookingDto->travel->getTransportationServicesByDirection(
|
||||
DirectionMapper::OUTBOUND_TRAVEL,
|
||||
false // Do NOT filter by per-booking availability
|
||||
DirectionMapper::OUTBOUND_TRAVEL
|
||||
);
|
||||
|
||||
// Find discounted and regular PKW services
|
||||
|
||||
Reference in New Issue
Block a user