recette2
cherif 2023-01-25 16:17:46 +01:00
parent 86326000ea
commit da6048ce22
4 changed files with 68 additions and 44 deletions

View File

@ -917,6 +917,11 @@ function CheckOut(props) {
const change_nb_formations = event => { const change_nb_formations = event => {
if( String(payment_in_process) === "1"){
// un payement est en cours, on ne modifie pas cette valeur
return;
}
let valeur = event.target.value; let valeur = event.target.value;
if (String(props.packs).toLowerCase() === String("decouverte")) { if (String(props.packs).toLowerCase() === String("decouverte")) {

View File

@ -124,19 +124,24 @@ function OrderConfirmation_3DS(props) {
<div className="div_row_central"> <div className="div_row_central">
Votre commande a été validée avec succès.<br /> Votre commande a été prise en compte <br />
Votre pack <b> {String(packs).toLocaleUpperCase()} </b>se mettra à jour dès que vous aurez actualisé votre page.<br /> Votre pack <b> {String(packs).toLocaleUpperCase()} </b>
Merci d'avoir choisi MySy Training. Merci d'avoir choisi MySy Training.
<br /> <br />
<nav style={{ "color": "orange", "textAlign": "center" }}> /!\ : Vous devez finaliser votre abonnement pour qu'il soit pris en comptant en cliquant sur le bouton ci-dessous 'je finalise mon abonnement'.
<br />
</nav>
<br />
Si vous avez besoin aide n'hesitez pas à contacter notre équipe support par le chatbot (en bas de votre écran) ou mail.
<br />
<br /> <br />
Votre facture est disponible dans votre espace personnel. Votre facture est disponible dans votre espace personnel.
<br /> <br />
<br /> <br />
Vous pouvez dès à present commencer à utiliser nos services.<br />
Si vous avez d'aider n'hesitez pas à contacter notre équipe support par le chatbot (en bas de votre écran) ou mail.
<br />
</div>} </div>}
@ -163,7 +168,7 @@ function OrderConfirmation_3DS(props) {
<div className="div_row_central"> <div className="div_row_central">
<Button variant="contained" color="success" className="div_row22 btn_enreg_cmd" <Button variant="contained" color="success" className="div_row22 btn_enreg_cmd"
onClick={parent_retur_main_page}>Retour vers mon compte</Button> onClick={parent_retur_main_page}> IMPORTANT : Je finalise mon abonnement </Button>
</div> </div>
</div>} </div>}

View File

@ -1392,9 +1392,20 @@ const Recherche_new_v2 = () => {
if (res.data.message.length <= 0) { if (res.data.message.length <= 0) {
setbesoinaiderecherche("1"); setbesoinaiderecherche("1");
} }
if (scrollDiv.current) { /*if (scrollDiv.current) {
scrollDiv.current.scrollIntoView({ behavior: "smooth" }); scrollDiv.current.scrollIntoView({ behavior: "smooth" });
}*/
var myelement;
if (document.getElementById('rech_middlebox')) {
myelement = document.getElementById('rech_middlebox');
} }
if (myelement) {
myelement.scrollIntoView({ behavior: 'smooth' });
}
} }
else { else {

View File

@ -332,6 +332,7 @@
padding: 10px; padding: 10px;
width: 80%; width: 80%;
border-radius: 5rem; border-radius: 5rem;
font-size: medium;
} }
} }
@ -495,6 +496,7 @@
padding: 10px; padding: 10px;
width: 80%; width: 80%;
border-radius: 5rem; border-radius: 5rem;
font-size: medium;
} }
} }
@ -661,6 +663,7 @@
padding: 10px; padding: 10px;
width: 80%; width: 80%;
border-radius: 5rem; border-radius: 5rem;
font-size: medium;
} }
} }