hhh
parent
931c71ee6d
commit
1bc07bce26
|
@ -3114,7 +3114,7 @@ const DistplayPartnerTraningsPage = (props) => {
|
|||
disablePortal
|
||||
name="filtre2"
|
||||
id="filtre2"
|
||||
sx={{ float: "right" }}
|
||||
// sx={{ float: "right" }}
|
||||
className="disabled_style"
|
||||
value={New_Option_Filter.filter((data) => (data).value === String(p_filtre2))[0].label}
|
||||
options={New_Option_Filter}
|
||||
|
@ -3222,7 +3222,7 @@ const DistplayPartnerTraningsPage = (props) => {
|
|||
disablePortal
|
||||
name="filtre3"
|
||||
id="filtre3"
|
||||
sx={{ float: "right" }}
|
||||
// sx={{ float: "right" }}
|
||||
className="disabled_style"
|
||||
value={New_Option_Filter.filter((data) => (data).value === String(p_filtre3))[0].label}
|
||||
options={New_Option_Filter}
|
||||
|
|
|
@ -1257,6 +1257,7 @@ const Display_Partner_Catalog_DetailClass_new_v2 = (props) => {
|
|||
|
||||
var form = new FormData();
|
||||
form.append("subdomain", "colasrail");
|
||||
// form.append("subdomain", "nousformons");
|
||||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_Partner_Data_From_Subdomain/";
|
||||
|
||||
|
@ -1880,7 +1881,7 @@ const Display_Partner_Catalog_DetailClass_new_v2 = (props) => {
|
|||
|
||||
{GetCurrentClass_result && GetCurrentClass_result.slice(0, 5).map((formation) => (
|
||||
<li style={{ marginBottom: "1rem" }}>
|
||||
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de formation à la demande</nav>}
|
||||
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de <b>formation à la demande </b> ({(JSON.parse(formation).code_session).substring(0, 15)})</nav>}
|
||||
|
||||
{(!(JSON.parse(formation).session_ondemande) || (JSON.parse(formation).session_ondemande) === "0") && <nav>
|
||||
{(JSON.parse(formation).mode_animation) === "2" &&
|
||||
|
@ -2338,8 +2339,7 @@ const Display_Partner_Catalog_DetailClass_new_v2 = (props) => {
|
|||
|
||||
<li style={{ "height": "2.8rem" }}>
|
||||
|
||||
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de formation à la demande</nav>}
|
||||
|
||||
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de <b>formation à la demande </b> ({(JSON.parse(formation).code_session).substring(0, 15)})</nav>}
|
||||
{(!(JSON.parse(formation).session_ondemande) || (JSON.parse(formation).session_ondemande) === "0") && <nav>
|
||||
{(JSON.parse(formation).mode_animation) === "2" &&
|
||||
(JSON.parse(formation).date_debut).substring(0, 10) !== (JSON.parse(formation).date_fin).substring(0, 10) &&
|
||||
|
|
|
@ -183,7 +183,7 @@ function Inscription_Information(props) {
|
|||
var modefinancement = leads_modefinance;
|
||||
if (String(modefinancement).trim().length <= 0) {
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message("Vous devez choisir une mode de financemen");
|
||||
setalert_message("Vous devez choisir une mode de financement");
|
||||
setalert_type("error")
|
||||
return;
|
||||
}
|
||||
|
@ -397,9 +397,9 @@ function Inscription_Information(props) {
|
|||
var text_label = "";
|
||||
|
||||
if (String(local_session_ondemande) === "1") {
|
||||
text_label = "A la demande ("+String(local_code_session).substring(0, 15)+")";
|
||||
text_label = "A la demande (" + String(local_code_session).substring(0, 15) + ")";
|
||||
}
|
||||
else {
|
||||
else {
|
||||
if (local_date_debut == local_date_fin) {
|
||||
text_label = "Le " + local_date_debut
|
||||
} else {
|
||||
|
@ -608,20 +608,27 @@ function Inscription_Information(props) {
|
|||
const formData = new FormData();
|
||||
const url = process.env.REACT_APP_API_URL + "myclass/api/RenseignementClass/";
|
||||
|
||||
|
||||
if (is_company === "0") {
|
||||
|
||||
var nom = valnom_info;
|
||||
//console.log(" nom = ", nom, );
|
||||
if (String(nom).trim().length <= 0) {
|
||||
console.log(" nom = ", nom,);
|
||||
if (String(nom).trim().length <= 2) {
|
||||
document.getElementsByName("nom_info")[0].style.borderColor = "red";
|
||||
alert(" Le nom d'utilisateur est obligatoire 1 ");
|
||||
// alert(" Le nom d'utilisateur est obligatoire 1 ");
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(" Le nom est obligatoire ");
|
||||
setalert_type("error");
|
||||
return;
|
||||
}
|
||||
|
||||
var prenom = valprenom_info;
|
||||
if (String(prenom).trim().length <= 0) {
|
||||
if (String(prenom).trim().length <= 2) {
|
||||
document.getElementsByName("telephone_info")[0].style.borderColor = "red";
|
||||
alert(" Le prenom d'utilisateur est obligatoire ");
|
||||
// alert(" Le prenom d'utilisateur est obligatoire ");
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(" Le prenom est obligatoire ");
|
||||
setalert_type("error");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -629,19 +636,81 @@ function Inscription_Information(props) {
|
|||
var telephone = valtelephone_info;
|
||||
if (String(telephone).trim().length < 10) {
|
||||
document.getElementsByName("telephone_info")[0].style.borderColor = "red";
|
||||
alert(" Le numero de telephone doit comporter 10 chiffres ");
|
||||
// alert(" Le numero de telephone doit comporter 10 chiffres ");
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(" Le numero de telephone doit comporter 10 chiffres ");
|
||||
setalert_type("error");
|
||||
return;
|
||||
}
|
||||
|
||||
var email = valemail_info;
|
||||
var re2 = /\S+@\S+\.\S+/;
|
||||
if (re2.test(email) === false) {
|
||||
alert("L'email est incorrect ");
|
||||
// alert("L'email est incorrect ");
|
||||
document.getElementsByName("email_info")[0].style.borderColor = "red";
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message("L'adresse email est incorrect ");
|
||||
setalert_type("error");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
var employeur = ""
|
||||
if (valemployeur_info) {
|
||||
employeur = valemployeur_info;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (is_company === "1") {
|
||||
|
||||
var nom = raison_sociale;
|
||||
if (String(raison_sociale).trim().length <= 2) {
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(" La raison sociale est obligatoire ");
|
||||
setalert_type("error");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
var telephone = telephone_requester;
|
||||
if (String(telephone_requester).trim().length < 10) {
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(" Le numero de telephone doit comporter 10 chiffres ");
|
||||
setalert_type("error");
|
||||
return;
|
||||
}
|
||||
|
||||
var email = email_requester;
|
||||
var re2 = /\S+@\S+\.\S+/;
|
||||
if (re2.test(email_requester) === false) {
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message("L'adresse email est incorrect ");
|
||||
setalert_type("error");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (String(nom_requester).trim().length <= 2) {
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(" Le nom du demandeur est invalide ");
|
||||
setalert_type("error");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
var prenom = String(prenom_requester).trim();
|
||||
if (String(prenom_requester).trim().length <= 2) {
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(" Le prenom du demandeur est invalide ");
|
||||
setalert_type("error");
|
||||
return;
|
||||
}
|
||||
|
||||
var employeur = ""
|
||||
if (valemployeur_info) {
|
||||
employeur = valemployeur_info;
|
||||
|
@ -654,6 +723,9 @@ function Inscription_Information(props) {
|
|||
message = editorRef_description.current.getContent();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
formData.append('nom', nom);
|
||||
formData.append('employeur', employeur);
|
||||
formData.append('prenom', prenom);
|
||||
|
@ -674,7 +746,9 @@ function Inscription_Information(props) {
|
|||
|
||||
formData.append('is_company', is_company);
|
||||
|
||||
console.log(" ### formData = ", formData);
|
||||
|
||||
return;
|
||||
|
||||
fetch(
|
||||
url,
|
||||
|
@ -738,13 +812,21 @@ function Inscription_Information(props) {
|
|||
*/
|
||||
if (!RatingValue) {
|
||||
|
||||
alert(" Aidez-nous à nous améliorer, donnez une appréciation globale svp. Le point N° 1. Merci d'avance")
|
||||
// alert(" Aidez-nous à nous améliorer, donnez une appréciation globale svp. Le point N° 1. Merci d'avance")
|
||||
// alert(res.data.message);
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(" Aidez-nous à nous améliorer, donnez une appréciation globale svp. Le point N° 1. Merci d'avance");
|
||||
setalert_type("error");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!RatinpedagogiegValue) {
|
||||
|
||||
alert(" Aidez-nous à nous améliorer, donnez une appréciation sur notre pédagigie svp. Le point N° 2. Merci d'avance")
|
||||
// alert(" Aidez-nous à nous améliorer, donnez une appréciation sur notre pédagigie svp. Le point N° 2. Merci d'avance")
|
||||
// alert(res.data.message);
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(" Aidez-nous à nous améliorer, donnez une appréciation sur notre pédagigie svp. Le point N° 2. Merci d'avance");
|
||||
setalert_type("error");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -787,14 +869,13 @@ function Inscription_Information(props) {
|
|||
|
||||
const [RatingValue, setRatingValue] = useState(0);
|
||||
const [RatinpedagogiegValue, setRatinpedagogiegValue] = useState(0);
|
||||
let datafromchild = "yaaaaa child";
|
||||
|
||||
const [valnom_info, setvalnom_info] = useState();
|
||||
const [valprenom_info, setvalprenom_info] = useState();
|
||||
const [valemail_info, setvalemail_info] = useState();
|
||||
|
||||
const [valnom_info, setvalnom_info] = useState("");
|
||||
const [valprenom_info, setvalprenom_info] = useState("");
|
||||
const [valemail_info, setvalemail_info] = useState("");
|
||||
const [valtelephone_info, setvaltelephone_info] = useState("");
|
||||
|
||||
|
||||
const [valemployeur_info, setvalemployeur_info] = useState("");
|
||||
|
||||
const [nb_person_info, setnb_person_info] = useState("1");
|
||||
|
@ -928,16 +1009,16 @@ function Inscription_Information(props) {
|
|||
|
||||
setGet_Partner_Object_Specific_Fields_api("true");
|
||||
setGet_Partner_Object_Specific_Fields_result(res.data.message);
|
||||
|
||||
|
||||
setrows_champs_specifics(res.data.message);
|
||||
|
||||
|
||||
}
|
||||
else {
|
||||
setGet_Partner_Object_Specific_Fields_api("false");
|
||||
setGet_Partner_Object_Specific_Fields_message(res.data.message);
|
||||
alert(res.data.message)
|
||||
// alert(res.data.message);
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(res.data.message);
|
||||
setalert_type("error");
|
||||
}
|
||||
|
||||
}).catch((error) => {
|
||||
|
@ -1725,6 +1806,20 @@ function Inscription_Information(props) {
|
|||
setis_company(value.value);
|
||||
}
|
||||
|
||||
setraison_sociale("");
|
||||
setsiret("");
|
||||
setemail_requester("");
|
||||
settelephone_requester("");
|
||||
setnom_requester("");
|
||||
setprenom_requester("");
|
||||
|
||||
setvalnom_info("");
|
||||
setvalprenom_info("");
|
||||
setvalemail_info("");
|
||||
setvaltelephone_info("");
|
||||
setvalemployeur_info("");
|
||||
setnb_person_info("1");
|
||||
|
||||
}}
|
||||
|
||||
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir une option"
|
||||
|
@ -2104,47 +2199,6 @@ function Inscription_Information(props) {
|
|||
|
||||
|
||||
|
||||
|
||||
{/* -- début champs specifiques ** /}
|
||||
<div className="div_row">
|
||||
<hr />
|
||||
</div>
|
||||
<div className="div_row" style={{ "padding": "5px" }}> Vos champs spécifiques 2<br />
|
||||
|
||||
{rows_champs_specifics &&
|
||||
rows_champs_specifics.map((champ_spec) => (
|
||||
|
||||
<div className="session_caract"> {String(JSON.parse(champ_spec).is_mandatory) === "1" && <font> <b> {JSON.parse(champ_spec).field_label} </b> </font>}
|
||||
{String(JSON.parse(champ_spec).is_mandatory) !== "1" && <font> {JSON.parse(champ_spec).field_label} </font>} <br/>
|
||||
<TextField
|
||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
|
||||
required
|
||||
name={JSON.parse(champ_spec).field_name}
|
||||
id={JSON.parse(champ_spec).field_name}
|
||||
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
|
||||
|
||||
className="disabled_style"
|
||||
onChange={(e) => {
|
||||
change_champs_spec_handle(e.target.value);
|
||||
//setEmployee_data_changed("1");
|
||||
}}
|
||||
//onChange={change_champs_spec_handle}
|
||||
|
||||
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
|
||||
<br />
|
||||
|
||||
</div>
|
||||
{/* -- end champs specifiques **/}
|
||||
|
||||
|
||||
<div className="div_info_droite">
|
||||
|
||||
|
||||
|
|
|
@ -1191,6 +1191,7 @@ const JmJ_Display_Partner_Catalog_DetailClass_new_v2 = (props) => {
|
|||
|
||||
var form = new FormData();
|
||||
form.append("subdomain", "colasrail");
|
||||
// form.append("subdomain", "nousformons");
|
||||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_Partner_Data_From_Subdomain/";
|
||||
|
||||
|
@ -1630,7 +1631,7 @@ const JmJ_Display_Partner_Catalog_DetailClass_new_v2 = (props) => {
|
|||
|
||||
{GetCurrentClass_result && GetCurrentClass_result.slice(0, 5).map((formation) => (
|
||||
<li style={{ "height": "2.8rem" }}>
|
||||
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de formation à la demande</nav>}
|
||||
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de <b>formation à la demande </b> ({(JSON.parse(formation).code_session).substring(0, 15)})</nav>}
|
||||
|
||||
{(!(JSON.parse(formation).session_ondemande) || (JSON.parse(formation).session_ondemande) === "0") && <nav>
|
||||
{(JSON.parse(formation).distantiel) === "1" && (JSON.parse(formation).presentiel) === "1" &&
|
||||
|
@ -2147,7 +2148,7 @@ const JmJ_Display_Partner_Catalog_DetailClass_new_v2 = (props) => {
|
|||
|
||||
<li style={{ "height": "2.8rem" }}>
|
||||
|
||||
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de formation à la demande</nav>}
|
||||
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de <b>formation à la demande </b> ({(JSON.parse(formation).code_session).substring(0, 15)})</nav>}
|
||||
|
||||
{(!(JSON.parse(formation).session_ondemande) || (JSON.parse(formation).session_ondemande) === "0") && <nav>
|
||||
{(JSON.parse(formation).distantiel) === "1" && (JSON.parse(formation).presentiel) === "1" &&
|
||||
|
|
|
@ -1238,6 +1238,7 @@ const Jmjformation_Catalogue_Public = (props) => {
|
|||
form.append("user_longitude", longitude);
|
||||
form.append("user_state", state);
|
||||
form.append("subdomain", "colasrail");
|
||||
// form.append("subdomain", "nousformons");
|
||||
|
||||
|
||||
var myurl = ""
|
||||
|
@ -1306,7 +1307,7 @@ const Jmjformation_Catalogue_Public = (props) => {
|
|||
setResult([]);
|
||||
|
||||
|
||||
|
||||
|
||||
//Get Criterias
|
||||
var crit_SearchText = "";
|
||||
var myurl = "";
|
||||
|
@ -1319,6 +1320,8 @@ const Jmjformation_Catalogue_Public = (props) => {
|
|||
crit_SearchText = "";
|
||||
myurl = process.env.REACT_APP_API_URL + "myclass/api/get_all_class_Given_partner_owner_recid_No_Login/";
|
||||
form.append("subdomain", "colasrail");
|
||||
// form.append("subdomain", "nousformons");
|
||||
|
||||
|
||||
//console.log(" ######### laaaaaaaaaaaaa subdomain = ", window.location.host.split(".")[0])
|
||||
|
||||
|
@ -2460,6 +2463,7 @@ const Jmjformation_Catalogue_Public = (props) => {
|
|||
var form = new FormData();
|
||||
|
||||
form.append("subdomain", "colasrail");
|
||||
// form.append("subdomain", "nousformons");
|
||||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_Partner_Data_From_Subdomain/";
|
||||
|
||||
|
|
|
@ -702,14 +702,20 @@ const Materiel_Salle = (props) => {
|
|||
setliste_sessions_file_change_api("true");
|
||||
|
||||
Getall_Training_Materiel_Salle();
|
||||
alert(" Le materiel ont été correctement importé");
|
||||
// alert(" Le materiel ont été correctement importé");
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(" Le materiel ont été correctement importé");
|
||||
setalert_type("success");
|
||||
|
||||
}
|
||||
|
||||
else {
|
||||
setliste_sessions_file_change_message(result['message']);
|
||||
setliste_sessions_file_change_api("false");
|
||||
alert('Erreur: ' + result['message']);
|
||||
// alert('Erreur: ' + result['message']);
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(result['message']);
|
||||
setalert_type("error");
|
||||
|
||||
}
|
||||
|
||||
|
@ -1570,8 +1576,8 @@ const Materiel_Salle = (props) => {
|
|||
).then((response) => response.json())
|
||||
.then((result) => {
|
||||
|
||||
console.log(' removeRecodedClassImage : status:', result['status']);
|
||||
console.log('removeRecodedClassImage : Success:', result['message']);
|
||||
// console.log(' removeRecodedClassImage : status:', result['status']);
|
||||
// console.log('removeRecodedClassImage : Success:', result['message']);
|
||||
|
||||
|
||||
if (String(result['status']) === String("true")) {
|
||||
|
@ -1724,12 +1730,15 @@ const Materiel_Salle = (props) => {
|
|||
)
|
||||
.then((response) => response.json())
|
||||
.then((result) => {
|
||||
console.log('Success:', result['message'], "result['status'] = ", result['status']);
|
||||
// console.log('Success:', result['message'], "result['status'] = ", result['status']);
|
||||
|
||||
if (String(result['status']) === String("true")) {
|
||||
setrecord_materiel_Image_api("true");
|
||||
setuserimgclassprofilchanged("");
|
||||
alert(" L'image a été enregistrée ");
|
||||
//alert(" L'image a été enregistrée ");
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(" L'image a été enregistrée ");
|
||||
setalert_type("success");
|
||||
|
||||
} else if (String(result['status']) === String("Err_Connexion")) {
|
||||
alert('Erreur: ' + result['message']);
|
||||
|
@ -1737,6 +1746,9 @@ const Materiel_Salle = (props) => {
|
|||
} else {
|
||||
setrecord_materiel_Image_api("false");
|
||||
alert(result['message']);
|
||||
// setdisplay_alert_mysy("1");
|
||||
setalert_message(result['message']);
|
||||
setalert_type("error");
|
||||
}
|
||||
|
||||
})
|
||||
|
@ -3290,7 +3302,7 @@ const Materiel_Salle = (props) => {
|
|||
<DialogActions>
|
||||
|
||||
<IconButton
|
||||
// autoFocus
|
||||
// autoFocus
|
||||
onClick={Close_Dialog_Detail_Event_open}
|
||||
color="primary"
|
||||
className={classes.customizedButton}
|
||||
|
@ -4063,7 +4075,7 @@ const Materiel_Salle = (props) => {
|
|||
<div className="session_caract" >
|
||||
Accès handicapé ?<br />
|
||||
<nav className="disabled_style" style={{ "height": '3rem', border: "none" }}
|
||||
|
||||
|
||||
onChange={(e) => {
|
||||
if (String(props.check_user_acces_right("materiel", "write")) === "1") {
|
||||
setmateriel_data_changed("1");
|
||||
|
|
|
@ -2675,13 +2675,13 @@ function UpdateParnterInfo(props) {
|
|||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Add_Update_Partner_Catalog_Pub_Config/";
|
||||
|
||||
// console.log("myurl== ", myurl);
|
||||
console.log("myurl== ", myurl);
|
||||
|
||||
setLoading(true);
|
||||
axios.post(myurl, form).then(res => {
|
||||
setLoading(false);
|
||||
// console.log(" In Add_Update_Catalog_Pub_Banniere res.data.status = " + res.data.status);
|
||||
//console.log(" In Add_Update_Catalog_Pub_Banniere res.data.message r_class = " + res.data.message);
|
||||
console.log(" In Add_Update_Catalog_Pub_Banniere res.data.status = " + res.data.status);
|
||||
console.log(" In Add_Update_Catalog_Pub_Banniere res.data.message r_class = " + res.data.message);
|
||||
|
||||
if (String(res.data.status) === String("true")) {
|
||||
setAdd_Update_Catalog_Pub_Banniere_api("true");
|
||||
|
|
|
@ -1731,7 +1731,7 @@ const New_C_Detail_Formation_2025 = (props) => {
|
|||
|
||||
{GetCurrentClass_result && GetCurrentClass_result.slice(0, 5).map((formation) => (
|
||||
<li style={{ marginBottom: "1rem" }}>
|
||||
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de formation à la demande</nav>}
|
||||
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de <b>formation à la demande </b> ({(JSON.parse(formation).code_session).substring(0, 15)})</nav>}
|
||||
|
||||
{(!(JSON.parse(formation).session_ondemande) || (JSON.parse(formation).session_ondemande) === "0") && <nav>
|
||||
{(JSON.parse(formation).mode_animation) === "2" &&
|
||||
|
@ -1778,14 +1778,14 @@ const New_C_Detail_Formation_2025 = (props) => {
|
|||
{(JSON.parse(formation).mode_animation) === "0" &&
|
||||
(JSON.parse(formation).date_debut).substring(0, 10) !== (JSON.parse(formation).date_fin).substring(0, 10) &&
|
||||
<nav>
|
||||
{(JSON.parse(formation).date_debut).substring(0, 10)} au {(JSON.parse(formation).date_fin).substring(0, 10)} <b>En Présentiel </b> -
|
||||
{(JSON.parse(formation).date_debut).substring(0, 10)} au {(JSON.parse(formation).date_fin).substring(0, 10)} <b>En Présentiel </b> -
|
||||
{(JSON.parse(formation).adresse)} {(JSON.parse(formation).code_postal)}
|
||||
</nav>}
|
||||
|
||||
{(JSON.parse(formation).mode_animation) === "0" &&
|
||||
(JSON.parse(formation).date_debut).substring(0, 10) === (JSON.parse(formation).date_fin).substring(0, 10) &&
|
||||
<nav>
|
||||
Le {(JSON.parse(formation).date_fin).substring(0, 10)} <b>En Présentiel </b> -
|
||||
Le {(JSON.parse(formation).date_fin).substring(0, 10)} <b>En Présentiel </b> -
|
||||
{(JSON.parse(formation).adresse)} {(JSON.parse(formation).code_postal)}
|
||||
</nav>}
|
||||
|
||||
|
@ -2188,7 +2188,7 @@ const New_C_Detail_Formation_2025 = (props) => {
|
|||
|
||||
<li style={{ "height": "2.8rem" }}>
|
||||
|
||||
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de formation à la demande</nav>}
|
||||
{(JSON.parse(formation).session_ondemande) && (JSON.parse(formation).session_ondemande) === "1" && <nav> Sessions de <b>formation à la demande </b> ({(JSON.parse(formation).code_session).substring(0, 15)})</nav>}
|
||||
|
||||
{(!(JSON.parse(formation).session_ondemande) || (JSON.parse(formation).session_ondemande) === "0") && <nav>
|
||||
{(JSON.parse(formation).mode_animation) === "2" &&
|
||||
|
|
Loading…
Reference in New Issue