fixes
This commit is contained in:
@@ -376,5 +376,9 @@
|
|||||||
"save": "حفظ",
|
"save": "حفظ",
|
||||||
"location": "العنوان",
|
"location": "العنوان",
|
||||||
"pickupTime": "توقيت الاستلام"
|
"pickupTime": "توقيت الاستلام"
|
||||||
|
},
|
||||||
|
"validation": {
|
||||||
|
"phoneRequired": "رقم الهاتف مطلوب",
|
||||||
|
"invalidPhone": "رقم الهاتف غير صالح"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -388,5 +388,9 @@
|
|||||||
"save": "save",
|
"save": "save",
|
||||||
"location": "Location",
|
"location": "Location",
|
||||||
"pickupTime": "Pickup time"
|
"pickupTime": "Pickup time"
|
||||||
|
},
|
||||||
|
"validation": {
|
||||||
|
"phoneRequired": "Phone number is required",
|
||||||
|
"invalidPhone": "Invalid phone number"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,8 +78,8 @@ export function MapBottomSheet({
|
|||||||
title={t("cart.selectLocation")}
|
title={t("cart.selectLocation")}
|
||||||
showCloseButton={true}
|
showCloseButton={true}
|
||||||
initialSnap={1}
|
initialSnap={1}
|
||||||
height={"950px"}
|
height={"755px"}
|
||||||
snapPoints={["950px"]}
|
snapPoints={["755px"]}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import { useAppSelector } from "redux/hooks";
|
|||||||
import { colors, ProBlack2, ProGray1 } from "ThemeConstants";
|
import { colors, ProBlack2, ProGray1 } from "ThemeConstants";
|
||||||
import { AddressSummary } from "../checkout/components/AddressSummary";
|
import { AddressSummary } from "../checkout/components/AddressSummary";
|
||||||
import styles from "./address.module.css";
|
import styles from "./address.module.css";
|
||||||
|
import ProPhoneInput from "components/ProPhoneInput";
|
||||||
|
|
||||||
export default function AddressPage() {
|
export default function AddressPage() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
@@ -120,19 +121,7 @@ export default function AddressPage() {
|
|||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
<Form.Item
|
<ProPhoneInput label={t("address.mobileNumber")} propName="phone" />
|
||||||
label={t("address.mobileNumber")}
|
|
||||||
name="phone"
|
|
||||||
rules={[{ required: true, message: "" }]}
|
|
||||||
>
|
|
||||||
<Input
|
|
||||||
placeholder={t("address.mobileNumber")}
|
|
||||||
style={{
|
|
||||||
fontSize: 14,
|
|
||||||
}}
|
|
||||||
autoFocus={false}
|
|
||||||
/>
|
|
||||||
</Form.Item>
|
|
||||||
|
|
||||||
<Form.Item
|
<Form.Item
|
||||||
label={t("address.addressLabel")}
|
label={t("address.addressLabel")}
|
||||||
|
|||||||
@@ -241,8 +241,7 @@ export default function CartMobileTabletLayout({
|
|||||||
orderType === OrderType.ScheduledOrder) && <CarPlateCard />}
|
orderType === OrderType.ScheduledOrder) && <CarPlateCard />}
|
||||||
|
|
||||||
{/* Estimate Time */}
|
{/* Estimate Time */}
|
||||||
{(orderType === OrderType.Delivery ||
|
{(orderType === OrderType.Pickup ||
|
||||||
orderType === OrderType.Pickup ||
|
|
||||||
orderType === OrderType.ScheduledOrder) && <TimeEstimateCard />}
|
orderType === OrderType.ScheduledOrder) && <TimeEstimateCard />}
|
||||||
|
|
||||||
{/* Collection Method */}
|
{/* Collection Method */}
|
||||||
|
|||||||
Reference in New Issue
Block a user