feat: render additional info to teamer invoice

This commit is contained in:
Björn Fromme
2025-02-28 15:15:02 +01:00
parent 901b2c7104
commit cdd0666837
14 changed files with 233 additions and 13 deletions
+14 -1
View File
@@ -13,6 +13,7 @@ class Hotel
private ?string $phone = null;
private ?string $type = null;
private ?string $country = null;
private ?string $costUnit = null;
public function getId(): ?int
{
@@ -121,4 +122,16 @@ class Hotel
return $this;
}
}
public function getCostUnit(): ?string
{
return $this->costUnit;
}
public function setCostUnit(?string $costUnit): static
{
$this->costUnit = $costUnit;
return $this;
}
}
+2 -1
View File
@@ -260,6 +260,7 @@ class ResponseParser
->setStreet((string) $item->strasse)
->setPhone((string) $item->telefon)
->setType((string) $item->art)
->setCostUnit($item->kostenstelle)
;
$hotels[$busProId] = $hotel;
}
@@ -281,4 +282,4 @@ class ResponseParser
return $optionsResolver->resolve($options);
}
}
}