ordering-ui-react-native 0.23.33 → 0.23.35
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
|
@@ -473,7 +473,7 @@ export const OrderDetailsUI = (props: OrderDetailsParams) => {
|
|
|
473
473
|
let isBusinessMarker = false;
|
|
474
474
|
const customerStatusses = [3, 9, 19, 23, 26]
|
|
475
475
|
const businessStatusses = [7, 8, 18]
|
|
476
|
-
const arrivedCustomerStatusses = [19, 23]
|
|
476
|
+
const arrivedCustomerStatusses = [9, 19, 23]
|
|
477
477
|
if (businessStatusses?.includes(order?.status)) {
|
|
478
478
|
const markerBusiness = 'Business';
|
|
479
479
|
isBusinessMarker = true;
|
|
@@ -188,8 +188,8 @@ const UserVerificationUI = (props: any) => {
|
|
|
188
188
|
const setupUserPhoneNumber = () => {
|
|
189
189
|
if (!user || !user?.cellphone || !user?.country_phone_code) return
|
|
190
190
|
setPhoneState({
|
|
191
|
-
cellphone: user?.cellphone,
|
|
192
|
-
country_phone_code: user?.country_phone_code,
|
|
191
|
+
cellphone: user?.country_code === "PR" ? user?.cellphone.replace('787', '') : user?.cellphone,
|
|
192
|
+
country_phone_code: user?.country_code === "PR" ? '1787' : user?.country_phone_code,
|
|
193
193
|
formatted: `+${user?.country_phone_code} ${user?.cellphone}`
|
|
194
194
|
})
|
|
195
195
|
}
|