17/08/23 -22h
parent
ed99fba60c
commit
29e896a5d1
|
@ -265,7 +265,7 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const [display_detail_stagaire, setdisplay_detail_stagaire] = useState("");
|
const [display_detail_stagiaire, setdisplay_detail_stagiaire] = useState("");
|
||||||
|
|
||||||
function handleClick_edit_session_From_Line(selected_row_id) {
|
function handleClick_edit_session_From_Line(selected_row_id) {
|
||||||
|
|
||||||
|
@ -278,12 +278,21 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
var internal_url = line.class_internal_url;
|
var internal_url = line.class_internal_url;
|
||||||
setselected_internal_url(line.class_internal_url);
|
setselected_internal_url(line.class_internal_url);
|
||||||
|
|
||||||
|
var participant_email = line.email;
|
||||||
|
setselected_participant_email(line.email);
|
||||||
|
|
||||||
setselected_class_title(line.title);
|
setselected_class_title(line.title);
|
||||||
|
|
||||||
|
|
||||||
submenu_detail_stagaire();
|
submenu_detail_stagaire();
|
||||||
|
|
||||||
setdisplay_detail_stagaire("1");
|
setdisplay_detail_stagiaire("1");
|
||||||
|
|
||||||
|
if (myRef.current) {
|
||||||
|
myRef.current.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
|
||||||
|
GetAttendee_Data(participant_email, code_session, internal_url);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
GetCurrentSession(line.code_session, line.class_internal_url);
|
GetCurrentSession(line.code_session, line.class_internal_url);
|
||||||
|
@ -328,6 +337,7 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
const [selected_code_session, setselected_code_session] = useState();
|
const [selected_code_session, setselected_code_session] = useState();
|
||||||
const [selected_internal_url, setselected_internal_url] = useState();
|
const [selected_internal_url, setselected_internal_url] = useState();
|
||||||
const [selected_class_title, setselected_class_title] = useState();
|
const [selected_class_title, setselected_class_title] = useState();
|
||||||
|
const [selected_participant_email, setselected_participant_email] = useState();
|
||||||
|
|
||||||
const [one_selected_internal_url, setone_selected_internal_url] = useState();
|
const [one_selected_internal_url, setone_selected_internal_url] = useState();
|
||||||
|
|
||||||
|
@ -1166,11 +1176,26 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
const [p_detail_nom, setp_detail_nom] = useState();
|
||||||
|
const [p_detail_prenom, setp_detail_prenom] = useState();
|
||||||
|
const [p_detail_mail, setp_detail_mail] = useState();
|
||||||
|
const [p_detail_tel, setp_detail_tel] = useState();
|
||||||
|
const [p_detail_adresse, setp_detail_adresse] = useState();
|
||||||
|
const [p_detail_code_postal, setp_detail_code_postal] = useState();
|
||||||
|
const [p_detail_ville, setp_detail_ville] = useState();
|
||||||
|
const [p_detail_cout, setp_detail_cout] = useState();
|
||||||
|
const [p_detail_mode_fin, setp_detail_mode_fin] = useState();
|
||||||
|
const [p_detail_employeur, setp_detail_employeur] = useState();
|
||||||
|
const [p_date_evaluation, setp_date_evaluation] = useState();
|
||||||
|
const [p_note_eval, setp_note_eval] = useState();
|
||||||
|
|
||||||
|
|
||||||
// Cette fonction remplit la zone detail de la personne inscrite
|
// Cette fonction remplit la zone detail de la personne inscrite
|
||||||
const [GetAttendee_api, setGetAttendee_api] = useState();
|
const [GetAttendee_api, setGetAttendee_api] = useState();
|
||||||
const [GetAttendee_message, setGetAttendee_message] = useState();
|
const [GetAttendee_message, setGetAttendee_message] = useState();
|
||||||
const [GetAttendee_result, setGetAttendee_result] = useState();
|
const [GetAttendee_result, setGetAttendee_result] = useState();
|
||||||
function GetAttendee_Data(attendee_email, session_id) {
|
function GetAttendee_Data(attendee_email, session_id, internal_url) {
|
||||||
clean_old_messages();
|
clean_old_messages();
|
||||||
var form = new FormData();
|
var form = new FormData();
|
||||||
|
|
||||||
|
@ -1178,7 +1203,7 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
form.append("token", stored_cookie);
|
form.append("token", stored_cookie);
|
||||||
form.append("session_id", session_id);
|
form.append("session_id", session_id);
|
||||||
form.append("attendee_email", attendee_email);
|
form.append("attendee_email", attendee_email);
|
||||||
form.append("internal_url", selected_internal_url);
|
form.append("internal_url", internal_url);
|
||||||
|
|
||||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/GetAttendeeDetail_perSession/";
|
var myurl = process.env.REACT_APP_API_URL + "myclass/api/GetAttendeeDetail_perSession/";
|
||||||
|
|
||||||
|
@ -1201,55 +1226,55 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
|
|
||||||
document.getElementsByName("detail_nom")[0].value = "";
|
document.getElementsByName("detail_nom")[0].value = "";
|
||||||
if (mylocalattendee.nom)
|
if (mylocalattendee.nom)
|
||||||
document.getElementsByName("detail_nom")[0].value = mylocalattendee.nom;
|
setp_detail_nom(mylocalattendee.nom);
|
||||||
|
|
||||||
document.getElementsByName("detail_prenom")[0].value = "";
|
document.getElementsByName("detail_prenom")[0].value = "";
|
||||||
if (mylocalattendee.prenom)
|
if (mylocalattendee.prenom)
|
||||||
document.getElementsByName("detail_prenom")[0].value = mylocalattendee.prenom;
|
setp_detail_prenom(mylocalattendee.prenom);
|
||||||
|
|
||||||
document.getElementsByName("detail_mail")[0].value = "";
|
document.getElementsByName("detail_mail")[0].value = "";
|
||||||
if (mylocalattendee.email) {
|
if (mylocalattendee.email) {
|
||||||
document.getElementsByName("detail_mail")[0].value = mylocalattendee.email;
|
setp_detail_mail(mylocalattendee.email);
|
||||||
setattendee_lms_login(mylocalattendee.email);
|
setattendee_lms_login(mylocalattendee.email);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
document.getElementsByName("detail_tel")[0].value = "";
|
document.getElementsByName("detail_tel")[0].value = "";
|
||||||
if (mylocalattendee.telephone) {
|
if (mylocalattendee.telephone) {
|
||||||
document.getElementsByName("detail_tel")[0].value = mylocalattendee.telephone;
|
setp_detail_tel(mylocalattendee.telephone);
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementsByName("detail_adresse")[0].value = "";
|
document.getElementsByName("detail_adresse")[0].value = "";
|
||||||
if (mylocalattendee.adresse) {
|
if (mylocalattendee.adresse) {
|
||||||
document.getElementsByName("detail_adresse")[0].value = mylocalattendee.adresse;
|
setp_detail_adresse(mylocalattendee.adresse);
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementsByName("detail_code_postal")[0].value = "";
|
document.getElementsByName("detail_code_postal")[0].value = "";
|
||||||
if (mylocalattendee.code_postal) {
|
if (mylocalattendee.code_postal) {
|
||||||
document.getElementsByName("detail_code_postal")[0].value = mylocalattendee.code_postal;
|
setp_detail_code_postal(mylocalattendee.code_postal);
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementsByName("detail_ville")[0].value = "";
|
document.getElementsByName("detail_ville")[0].value = "";
|
||||||
if (mylocalattendee.ville) {
|
if (mylocalattendee.ville) {
|
||||||
document.getElementsByName("detail_ville")[0].value = mylocalattendee.ville;
|
setp_detail_ville(mylocalattendee.ville);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
document.getElementsByName("detail_cout")[0].value = "";
|
document.getElementsByName("detail_cout")[0].value = "";
|
||||||
if (mylocalattendee.price) {
|
if (mylocalattendee.price) {
|
||||||
document.getElementsByName("detail_cout")[0].value = mylocalattendee.price;
|
setp_detail_cout(mylocalattendee.price);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
document.getElementsByName("detail_mode_fin")[0].value = "";
|
document.getElementsByName("detail_mode_fin")[0].value = "";
|
||||||
if (mylocalattendee.modefinancement) {
|
if (mylocalattendee.modefinancement) {
|
||||||
document.getElementsByName("detail_mode_fin")[0].value = mylocalattendee.modefinancement;
|
setp_detail_mode_fin(mylocalattendee.modefinancement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
document.getElementsByName("detail_employeur")[0].value = "";
|
document.getElementsByName("detail_employeur")[0].value = "";
|
||||||
if (mylocalattendee.employeur) {
|
if (mylocalattendee.employeur) {
|
||||||
document.getElementsByName("detail_employeur")[0].value = mylocalattendee.employeur;
|
setp_detail_employeur(mylocalattendee.employeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementsByName("date_evaluation")[0].value = "";
|
document.getElementsByName("date_evaluation")[0].value = "";
|
||||||
|
@ -1259,7 +1284,7 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
setdetailuser_date_evaluation(date_eval);
|
setdetailuser_date_evaluation(date_eval);
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementsByName("date_evaluation")[0].value = "";
|
document.getElementsByName("certif_date")[0].value = "";
|
||||||
if (mylocalattendee.certification_send_date) {
|
if (mylocalattendee.certification_send_date) {
|
||||||
//alert(" certification_send_date = ", mylocalattendee.certification_send_date);
|
//alert(" certification_send_date = ", mylocalattendee.certification_send_date);
|
||||||
|
|
||||||
|
@ -1271,7 +1296,7 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
|
|
||||||
document.getElementsByName("note_eval")[0].value = "";
|
document.getElementsByName("note_eval")[0].value = "";
|
||||||
if (mylocalattendee.eval_note) {
|
if (mylocalattendee.eval_note) {
|
||||||
document.getElementsByName("note_eval")[0].value = mylocalattendee.eval_note;
|
setp_note_eval(mylocalattendee.eval_note);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1314,6 +1339,8 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
let [sessionChanged, setsessionChanged] = useState(false);
|
let [sessionChanged, setsessionChanged] = useState(false);
|
||||||
|
let [participant_data_changed, setparticipant_data_changed] = useState();
|
||||||
|
let [participant_data_edit_mode, setparticipant_data_edit_mode] = useState();
|
||||||
|
|
||||||
function IssessionChanged() {
|
function IssessionChanged() {
|
||||||
setsessionChanged(true);
|
setsessionChanged(true);
|
||||||
|
@ -1770,14 +1797,14 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
<div className="div_row_gauche div_row_gauche_etendu" style={{ "textAlign": "left", "paddingLeft": "5px" }}>
|
<div className="div_row_gauche div_row_gauche_etendu" style={{ "textAlign": "left", "paddingLeft": "5px" }}>
|
||||||
|
|
||||||
<Button variant="outlined" onClick={submenu_import_stagiaire} className="detail_class_submenu bton_import_excel"
|
<Button variant="outlined" onClick={submenu_import_stagiaire} className="detail_class_submenu bton_import_excel"
|
||||||
id='menu_import_participant' name='menu_import_participant'>Importer des Sessions Excel
|
id='menu_import_participant' name='menu_import_participant'>Importer des Stagiaires Excel
|
||||||
<img src={excel_icone} alt="ajout csv" className="icon_excel" />
|
<img src={excel_icone} alt="ajout csv" className="icon_excel" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
<Button variant="outlined" onClick={submenu_add_one_stagiaire}
|
<Button variant="outlined" onClick={submenu_add_one_stagiaire}
|
||||||
className="detail_class_submenu bton_add_session"
|
className="detail_class_submenu bton_add_session"
|
||||||
id='menu_import_participant' name='menu_import_participant'>Ajout 1 Session
|
id='menu_import_participant' name='menu_import_participant'>Ajout 1 Stagiaire
|
||||||
<img src={add_plus} alt="ajout session" className="icon_plus" />
|
<img src={add_plus} alt="ajout session" className="icon_plus" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
@ -1804,41 +1831,8 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
<Button variant="outlined" onClick={submenu_inscrit} className="detail_class_submenu" id='inscrit' name='inscrit'>Inscription ({String(nb_stagiaire_Inscrit)}) </Button>
|
<Button variant="outlined" onClick={submenu_inscrit} className="detail_class_submenu" id='inscrit' name='inscrit'>Inscription ({String(nb_stagiaire_Inscrit)}) </Button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{String(display_detail_stagaire) === "1" && <div>
|
|
||||||
|
|
||||||
Affichier detail stagire
|
|
||||||
<div className="div_row" style={{ "border": "None" }}>
|
|
||||||
|
|
||||||
<div className="div_row_gauche div_row_gauche_etendu" style={{ "textAlign": "left", "paddingLeft": "5px" }}>
|
|
||||||
|
|
||||||
<Button variant="outlined" onClick={submenu_import_stagiaire} className="detail_class_submenu bton_import_excel"
|
|
||||||
id='menu_import_participant' name='menu_import_participant'>Importer des statgiaires Excel
|
|
||||||
<img src={excel_icone} alt="ajout csv" className="icon_excel" />
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
<Button variant="outlined" onClick={submenu_add_one_stagiaire}
|
|
||||||
className="detail_class_submenu bton_add_session"
|
|
||||||
id='menu_import_participant' name='menu_import_participant'>Ajout 1 stagiaire
|
|
||||||
<img src={add_plus} alt="ajout session" className="icon_plus" />
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
{session_file_name && <nav><i>{session_file_name}</i></nav>}
|
|
||||||
{String(liste_sessions_file_change_api) === String("true") && <nav className="okUpdateData"> Les stagiaires ont été correctement importés</nav>}
|
|
||||||
{String(liste_sessions_file_change_api) === String("false") && <nav className="koUpdateData"> {liste_sessions_file_change_message} </nav>}
|
|
||||||
|
|
||||||
<input type="file"
|
|
||||||
accept=".csv"
|
|
||||||
ref={hiddenFileInput_session}
|
|
||||||
style={{ display: 'none' }}
|
|
||||||
name="liste_sessions_file"
|
|
||||||
onChange={liste_sessions_file_change}
|
|
||||||
/>
|
|
||||||
|
|
||||||
<a href='/sample/template_import_session_plusieurs_formations.csv' download>Télécharger un fichier modèle</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{String(addOneParticipant) === "1" && <div className="div_row session_data" style={{ "border": "None", "backgroundColor": "#F0F0F0" }}>
|
{String(addOneParticipant) === "1" && <div className="div_row session_data" style={{ "border": "None", "backgroundColor": "#F0F0F0" }}>
|
||||||
<h5> Ajout d'un nouveau participant</h5>
|
<h5> Ajout d'un nouveau participant</h5>
|
||||||
|
@ -1957,9 +1951,9 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
</div>}
|
|
||||||
|
|
||||||
{String(display_detail_insc) === "1" && selected_code_session && <div className="div_row" style={{ "border": "None", "background": '#F8F9F9', "padding": '5px' }}>
|
|
||||||
|
{String(display_detail_stagiaire) === "1" && selected_code_session && <div className="div_row" style={{ "border": "None", "background": '#F8F9F9', "padding": '5px' }}>
|
||||||
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600" }}> Détail inscrit </nav>
|
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600" }}> Détail inscrit </nav>
|
||||||
{String(GetAttendee_api) === "true" && <div className="div_row" style={{ "border": "None" }}>
|
{String(GetAttendee_api) === "true" && <div className="div_row" style={{ "border": "None" }}>
|
||||||
|
|
||||||
|
@ -1998,8 +1992,6 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
</div>}
|
</div>}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</nav>}
|
</nav>}
|
||||||
|
|
||||||
{/*isimgclassSelected && <Button variant="outlined" onClick={sendClassImage} className="bton_image_class">Enregistrer image</Button>*/}
|
{/*isimgclassSelected && <Button variant="outlined" onClick={sendClassImage} className="bton_image_class">Enregistrer image</Button>*/}
|
||||||
|
@ -2042,6 +2034,8 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
disabled={false}
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
|
value={p_detail_nom}
|
||||||
|
onChange={(e) => setp_detail_nom(e.target.value)}
|
||||||
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2058,7 +2052,8 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
disabled={false}
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
|
value={p_detail_prenom}
|
||||||
|
onChange={(e) => setp_detail_prenom(e.target.value)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2074,7 +2069,8 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
disabled={false}
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
|
value={p_detail_mail}
|
||||||
|
onChange={(e) => setp_detail_mail(e.target.value)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2090,7 +2086,8 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
disabled={false}
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
|
value={p_detail_tel}
|
||||||
|
onChange={(e) => setp_detail_tel(e.target.value)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2107,7 +2104,8 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
disabled={false}
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
|
value={p_detail_adresse}
|
||||||
|
onChange={(e) => setp_detail_adresse(e.target.value)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="session_caract"> Code postal<br />
|
<div className="session_caract"> Code postal<br />
|
||||||
|
@ -2122,7 +2120,8 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
disabled={false}
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
|
value={p_detail_code_postal}
|
||||||
|
onChange={(e) => setp_detail_code_postal(e.target.value)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="session_caract"> Ville<br />
|
<div className="session_caract"> Ville<br />
|
||||||
|
@ -2137,7 +2136,8 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
disabled={false}
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
|
value={p_detail_ville}
|
||||||
|
onChange={(e) => setp_detail_ville(e.target.value)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2169,6 +2169,8 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
inputProps={{ min: "1", max: "999999", step: "1" }}
|
inputProps={{ min: "1", max: "999999", step: "1" }}
|
||||||
disabled={false}
|
disabled={false}
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
|
value={p_detail_cout}
|
||||||
|
onChange={(e) => setp_detail_cout(e.target.value)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2186,7 +2188,8 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
disabled={false}
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
|
value={p_detail_mode_fin}
|
||||||
|
onChange={(e) => setp_detail_mode_fin(e.target.value)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2203,7 +2206,8 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
}}
|
}}
|
||||||
disabled={false}
|
disabled={false}
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
|
value={p_detail_employeur}
|
||||||
|
onChange={(e) => setp_detail_employeur(e.target.value)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{is_lms_class_code && <div>
|
{is_lms_class_code && <div>
|
||||||
|
@ -2227,7 +2231,7 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
}}
|
}}
|
||||||
disabled={true}
|
disabled={true}
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
|
onChange={(e) => setattendee_lms_login(e.target.value)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2235,6 +2239,7 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
<TextField
|
<TextField
|
||||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
|
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
|
||||||
required
|
required
|
||||||
|
type="password"
|
||||||
name="lms_pwd"
|
name="lms_pwd"
|
||||||
id="lms_pwd"
|
id="lms_pwd"
|
||||||
value="xxxxx"
|
value="xxxxx"
|
||||||
|
@ -2254,6 +2259,42 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>}
|
</div>}
|
||||||
|
{String(participant_data_changed) === "1" && <div className="div_row" style={{ "border": "None", "color": "orange", "textAlign": "center" }}>
|
||||||
|
/!\ Pensez à enregistrer les modifications
|
||||||
|
</div>}
|
||||||
|
|
||||||
|
{String(participant_data_changed) === "1" && <div className="div_row" style={{ "border": "None", "color": "orange", "textAlign": "center" }}>
|
||||||
|
|
||||||
|
<div className="div_row_gauche" style={{ "textAlign": 'left', 'marginLeft': '15px' }}>
|
||||||
|
|
||||||
|
<Button variant="contained" className="bton_enreg" onClick={"CreateSessionFormation"}>Enregistrer les modifications
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
|
||||||
|
<Button variant="contained" className="bton_annule" onClick={"annuleSessionUpdate"}>Annuler les modifications
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
</div>}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{String(participant_data_edit_mode) !== "1" && <div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
|
||||||
|
|
||||||
|
<div className="div_row_gauche" style={{ "textAlign": 'left', 'marginLeft': '15px' }}>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
|
||||||
|
|
||||||
|
<Button variant="contained" className="bton_edit" onClick={"enableSessionFields"}>Editer
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>}
|
||||||
|
|
||||||
|
|
||||||
<div className="div_row" style={{ "border": "None" }}>
|
<div className="div_row" style={{ "border": "None" }}>
|
||||||
<hr className="hr_break" />
|
<hr className="hr_break" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -2270,8 +2311,6 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
name="date_evaluation"
|
name="date_evaluation"
|
||||||
id="date_evaluation"
|
id="date_evaluation"
|
||||||
selected={detailuser_date_evaluation}
|
selected={detailuser_date_evaluation}
|
||||||
|
|
||||||
|
|
||||||
dateFormat="dd/MM/yyyy"
|
dateFormat="dd/MM/yyyy"
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
locale='fr-FR'
|
locale='fr-FR'
|
||||||
|
@ -2292,8 +2331,9 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
shrink: true,
|
shrink: true,
|
||||||
}}
|
}}
|
||||||
inputProps={{ min: "0", max: "5", step: "1", readOnly: true, }}
|
inputProps={{ min: "0", max: "5", step: "1", readOnly: true, }}
|
||||||
|
|
||||||
className="disabled_style"
|
className="disabled_style"
|
||||||
|
value={p_note_eval}
|
||||||
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2343,14 +2383,14 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
La demande d'evaluation ete envoyée par email </div>}
|
La demande d'evaluation ete envoyée par email </div>}
|
||||||
|
|
||||||
|
|
||||||
<Button variant="contained" className="bton_envoyer" onClick={SendEvaluationEmail}>Envoi demande evaluation
|
<Button variant="contained" className="bton_enreg" onClick={SendEvaluationEmail}>Envoi demande evaluation
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
|
<div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
|
||||||
|
|
||||||
<Button variant="contained" className="bton_fermer" onClick={DownloadAttendeeDetail}>Imprimer fiche detaillée
|
<Button variant="contained" className="bton_edit" onClick={DownloadAttendeeDetail}>Imprimer fiche detaillée
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -2419,13 +2459,13 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
</div>}
|
</div>}
|
||||||
|
|
||||||
|
|
||||||
{!detailuser_date_certification && <Button variant="contained" className="bton_envoyer" onClick={SendAttendeeAttestation}>Delivrer l'attestation de formation
|
{!detailuser_date_certification && <Button variant="contained" className="bton_enreg" onClick={SendAttendeeAttestation}>Delivrer l'attestation de formation
|
||||||
</Button>}
|
</Button>}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
|
<div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
|
||||||
|
|
||||||
<Button variant="contained" className="bton_fermer" onClick={DownloadAttendeeAttestation}>Imprimer l'attestation de formation
|
<Button variant="contained" className="bton_edit" onClick={DownloadAttendeeAttestation}>Imprimer l'attestation de formation
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3097,7 +3097,7 @@ function GestionAdministrative(props) {
|
||||||
setdetailuser_date_evaluation(date_eval);
|
setdetailuser_date_evaluation(date_eval);
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementsByName("date_evaluation")[0].value = "";
|
document.getElementsByName("certif_date")[0].value = "";
|
||||||
if (mylocalattendee.certification_send_date) {
|
if (mylocalattendee.certification_send_date) {
|
||||||
//alert(" certification_send_date = ", mylocalattendee.certification_send_date);
|
//alert(" certification_send_date = ", mylocalattendee.certification_send_date);
|
||||||
|
|
||||||
|
|
|
@ -222,25 +222,6 @@
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bton_envoyer {
|
|
||||||
border-radius: 5px;
|
|
||||||
font-size: small;
|
|
||||||
padding: 0.3rem;
|
|
||||||
width: 100%;
|
|
||||||
background: #81BC3A;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.bton_fermer {
|
|
||||||
border-radius: 5px;
|
|
||||||
font-size: small;
|
|
||||||
padding: 0.3rem;
|
|
||||||
width: 100%;
|
|
||||||
background-color: white;
|
|
||||||
color: #104277 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.css-1x5jdmq {
|
.css-1x5jdmq {
|
||||||
padding: 6px !important;
|
padding: 6px !important;
|
||||||
}
|
}
|
||||||
|
@ -286,17 +267,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.bton_envoyer {
|
|
||||||
border-radius: 5px;
|
|
||||||
font-size: small;
|
|
||||||
padding: 0.3rem;
|
|
||||||
width: 100%;
|
|
||||||
background: #81BC3A;
|
|
||||||
margin-top: 1rem;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.bton_suppr {
|
.bton_suppr {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: red;
|
color: red;
|
||||||
|
@ -793,23 +763,6 @@
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bton_envoyer {
|
|
||||||
border-radius: 5px;
|
|
||||||
font-size: small;
|
|
||||||
padding: 0.3rem;
|
|
||||||
width: 80%;
|
|
||||||
background: #81BC3A;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.bton_fermer {
|
|
||||||
border-radius: 5px;
|
|
||||||
font-size: small;
|
|
||||||
padding: 0.3rem;
|
|
||||||
width: 80%;
|
|
||||||
background-color: white;
|
|
||||||
color: #104277 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.css-1x5jdmq {
|
.css-1x5jdmq {
|
||||||
padding: 6px !important;
|
padding: 6px !important;
|
||||||
|
@ -1395,25 +1348,6 @@
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bton_envoyer {
|
|
||||||
border-radius: 5px;
|
|
||||||
font-size: small;
|
|
||||||
padding: 0.3rem;
|
|
||||||
width: 60%;
|
|
||||||
background: #81BC3A;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.bton_fermer {
|
|
||||||
border-radius: 5px;
|
|
||||||
font-size: small;
|
|
||||||
padding: 0.3rem;
|
|
||||||
width: 60%;
|
|
||||||
background-color: white;
|
|
||||||
color: #104277 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.css-1x5jdmq {
|
.css-1x5jdmq {
|
||||||
padding: 6px !important;
|
padding: 6px !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -222,24 +222,7 @@
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bton_envoyer {
|
|
||||||
border-radius: 5px;
|
|
||||||
font-size: small;
|
|
||||||
padding: 0.3rem;
|
|
||||||
width: 100%;
|
|
||||||
background: #81BC3A;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.bton_fermer {
|
|
||||||
border-radius: 5px;
|
|
||||||
font-size: small;
|
|
||||||
padding: 0.3rem;
|
|
||||||
width: 100%;
|
|
||||||
background-color: white;
|
|
||||||
color: #104277 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.css-1x5jdmq {
|
.css-1x5jdmq {
|
||||||
padding: 6px !important;
|
padding: 6px !important;
|
||||||
|
@ -286,17 +269,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.bton_envoyer {
|
|
||||||
border-radius: 5px;
|
|
||||||
font-size: small;
|
|
||||||
padding: 0.3rem;
|
|
||||||
width: 100%;
|
|
||||||
background: #81BC3A;
|
|
||||||
margin-top: 1rem;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.bton_suppr {
|
.bton_suppr {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: red;
|
color: red;
|
||||||
|
|
Loading…
Reference in New Issue