mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Merge pull request #641 from Tria-plc/freight_feature/usermanagement
enhance booking and contract management features
This commit is contained in:
@@ -497,6 +497,12 @@ export interface IBooking extends BaseEntity {
|
||||
trainScheduleStatus?: TrainScheduleStatus | string | null;
|
||||
/** ONE_TIME for normal bookings; GENERAL_CONTRACT for umbrella contracts. */
|
||||
bookingType?: BookingType;
|
||||
/**
|
||||
* Denormalized kind of the parent contract (ONE_TIME | GENERAL). Drawdown
|
||||
* bookings under a GENERAL contract keep bookingType = ONE_TIME, so this is
|
||||
* the field UIs must read to label a booking "General".
|
||||
*/
|
||||
contractKind?: `${import("./contracts").ContractKind}` | null;
|
||||
/** General contracts only: when ordering closes (null until active / for one-time). */
|
||||
expiresAt?: string | null;
|
||||
/** Null for general contracts at creation — the date is chosen per order. */
|
||||
|
||||
Reference in New Issue
Block a user