fix: properly assign readonly state to form fields for unavailable services
This commit is contained in:
1 parent
96619c6cec
commit
3984a623bf
14 files changed
+68
-140
No files matched your search
@@ -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