ordering-ui-react-native 0.15.94 → 0.15.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -73,6 +73,8 @@ export const OrderDetailsUI = (props: OrderDetailsParams) => {
|
|
|
73
73
|
key?: string | null;
|
|
74
74
|
}>({ open: false, content: [], key: null });
|
|
75
75
|
|
|
76
|
+
const validStatusComplete = [9, 19, 23]
|
|
77
|
+
|
|
76
78
|
const logisticOrderStatus = [4, 6, 7]
|
|
77
79
|
|
|
78
80
|
const showFloatButtonsPickUp: any = {
|
|
@@ -393,7 +395,7 @@ export const OrderDetailsUI = (props: OrderDetailsParams) => {
|
|
|
393
395
|
widthButton={'45%'}
|
|
394
396
|
/>
|
|
395
397
|
)}
|
|
396
|
-
{(order?.status
|
|
398
|
+
{(validStatusComplete.includes(order?.status)) && (
|
|
397
399
|
<>
|
|
398
400
|
<FloatingButton
|
|
399
401
|
disabled={props.order?.loading}
|