23/08/23 - 20h
parent
080a339c68
commit
d204058101
|
@ -1584,7 +1584,7 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
console.log(" form == ", form);
|
||||
|
||||
|
||||
|
||||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/UpdateStagiairetoClass/";
|
||||
|
||||
|
@ -3203,7 +3203,7 @@ const DisplayPartnerSession = (props) => {
|
|||
const [GetAttendee_api, setGetAttendee_api] = useState();
|
||||
const [GetAttendee_message, setGetAttendee_message] = useState();
|
||||
const [GetAttendee_result, setGetAttendee_result] = useState();
|
||||
function GetAttendee_Data(attendee_email, session_id, ) {
|
||||
function GetAttendee_Data(attendee_email, session_id,) {
|
||||
clean_old_messages();
|
||||
var form = new FormData();
|
||||
|
||||
|
@ -3432,7 +3432,7 @@ const DisplayPartnerSession = (props) => {
|
|||
history.push("/Connexion");
|
||||
} else {
|
||||
setrecord_Stagiaire_Image_api("false");
|
||||
alert(" Erreur : ", result['message']);
|
||||
alert(" Erreur : " + String(result['message']));
|
||||
}
|
||||
|
||||
})
|
||||
|
@ -4192,7 +4192,7 @@ const DisplayPartnerSession = (props) => {
|
|||
<div className="session_data">
|
||||
<div style={{ "border": "None" }}>
|
||||
|
||||
<div style={{ height: 500, width: '100%', paddingRight: '1px' }}>
|
||||
<div style={{ height: 550, width: '100%', paddingRight: '1px' }}>
|
||||
|
||||
<Box
|
||||
sx={{
|
||||
|
@ -4276,6 +4276,11 @@ const DisplayPartnerSession = (props) => {
|
|||
setSelectionModel(newSelectionModel);
|
||||
if (newSelectionModel.length === 1)
|
||||
handleClick_edit_session_From_Line(newSelectionModel);
|
||||
if (newSelectionModel.length === 0) {
|
||||
setaddOneParticipant();
|
||||
setdisplay_detail_insc();
|
||||
setselected_code_session();
|
||||
}
|
||||
}}
|
||||
selectionModel={selectionModel}
|
||||
|
||||
|
@ -6536,7 +6541,7 @@ const DisplayPartnerSession = (props) => {
|
|||
setp_detail_ville(e.target.value);
|
||||
setparticipant_data_changed("1");
|
||||
}
|
||||
}
|
||||
}
|
||||
className="disabled_style"
|
||||
|
||||
/>
|
||||
|
|
|
@ -405,11 +405,8 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
setparticipant_data_changed();
|
||||
setparticipant_data_edit_mode();
|
||||
}
|
||||
|
||||
|
||||
function clean_old_messages() {
|
||||
|
||||
|
||||
}
|
||||
|
||||
const [GetCurrentClass_trainingsession_api, setGetCurrentClass_trainingsession_api] = useState();
|
||||
|
@ -1099,10 +1096,6 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
formData.append("session_id", selected_session_id);
|
||||
formData.append("email", selected_participant_email);
|
||||
|
||||
|
||||
console.log(" ### userimgclassprofilchanged =", userimgclassprofilchanged)
|
||||
|
||||
|
||||
formData.append('file_img', isimgclassSelected);
|
||||
formData.append('file_img_recid', isimgclassSelected_recid);
|
||||
|
||||
|
@ -1129,7 +1122,7 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
history.push("/Connexion");
|
||||
} else {
|
||||
setrecord_Stagiaire_Image_api("false");
|
||||
alert(" Erreur : ", result['message']);
|
||||
alert(" Erreur : " + result['message']);
|
||||
}
|
||||
|
||||
})
|
||||
|
@ -2304,8 +2297,6 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div style={{ "textAlign": "left", "float": "left", "width": "100%" }} id="participant_menu_tab">
|
||||
|
@ -2313,7 +2304,7 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
<div className="session_data">
|
||||
<div style={{ "border": "None" }}>
|
||||
|
||||
<div style={{ height: 500, width: '100%', paddingRight: '1px' }}>
|
||||
<div style={{ height: 550, width: '100%', paddingRight: '1px' }}>
|
||||
|
||||
<Box
|
||||
sx={{
|
||||
|
@ -2367,6 +2358,11 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
setSelectionModel(newSelectionModel);
|
||||
if (newSelectionModel.length === 1)
|
||||
handleClick_edit_session_From_Line(newSelectionModel);
|
||||
if (newSelectionModel.length === 0) {
|
||||
setaddOneParticipant();
|
||||
setdisplay_detail_stagiaire();
|
||||
setselected_code_session();
|
||||
}
|
||||
}}
|
||||
selectionModel={selectionModel}
|
||||
|
||||
|
@ -3273,15 +3269,9 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
|
||||
{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>
|
||||
<Button variant="contained" className="bton_edit" onClick={EnableAttendeeDetailFields}>Editer
|
||||
</Button>
|
||||
|
||||
<div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
|
||||
|
||||
<Button variant="contained" className="bton_edit" onClick={EnableAttendeeDetailFields}>Editer
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
</div>}
|
||||
|
||||
|
|
|
@ -4427,7 +4427,7 @@ function GestionAdministrative(props) {
|
|||
history.push("/Connexion");
|
||||
} else {
|
||||
setrecord_Stagiaire_Image_api("false");
|
||||
alert(" Erreur : ", result['message']);
|
||||
alert(" Erreur : "+ result['message']);
|
||||
}
|
||||
|
||||
})
|
||||
|
|
|
@ -234,7 +234,8 @@ const Partner = (props) => {
|
|||
}
|
||||
|
||||
var list_menu = ['creation', 'infopartner', 'statistique', 'abonnement', 'affichage', 'ordervalide',
|
||||
'mes_sessions', 'setuplms', 'facture', 'pricing', 'mes_clients', 'mes_devis', 'mes_cmd', 'mes_stagiaires']
|
||||
'mes_sessions', 'setuplms', 'facture', 'pricing', 'mes_clients', 'mes_devis', 'mes_cmd',
|
||||
'mes_stagiaires', 'mes_employes']
|
||||
|
||||
|
||||
if (action && list_menu.includes(action)) {
|
||||
|
|
|
@ -826,7 +826,7 @@ function UpdateParnterInfo() {
|
|||
alert('Erreur: ' + result['message']);
|
||||
history.push("/Connexion");
|
||||
}else{
|
||||
alert(" Erreur : ",result['message']);
|
||||
alert(" Erreur : "+result['message']);
|
||||
}
|
||||
|
||||
})
|
||||
|
|
|
@ -152,6 +152,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 10rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -507,6 +508,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 10rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -921,6 +923,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 10rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -1338,6 +1341,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 10rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
|
|
@ -385,6 +385,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 10rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -931,6 +932,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -1516,6 +1518,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -2047,6 +2050,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
|
|
@ -387,6 +387,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 10rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -950,6 +951,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -1554,6 +1556,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -2085,6 +2088,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
|
|
@ -387,6 +387,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 10rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -950,6 +951,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -1554,6 +1556,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -2085,6 +2088,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
|
|
@ -381,6 +381,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 10rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -731,6 +732,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -1083,6 +1085,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -1548,6 +1551,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
|
|
@ -212,6 +212,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 10rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -447,6 +448,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -680,6 +682,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
@ -930,6 +933,7 @@
|
|||
border: 1px solid rgb(194, 186, 186);
|
||||
border-radius: 10px;
|
||||
width: 15rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bton_image_class:hover {
|
||||
|
|
Loading…
Reference in New Issue