wip: modernized edit flow, fix insurance tier calculation
This commit is contained in:
1 parent
cba0f747cd
commit
67c642bc2f
31 files changed
+272
-536
No files matched your search
@@ -145,6 +145,9 @@ class TravelParser extends AbstractParser
|
||||
// Parse age constraints
|
||||
$this->parseServiceAgeConstraints($serviceNode, $service);
|
||||
|
||||
// Parse insurance calculation flag
|
||||
$service->includeInInsuranceCalculation = $this->stringToBool($serviceNode->attr('versicherungsberechnung'));
|
||||
|
||||
$additionalServices[$serviceId] = $service;
|
||||
});
|
||||
|
||||
@@ -192,6 +195,9 @@ class TravelParser extends AbstractParser
|
||||
$service->dayTime = (new DayTimeUtility())->mapTime($timeFrom);
|
||||
}
|
||||
|
||||
// Parse insurance calculation flag
|
||||
$service->includeInInsuranceCalculation = $this->stringToBool($serviceNode->attr('versicherungsberechnung'));
|
||||
|
||||
$transportationServices[$serviceId] = $service;
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user