diff --git a/src/views/Dashboard/layouts/Main/Addresses/index.js b/src/views/Dashboard/layouts/Main/Addresses/index.js index f67933f..c0188cd 100644 --- a/src/views/Dashboard/layouts/Main/Addresses/index.js +++ b/src/views/Dashboard/layouts/Main/Addresses/index.js @@ -166,20 +166,20 @@ const Location = ({
- {`{window.t("آدرس")}` + " " + address.address} + {window.t("آدرس") + " " + address.address} - {`{window.t("نام:")}` + + {window.t("نام") + " " + address.firstName + " " + address.lastName} - {`{window.t("کد پستی:")}` + " " + address.postalCode} + {window.t("کد پستی:") + " " + address.postalCode} - {`{window.t("شماره تماس:")}` + " " + address.cellphone} + {window.t("شماره تماس:") + " " + address.cellphone}
diff --git a/src/views/ShoppingCart/index.js b/src/views/ShoppingCart/index.js index eccbaae..6301dcc 100644 --- a/src/views/ShoppingCart/index.js +++ b/src/views/ShoppingCart/index.js @@ -41,7 +41,7 @@ function ShoppingCart({ const [phase, setPhase] = useState("products"); const navigation = useNavigate(); useEffect(() => { - console.log("gl1") + console.log("gl1"); if (isLogin) getList(); getFactorInfo({ userId: user?.id }); setHeaderOptions(headerOptions); @@ -311,12 +311,12 @@ function ShoppingCart({
- جمع کل سبد خرید + {window.t("جمع کل سبد خرید")}

{separate(productsLength ? factorInfo?.payPrice : "")} - تومان + {window.t("تومان")}

@@ -325,19 +325,21 @@ function ShoppingCart({ className="w-full rounded-md flex flex-row justify-center items-center py-2.5 px-3 mt-5 mb-4" style={{ backgroundColor: "#DEFFF188" }} > - +

- هزینه ارسال کالا پس از تعیین محل آدرس مشخص می‌شود + {window.t( + "هزینه ارسال کالا پس از تعیین محل آدرس مشخص می‌شود" + )}

)} {null && phase === "deliveryForm" && (
- انتخاب شیوه پرداخت + {window.t("انتخاب شیوه پرداخت")}
@@ -127,14 +132,12 @@ const Season = ({ className={`w-4 transform transition-all ${ season[0].categoryId === activeSeason ? "rotate-180" : "" }`} - /> + />