chore: delete support preparing status
This commit is contained in:
@@ -39,11 +39,8 @@ const TIMELINE_STEPS = [
|
||||
const STATUS_INDEX: Record<string, number> = {
|
||||
pending: 0,
|
||||
assigned: 1,
|
||||
support: 1,
|
||||
preparing: 1,
|
||||
en_route: 2,
|
||||
arrived: 3,
|
||||
ready: 3,
|
||||
livre: 4,
|
||||
delivered: 4,
|
||||
approved: 5,
|
||||
|
||||
@@ -47,7 +47,6 @@ type Nav = NativeStackNavigationProp<ClientStackParamList>;
|
||||
const STATUS_PROGRESS: Record<string, number> = {
|
||||
pending: 15,
|
||||
assigned: 25,
|
||||
support: 35,
|
||||
en_route: 60,
|
||||
arrived: 85,
|
||||
livre: 95,
|
||||
@@ -393,7 +392,6 @@ export default function OrderTrackingScreen() {
|
||||
const canCancel = [
|
||||
"pending",
|
||||
"assigned",
|
||||
"support",
|
||||
"en_route",
|
||||
].includes(order.status);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user