mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 04:08:11 +00:00
Merge pull request #1337 from Tria-plc/freight_feature/usermanagement
Freight feature/usermanagement
This commit is contained in:
@@ -59,6 +59,9 @@ export type BookingActionContext = Pick<
|
||||
| "reference"
|
||||
| "schedulingStatus"
|
||||
| "customsClearingEnabled"
|
||||
// Set when this booking shares a wagon: the pairable staff decisions then
|
||||
// apply to both halves at once rather than to this booking alone.
|
||||
| "consolidationPartnerId"
|
||||
>;
|
||||
|
||||
const ALLOCATABLE_SCHEDULING_STATUSES = new Set([
|
||||
|
||||
@@ -102,6 +102,11 @@ export const BOOKING_STATUS_STYLES: Record<string, StatusStyle> = {
|
||||
label: "Operation Changes",
|
||||
color: "bg-orange-50 text-orange-700 border-orange-200",
|
||||
},
|
||||
// Shared-wagon gate: held for a human decision before reaching Operations.
|
||||
CONSOLIDATION_APPROVAL_PENDING: {
|
||||
label: "Wagon Approval",
|
||||
color: "bg-amber-50 text-amber-700 border-amber-200",
|
||||
},
|
||||
OPERATION_PRICE_PENDING_CONFIRM: {
|
||||
label: "Price Confirm",
|
||||
color: "bg-amber-50 text-amber-700 border-amber-200",
|
||||
@@ -309,6 +314,9 @@ export const BOOKING_LIST_TABS = [
|
||||
"OPERATION_REQUEST_PENDING",
|
||||
"OPERATION_CHANGES_REQUESTED",
|
||||
"OPERATION_PRICE_PENDING_CONFIRM",
|
||||
// Held at the shared-wagon gate — still an ops-review-stage booking, it
|
||||
// just needs the pairing signed off before Operations can act on it.
|
||||
"CONSOLIDATION_APPROVAL_PENDING",
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user