feat: unique email addresses of participants unless child, cleanup
addresses #869axbn21
This commit is contained in:
1 parent
f50aa55e8b
commit
7aea149b6c
57 files changed
+1036
-153
No files matched your search
@@ -26,7 +26,7 @@ use App\Service\ParticipantEligibilityService;
|
||||
class BookingEligibilityCondition implements FieldConditionInterface
|
||||
{
|
||||
public function __construct(
|
||||
private readonly ParticipantEligibilityService $participantEligibilityService
|
||||
private readonly ParticipantEligibilityService $participantEligibilityService,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ class BookingEligibilityCondition implements FieldConditionInterface
|
||||
* Returns true when the participant is INELIGIBLE (should hide service fields).
|
||||
* Returns false when the participant is eligible (show normal form fields).
|
||||
*
|
||||
* @param BookingDto $bookingDto The current booking data
|
||||
* @param BookingDto $bookingDto The current booking data
|
||||
* @param int $participantIndex The index of the participant being evaluated
|
||||
* @param array<string, mixed> $formData Current form data for condition evaluation
|
||||
*
|
||||
@@ -71,4 +71,4 @@ class BookingEligibilityCondition implements FieldConditionInterface
|
||||
{
|
||||
return 'Participant has no available skipasses for their age';
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user