fix: stop offering unbookable services in the booking edit flow
This commit is contained in:
@@ -14,10 +14,17 @@ final readonly class BookingEditSubmissionResult
|
||||
public const string STATUS_TIMEOUT = 'timeout';
|
||||
public const string STATUS_API_CLIENT_ERROR = 'api_client_error';
|
||||
|
||||
/**
|
||||
* @param list<string> $unbookableServicesReverted Labels of services dropped because they are
|
||||
* no longer bookable, reported separately from
|
||||
* the mutability revert: the category is still
|
||||
* mutable, the service is not bookable
|
||||
*/
|
||||
public function __construct(
|
||||
public string $status,
|
||||
public ?string $message = null,
|
||||
public bool $immutableChangesReverted = false,
|
||||
public array $unbookableServicesReverted = [],
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user