diff --git a/src/Event/EventType/Cej/EventTypeCej.php b/src/Event/EventType/Cej/EventTypeCej.php index 3d1a2cf2..57c7547a 100755 --- a/src/Event/EventType/Cej/EventTypeCej.php +++ b/src/Event/EventType/Cej/EventTypeCej.php @@ -4,6 +4,7 @@ namespace kissj\Event\EventType\Cej; +use kissj\Deal\EventDeal; use kissj\Event\ContentArbiterIst; use kissj\Event\ContentArbiterPatrolLeader; use kissj\Event\ContentArbiterPatrolParticipant; @@ -273,4 +274,22 @@ public function getSkautStampSignPath(Participant $participant): string default => '/SkSkautingSignStamp.png', }; } + + #[\Override] + public function getEventDeals(Participant $participant): array + { + $eventDeals = []; + + if ($participant instanceof Ist) { + $eventDeals[] = new EventDeal( + self::SLUG_SFH, + sprintf( + 'https://docs.google.com/forms/d/e/1FAIpQLSe3FPRiN7o9nupa-sLs0w6xf6IFFEW5kJVMJSPSExfHn0qCtw/viewform?usp=pp_url&entry.499691302=%s', + $participant->tieCode, + ), + ); + } + + return $eventDeals; + } }