feat(bookings): allow editing and soft-deleting bookings

Add edit modal to update guest details, ticket selection, and quantity
Implement soft delete functionality to archive bookings
This commit is contained in:
2026-05-08 15:57:32 +08:00
parent 1318e766d5
commit e05c238495
7 changed files with 754 additions and 14 deletions

View File

@@ -158,6 +158,14 @@ export interface TransferBookingPicResponse {
booking: PublicBooking
}
export interface UpdateBookingDetailsResponse {
booking: PublicBooking
}
export interface DeleteBookingResponse {
booking: PublicBooking
}
export function isBookingStatus(value: string | null | undefined): value is BookingStatus {
return value === 'pending' || value === 'confirmed'
}