fix: filter selectable services by participant's age
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user