wip: transportation services with discount

This commit is contained in:
Björn Fromme committed 2026-03-16 11:59:10 +01:00
1 parent 84f4481ef0
commit ed7c889c4f
3 files changed
+9 -9

No files matched your search

+2
View File
@@ -178,6 +178,8 @@ class TravelParser extends AbstractParser
$service->label = $this->getStringOrNullValue($serviceNode->filterXPath('//text'));
$service->direction = $this->getStringOrNullValue($serviceNode->filterXPath('//richtung'));
$service->status = $this->getStringOrNullValue($serviceNode->filterXPath('//status'));
$service->price = $this
->stringToFloat($this->getStringOrNullValue($serviceNode->filterXPath('//preis')));
// Parse optional description from hinweis node
$description = $this->getStringOrNullValue($serviceNode->filterXPath('//hinweis'));