14/05/23 - 17h

recette2
cherif 2023-05-14 16:33:48 +02:00
parent e3872d5c6d
commit 615b9cad27
2 changed files with 29 additions and 26 deletions

View File

@ -462,7 +462,7 @@ function Inscription_Information(props) {
var employeur = ""
if( valemployeur_info ){
if (valemployeur_info) {
employeur = valemployeur_info;
}
@ -523,24 +523,24 @@ function Inscription_Information(props) {
/*
var pedagogie = "";
var ele = document.getElementsByName('pedagogie');
/*
var pedagogie = "";
var ele = document.getElementsByName('pedagogie');
for (let i = 0; i < ele.length; i++) {
if (ele[i].checked)
pedagogie = ele[i].value;
}
for (let i = 0; i < ele.length; i++) {
if (ele[i].checked)
pedagogie = ele[i].value;
}
var logistique = "";
ele = document.getElementsByName('log');
var logistique = "";
ele = document.getElementsByName('log');
for (let i = 0; i < ele.length; i++) {
if (ele[i].checked)
logistique = ele[i].value;
}
for (let i = 0; i < ele.length; i++) {
if (ele[i].checked)
logistique = ele[i].value;
}
*/
*/
if (!RatingValue) {
alert(" Aidez-nous à nous améliorer, donnez une appréciation globale svp. Le point N° 1. Merci d'avance")
@ -663,7 +663,7 @@ function Inscription_Information(props) {
</div>}
<div className="select-container">
<div className="titre1_aide_finance"> Je m'inscris</div>
<div className="titre1_aide_finance"> Je m'inscris </div>
<div style={{ "float": "left", "width": "40%", "textAlign": "left" }}>
Choisir une session : &nbsp;
</div>
@ -680,8 +680,11 @@ function Inscription_Information(props) {
<option value={JSON.parse(formation).formation_session_id}>
{(JSON.parse(formation).session_ondemande) === "1" && " A la Demande - "}
{( !JSON.parse(formation).session_ondemande || JSON.parse(formation).session_ondemande === "0" ) &&
(JSON.parse(formation).date_debut).substring(0, 10)+ " au "+ (JSON.parse(formation).date_fin).substring(0, 10)}
{(JSON.parse(formation).date_debut).substring(0, 10)} au {(JSON.parse(formation).date_fin).substring(0, 10)} -
{/*(JSON.parse(formation).date_debut).substring(0, 10)} au {(JSON.parse(formation).date_fin).substring(0, 10)*/} -
{(JSON.parse(formation).distantiel) === "1" && " A Distance - "}
{(JSON.parse(formation).presentiel) === "1" && (JSON.parse(formation).adresse) && " En Présentiel - " + (JSON.parse(formation).adresse)}
{(JSON.parse(formation).presentiel) === "1" && (!JSON.parse(formation).adresse) && " En Présentiel - "}