wip: insurance booking phases 1 and 2
This commit is contained in:
@@ -25,6 +25,9 @@ class Insurance
|
||||
#[Groups(['api:single', 'api:list'])]
|
||||
public ?string $label = null;
|
||||
|
||||
#[Groups(['api:single', 'api:list'])]
|
||||
public ?string $subType = null;
|
||||
|
||||
#[Groups(['api:single', 'api:list'])]
|
||||
public ?float $price = null;
|
||||
|
||||
|
||||
@@ -74,6 +74,7 @@ class InsuranceParser extends AbstractParser
|
||||
$insurance->id = $isPackage ? $idValue : (int) $idValue;
|
||||
$insurance->code = $node->attr('code');
|
||||
$insurance->label = $node->attr('bezeichnung');
|
||||
$insurance->subType = $node->attr('unterart');
|
||||
$insurance->price = $node->attr('preis') ?
|
||||
$this->stringToFloat($node->attr('preis')) : null;
|
||||
$insurance->familyInsurance = $this->stringToBool($node->attr('familienversicherung'));
|
||||
|
||||
Reference in New Issue
Block a user