wip: check eligibility based on ski pass availability

This commit is contained in:
Björn Fromme committed 2026-03-16 11:59:10 +01:00
1 parent f5913eb947
commit 16c239716b
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']),
];
}
}