wip: check eligibility based on ski pass availability

This commit is contained in:
Björn Fromme committed 2025-10-01 18:52:50 +02:00
1 parent fef4997132
commit 8a495346d6
9 files changed
+471 -184

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ class AppExtension extends AbstractExtension
{
return [
new TwigFunction('icon', [AppRuntime::class, 'renderIcon'], ['needs_environment' => true, 'is_safe' => ['html']]),
new TwigFunction('is_participant_eligible', [AppRuntime::class, 'isParticipantEligible']),
];
}
}