updates on the astryx desing
This commit is contained in:
@@ -67,6 +67,11 @@ export const STATUS_ALIASES = {
|
||||
miler_assigned: 'accepted',
|
||||
pickup_scheduled: 'accepted',
|
||||
converted_to_consignment: 'accepted',
|
||||
// `Out_for_Delivery` is a confirmed live booking status (named in
|
||||
// express-console-api.md's CityGate note, and mapped to 'active' by
|
||||
// api.js's BOOKING_STATUS_TO_DELIVERY_STATUS). Without this entry it fell
|
||||
// through to the neutral "unknown" badge showing the raw enum string.
|
||||
out_for_delivery: 'active',
|
||||
in_transit: 'active',
|
||||
intransit: 'active',
|
||||
completed: 'delivered',
|
||||
|
||||
Reference in New Issue
Block a user