From 961170328f5a98052ffe5ce524245cb044c92fec Mon Sep 17 00:00:00 2001 From: cherif Date: Sat, 29 Apr 2023 19:46:24 +0200 Subject: [PATCH] 29/04/23 19h --- src/components/Abonnement.js | 16 ++++++++-------- src/components/CheckOut.js | 3 +++ src/styles/components/_abonnement.scss | 9 ++++++++- src/styles/components/_partner.scss | 6 +++--- 4 files changed, 22 insertions(+), 12 deletions(-) diff --git a/src/components/Abonnement.js b/src/components/Abonnement.js index 2fc4e0d..4d66ec9 100644 --- a/src/components/Abonnement.js +++ b/src/components/Abonnement.js @@ -1235,7 +1235,7 @@ function Abonnement(props) { ), }} - variant="standard" + /> ), }} - variant="standard" + />
@@ -1269,7 +1269,7 @@ function Abonnement(props) { ), }} - variant="standard" + /> @@ -1286,7 +1286,7 @@ function Abonnement(props) { ), }} - variant="standard" + /> @@ -1303,7 +1303,7 @@ function Abonnement(props) { ), }} - variant="standard" + />
), }} - variant="standard" + /> ), }} - variant="standard" + />
), }} - variant="standard" + />
diff --git a/src/components/CheckOut.js b/src/components/CheckOut.js index 2aa1534..f3f6ff7 100644 --- a/src/components/CheckOut.js +++ b/src/components/CheckOut.js @@ -1030,6 +1030,7 @@ function CheckOut(props) { " secure_url = ", data['secure_url']);*/ if (String(data['status']) === String("true")) { + setLoading(false); setpayement_ok("1"); setamount_captured(data['amount_captured']); setPaymentIntent("1"); @@ -1037,12 +1038,14 @@ function CheckOut(props) { } else { + setLoading(false); setpayement_ok("0"); } }).catch((error) => { + setLoading(false); //console.log('Error:', error.message); setpayement_ok("0"); diff --git a/src/styles/components/_abonnement.scss b/src/styles/components/_abonnement.scss index 2e1fe42..5e59521 100644 --- a/src/styles/components/_abonnement.scss +++ b/src/styles/components/_abonnement.scss @@ -87,7 +87,7 @@ } .texte_area_adress { - width: 100% !important; + width: 100% !important; font-size: x-small !important; font-family: "verdana", "Quicksand", "Signika", sans-serif; margin: 0rem !important; @@ -897,4 +897,11 @@ .img_payment { max-width: 30%; } + + .Mui-disabled { + color: 212121 !important; + } + .css-1o9s3wi-MuiInputBase-input-MuiOutlinedInput-input{ + color: #212121 !important; + } } \ No newline at end of file diff --git a/src/styles/components/_partner.scss b/src/styles/components/_partner.scss index 274ab4e..e63bc7a 100644 --- a/src/styles/components/_partner.scss +++ b/src/styles/components/_partner.scss @@ -925,7 +925,7 @@ .firstConnexion { -webkit-box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 50%); box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 50%); - width: 76%; + width: 75%; float: left; margin-bottom: 2px; margin-left: 15px; @@ -1418,7 +1418,7 @@ .firstConnexion { -webkit-box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 50%); box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 50%); - width: 80%; + width: 79%; float: left; margin-bottom: 2px; margin-left: 15px; @@ -1882,7 +1882,7 @@ .firstConnexion { -webkit-box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 50%); box-shadow: 1px 1px 10px 1px rgba(243, 190, 190, 0.5); - width: 83%; + width: 82%; float: left; margin-bottom: 2px; margin-left: 15px;