feat: refactor to cards
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user