feat: implement booking action logic for contracts and enhance RecentContractsSection

This commit is contained in:
Marshal
2026-06-28 18:50:50 +00:00
parent a34e846d90
commit 258f1eb45a
6 changed files with 100 additions and 23 deletions

View File

@@ -354,6 +354,8 @@ export interface IYard extends BaseEntity {
export interface IBooking extends BaseEntity {
reference: string;
customerId: string;
/** The contract this booking was created under (Path A / Path B). */
contractId?: string | null;
trainId?: string | null;
status: BookingStatus;
/** ONE_TIME for normal bookings; GENERAL_CONTRACT for umbrella contracts. */