fix: filter selectable services by participant's age

This commit is contained in:
Björn Fromme
2025-09-10 15:25:30 +02:00
parent 7b25fbf28b
commit 297becf7a0
5 changed files with 59 additions and 5 deletions
@@ -34,6 +34,9 @@ class ServicesParser extends AbstractParser
$service->direction = $node->attr('richtung');
}
$service->ageFrom = $this->getIntOrNullValue($node->filterXPath('//altervon'));
$service->ageTo = $this->getIntOrNullValue($node->filterXPath('//alterbis'));
$services[$service->id] = $service;
});