mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Merge pull request #1415 from Tria-plc/freight_feature/usermanagement
feat: implement MANUAL_ONLY status for bookings and update related logic
This commit is contained in:
@@ -222,6 +222,13 @@ export enum SchedulingStatus {
|
||||
Dispatched = "DISPATCHED",
|
||||
/** Paid, but no wagon of the required type was free — held in the day pool for manual placement. */
|
||||
WaitingForWagon = "WAITING_FOR_WAGON",
|
||||
/**
|
||||
* Staff removed this paid booking from a train (unchecked at dispatch, or
|
||||
* unassigned from the schedule). Auto-allocation sweeps must skip it — it
|
||||
* would silently retake the space it was pulled from. Only a manual staff
|
||||
* assignment puts it back on a train (which resets it to SCHEDULED).
|
||||
*/
|
||||
ManualOnly = "MANUAL_ONLY",
|
||||
}
|
||||
|
||||
export enum TrainScheduleStatus {
|
||||
|
||||
Reference in New Issue
Block a user