feat: auto-booking services
addresses #869cfcptv
This commit is contained in:
1 parent
6d9265de0f
commit
c510cbf590
19 files changed
+1829
-72
No files matched your search
@@ -148,6 +148,9 @@ class TravelParser extends AbstractParser
|
||||
$service->id = $serviceId;
|
||||
$service->subType = $serviceNode->attr('unterart');
|
||||
$service->mandatory = $this->stringToBool($serviceNode->attr('pflicht'));
|
||||
$autoBookValue = $serviceNode->attr('automatisch_buchen');
|
||||
$service->autoBook = $this->stringToBool($autoBookValue)
|
||||
|| 'true' === strtolower((string) $autoBookValue);
|
||||
$service->dateFrom = $this->stringToDate($serviceNode->attr('termin'));
|
||||
$service->dateTo = $this->stringToDate($serviceNode->attr('bis'));
|
||||
$service->label = $this->getStringOrNullValue($serviceNode->filterXPath('//text'));
|
||||
|
||||
Reference in new issue
Block a user