feat: pre-flight check of agency bookings

addresses #869bqxr4q
This commit is contained in:
Björn Fromme committed 2026-07-10 14:33:09 +02:00
1 parent f9142e3080
commit b41b19d4c6
26 files changed
+1818 -304

No files matched your search

-6
View File
@@ -112,15 +112,9 @@ class ParticipantDataPrefiller
/**
* Checks if the participant's last name triggers dummy data fill.
*
* Only matches in create mode to avoid accidental triggering during edits.
*/
public function isDummyDataFillRequested(ParticipantDto $participant, string $mode): bool
{
if (BookingDto::MODE_CREATE !== $mode) {
return false;
}
return self::TOKEN === $participant->lastName;
}