initial commit
This commit is contained in:
@@ -22,14 +22,11 @@
|
||||
// ============================================================================
|
||||
|
||||
export const ORDER_STATUS_GROUPS = {
|
||||
pending: ['pending_pickup'],
|
||||
assigned: ['converted_to_consignment', 'miler_assigned', 'pickup_scheduled'],
|
||||
// The Orders page has no tab for this one — a booking that is out for
|
||||
// delivery has left the operator's queue. It stays in the map so a status
|
||||
// breakdown accounts for every row rather than silently dropping some.
|
||||
active: ['out_for_delivery'],
|
||||
delivered: ['delivered'],
|
||||
cancelled: ['cancelled']
|
||||
pending: ['pending_pickup', 'pending', 'created', 'new', 'booked', 'order_placed', 'unassigned', ''],
|
||||
assigned: ['converted_to_consignment', 'collected_by_miler', 'miler_assigned', 'pickup_scheduled', 'arrived', 'picked', 'assigned', 'rider_assigned'],
|
||||
active: ['out_for_delivery', 'active', 'in_transit', 'picked_up', 'in_progress'],
|
||||
delivered: ['delivered', 'completed', 'success'],
|
||||
cancelled: ['cancelled', 'rejected', 'failed']
|
||||
};
|
||||
|
||||
export const ORDER_STATUS_LABELS = {
|
||||
|
||||
Reference in New Issue
Block a user