From 655e329c5031a24e07f97fe5b3f8a4a7db478e6c Mon Sep 17 00:00:00 2001 From: amir hosein gorji Date: Sat, 4 Jun 2022 10:18:24 +0430 Subject: [PATCH] =?UTF-8?q?update=20src/views/Callback/index.js,=20src/vie?= =?UTF-8?q?ws/Cart/index.js=20and=20src/views/Checkout/index.js=20=D9=BE?= =?UTF-8?q?=D8=B1=D8=AF=D8=A7=D8=AE=D8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Callback/index.js | 5 ++++- src/views/Cart/index.js | 14 ++++++++++++-- src/views/Checkout/index.js | 8 +++++--- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/views/Callback/index.js b/src/views/Callback/index.js index 748f57a..6fdbe64 100644 --- a/src/views/Callback/index.js +++ b/src/views/Callback/index.js @@ -182,7 +182,10 @@ class Callback extends Component { ))} - diff --git a/src/views/Cart/index.js b/src/views/Cart/index.js index 847b8b1..08763f7 100644 --- a/src/views/Cart/index.js +++ b/src/views/Cart/index.js @@ -238,7 +238,12 @@ class Cart extends Component { */} this.props.payFactor({ userId: userId })} @@ -370,7 +375,12 @@ class Cart extends Component { this.props.payFactor({ userId: userId })} diff --git a/src/views/Checkout/index.js b/src/views/Checkout/index.js index 2f28205..2404a39 100644 --- a/src/views/Checkout/index.js +++ b/src/views/Checkout/index.js @@ -508,10 +508,12 @@ class Cart extends Component { > پرداخت")} */} + onClick={() => { + if (window.lang == "ar" || window.lang == "en") return; this.props.payFactor({ provinceId, cityId, @@ -520,8 +522,8 @@ class Cart extends Component { recieverAddress, recieverPostalCode, description, - }) - } + }); + }} > {window.t("پرداخت")}{" "}