This commit is contained in:
Marshal
2026-07-11 07:34:24 +00:00
parent eb3fc40f42
commit 6695c5448e

View File

@@ -70,10 +70,15 @@ export enum CargoUnitOfMeasure {
export enum BookingStatus {
Draft = "DRAFT",
Submitted = "SUBMITTED",
/** Backoffice re-priced an approved request — customer must reconfirm. */
PriceChangedPendingConfirm = "PRICE_CHANGED_PENDING_CONFIRM",
ChangesRequested = "CHANGES_REQUESTED",
PendingApproval = "PENDING_APPROVAL",
ApprovedPendingSignature = "APPROVED_PENDING_SIGNATURE",
Approved = "APPROVED",
ReadyForAssignment = "READY_FOR_ASSIGNMENT",
WagonAssigned = "WAGON_ASSIGNED",
Invoiced = "INVOICED",
ContractReady = "CONTRACT_READY",
SignedCustomer = "SIGNED_CUSTOMER",
FullyExecuted = "FULLY_EXECUTED",
@@ -95,7 +100,18 @@ export enum BookingStatus {
Cancelled = "CANCELLED",
PendingConsolidation = "PENDING_CONSOLIDATION",
Consolidated = "CONSOLIDATED",
// Post counter-sign document-clearance gate (GL workflow).
AwaitingDocuments = "AWAITING_DOCUMENTS",
DocumentsUnderReview = "DOCUMENTS_UNDER_REVIEW",
ClearanceReady = "CLEARANCE_READY",
/** Road (truck) drawdown: waits for truck dispatch after Marketing accepts. */
RoadDispatchPending = "ROAD_DISPATCH_PENDING",
TruckAssigned = "TRUCK_ASSIGNED",
OperationRequested = "OPERATION_REQUESTED",
/** Operations review gate: customer submitted a schedule day for capacity/doc/route review. */
OperationRequestPending = "OPERATION_REQUEST_PENDING",
OperationChangesRequested = "OPERATION_CHANGES_REQUESTED",
OperationPricePendingConfirm = "OPERATION_PRICE_PENDING_CONFIRM",
/** General contract: paid umbrella contract that is accepting drawdown orders. */
ContractActive = "CONTRACT_ACTIVE",
/** General contract: closed because its quantity was exhausted (or period elapsed). */