feat: refactor to cards

This commit is contained in:
Björn Fromme
2025-10-15 18:31:10 +02:00
parent ead2c092da
commit 49b7a3fe34
40 changed files with 2639 additions and 3097 deletions
+8 -1
View File
@@ -49,7 +49,7 @@ class BookingDto
/**
* Booking status code for API submission.
* Values: 'F' (Final/Frei), 'A' (Anfrage/Inquiry)
* Values: 'F' (Final/Frei), 'A' (Anfrage/Inquiry).
*/
public string $bookingStatus = 'F';
@@ -64,6 +64,13 @@ class BookingDto
*/
public ?\DateTimeImmutable $lastSessionUpdate = null;
/**
* Fingerprint of the booking state when loaded from API (edit mode only).
* This property stores the original state and is never updated after initial load.
* Used to detect unsaved changes in edit mode by comparing with current state.
*/
public ?string $originalFingerprint = null;
public function __construct(public Travel $travel, public int $hotelId)
{
}