feat: additional status

This commit is contained in:
Björn Fromme committed 2026-08-04 18:09:40 +02:00
1 parent dc86e715cb
commit 2c381ee741
20 files changed
+588 -64

No files matched your search

@@ -88,7 +88,7 @@ final readonly class AccommodationBookingApiResponse
public function __construct(AccommodationBooking $booking, ?array $priceBreakdown)
{
$this->uuid = $booking->getUuid();
$this->status = $booking->isInquiry() ? 'inquiry' : 'booking';
$this->status = $booking->getStatus()->value;
$this->dateFrom = $booking->getDateFrom();
$this->dateTo = $booking->getDateTo();
$this->nights = $booking->getNights();