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

@ -1865,7 +1865,7 @@ const DisplayDetailClass_new_v2 = (props) => {
<div className="block_info_page_pave_title_desc">
<div className="block_info_page_pave_title_desc_title">
Description
Description
</div>
{DetailTraining["description"] && <div className="block_info_page_pave_title_desc description_block">
{parse(String(DetailTraining["description"]))}

View File

@ -462,10 +462,10 @@ function Inscription_Information(props) {
var employeur = ""
if( valemployeur_info ){
if (valemployeur_info) {
employeur = valemployeur_info;
}
var message = "";
if (editorRef_description.current) {
@ -523,24 +523,24 @@ function Inscription_Information(props) {
/*
var pedagogie = "";
var ele = document.getElementsByName('pedagogie');
for (let i = 0; i < ele.length; i++) {
if (ele[i].checked)
pedagogie = ele[i].value;
}
var logistique = "";
ele = document.getElementsByName('log');
for (let i = 0; i < ele.length; i++) {
if (ele[i].checked)
logistique = ele[i].value;
}
*/
/*
var pedagogie = "";
var ele = document.getElementsByName('pedagogie');
for (let i = 0; i < ele.length; i++) {
if (ele[i].checked)
pedagogie = ele[i].value;
}
var logistique = "";
ele = document.getElementsByName('log');
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")
@ -560,7 +560,7 @@ function Inscription_Information(props) {
formData.append('eval_note', RatingValue);
formData.append('eval_pedagogie', RatinpedagogiegValue);
formData.append('eval_eval', message);
formData.append('class_internal_url', class_internal_url);
formData.append('class_internal_url', class_internal_url);
fetch(
url,
@ -600,7 +600,7 @@ function Inscription_Information(props) {
const [valemail_info, setvalemail_info] = useState();
const [valtelephone_info, setvaltelephone_info] = useState();
const [valemployeur_info, setvalemployeur_info] = useState();
const handlervalnom_info = event => {
var val = event.target.value;
setvalnom_info(val);
@ -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 - "}
@ -906,7 +909,7 @@ function Inscription_Information(props) {
</fieldset>
</div>
<div className="div_row22 survey_block">
<fieldset style={{ "maxHeight": '200px' }}>
<nav className="survey_title"> 4 .Un commentaire ?</nav>