09/01/26 -20h30
parent
7a110f86cc
commit
efcd333581
|
|
@ -160,7 +160,7 @@ const AddClassManual = (props) => {
|
|||
|
||||
return (
|
||||
<nav style={{ width: '100%', textAlign: 'left' }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -179,7 +179,7 @@ const AddParnerClient = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ const Apprenant = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -145,7 +145,7 @@ const Apprenant = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ const Autre_RH = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -139,7 +139,7 @@ const Autre_RH = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ const Conseil_Classe = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -189,7 +189,7 @@ const Conseil_Classe = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ const CRM_Opportunite = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -245,7 +245,7 @@ const CRM_Opportunite = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ const Dashbord_Ressources_Humaines = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -69,7 +69,7 @@ const Dashbord_Ressources_Humaines = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ registerLocale('fr', fr);
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -67,7 +67,7 @@ registerLocale('fr', fr);
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ registerLocale('fr', fr);
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -66,7 +66,7 @@ registerLocale('fr', fr);
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3547,12 +3547,6 @@ const DisplayPartnerPromotion = (props) => {
|
|||
setUpdate_Connexion_Context_result(res.data.message);
|
||||
|
||||
|
||||
// alert(res.data.message);
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(res.data.message);
|
||||
setalert_type("success");
|
||||
|
||||
|
||||
}
|
||||
else {
|
||||
setUpdate_Connexion_Context_api("false");
|
||||
|
|
@ -5674,7 +5668,8 @@ const DisplayPartnerPromotion = (props) => {
|
|||
if (String(res.data.status) === String("true")) {
|
||||
setDelete_Session_Formation_api("true");
|
||||
setDelete_Session_Formation_result(res.data.message);
|
||||
setSelectionModel([]);
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
setaddOneParticipant();
|
||||
setdisplay_detail_insc();
|
||||
setselected_code_session();
|
||||
|
|
@ -7903,7 +7898,8 @@ const DisplayPartnerPromotion = (props) => {
|
|||
submenu_detail_session();
|
||||
setedit_session_form(false);
|
||||
setsubmenu("");
|
||||
setSelectionModel([]);
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -9179,7 +9175,8 @@ const DisplayPartnerPromotion = (props) => {
|
|||
|
||||
setnb_stagiaire_Preinscrit("");
|
||||
setnb_stagiaire_Inscrit("");
|
||||
setSelectionModel([]);
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
setRows([]);
|
||||
setRows_insc([]);
|
||||
setRows_preinsc([]);
|
||||
|
|
@ -10395,7 +10392,8 @@ const DisplayPartnerPromotion = (props) => {
|
|||
if (String(res.data.status) === String("true")) {
|
||||
setDelete_LIST_Session_Formation_api("true");
|
||||
setDelete_LIST_Session_Formation_result(res.data.message);
|
||||
setSelectionModel([]);
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
setaddOneParticipant();
|
||||
setdisplay_detail_insc();
|
||||
setselected_code_session();
|
||||
|
|
@ -10457,7 +10455,8 @@ const DisplayPartnerPromotion = (props) => {
|
|||
if (String(res.data.status) === String("true")) {
|
||||
setDupliquer_LIST_Session_Formation_api("true");
|
||||
setDupliquer_LIST_Session_Formation_result(res.data.message);
|
||||
setSelectionModel([]);
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
setaddOneParticipant();
|
||||
setdisplay_detail_insc();
|
||||
setselected_code_session();
|
||||
|
|
@ -12397,7 +12396,8 @@ const DisplayPartnerPromotion = (props) => {
|
|||
setselected_convention_email_test();
|
||||
|
||||
setactionmass_ftion_val();
|
||||
setSelectionModel([]);
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
settab_convention_pieces_jointes_result([])
|
||||
};
|
||||
|
||||
|
|
@ -14121,7 +14121,8 @@ const DisplayPartnerPromotion = (props) => {
|
|||
const [display_session_with_alert, setdisplay_session_with_alert] = useState(false);
|
||||
|
||||
const handleChange_display_session_with_alert = (event) => {
|
||||
setSelectionModel([]);
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
setdisplay_session_with_alert(event.target.checked);
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -3557,13 +3557,6 @@ const DisplayPartnerSession = (props) => {
|
|||
setUpdate_Connexion_Context_api("true");
|
||||
setUpdate_Connexion_Context_result(res.data.message);
|
||||
|
||||
|
||||
// alert(res.data.message);
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(res.data.message);
|
||||
setalert_type("success");
|
||||
|
||||
|
||||
}
|
||||
else {
|
||||
setUpdate_Connexion_Context_api("false");
|
||||
|
|
@ -5694,6 +5687,7 @@ const DisplayPartnerSession = (props) => {
|
|||
setDelete_Session_Formation_api("true");
|
||||
setDelete_Session_Formation_result(res.data.message);
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
setaddOneParticipant();
|
||||
setdisplay_detail_insc();
|
||||
setselected_code_session();
|
||||
|
|
@ -7942,6 +7936,7 @@ const DisplayPartnerSession = (props) => {
|
|||
setedit_session_form(false);
|
||||
setsubmenu("");
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -9217,6 +9212,7 @@ const DisplayPartnerSession = (props) => {
|
|||
setnb_stagiaire_Preinscrit("");
|
||||
setnb_stagiaire_Inscrit("");
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
setRows([]);
|
||||
setRows_insc([]);
|
||||
setRows_preinsc([]);
|
||||
|
|
@ -10434,6 +10430,7 @@ const DisplayPartnerSession = (props) => {
|
|||
setDelete_LIST_Session_Formation_api("true");
|
||||
setDelete_LIST_Session_Formation_result(res.data.message);
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
setaddOneParticipant();
|
||||
setdisplay_detail_insc();
|
||||
setselected_code_session();
|
||||
|
|
@ -10496,6 +10493,7 @@ const DisplayPartnerSession = (props) => {
|
|||
setDupliquer_LIST_Session_Formation_api("true");
|
||||
setDupliquer_LIST_Session_Formation_result(res.data.message);
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
setaddOneParticipant();
|
||||
setdisplay_detail_insc();
|
||||
setselected_code_session();
|
||||
|
|
@ -12433,6 +12431,7 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
setactionmass_ftion_val();
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
settab_convention_pieces_jointes_result([])
|
||||
};
|
||||
|
||||
|
|
@ -14365,6 +14364,7 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
const handleChange_display_session_with_alert = (event) => {
|
||||
setSelectionModel([]);
|
||||
setactionmass_ftion_val("");
|
||||
setdisplay_session_with_alert(event.target.checked);
|
||||
};
|
||||
|
||||
|
|
@ -19631,7 +19631,7 @@ const DisplayPartnerSession = (props) => {
|
|||
<div className="div_row" > <hr className="mysy_hr_text" />
|
||||
</div>
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
Etape
|
||||
</div>
|
||||
{rowss && String(session_selected_row_id).length > 0 && <div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
|
||||
|
|
@ -19640,7 +19640,7 @@ const DisplayPartnerSession = (props) => {
|
|||
</div>
|
||||
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
Code session
|
||||
</div>
|
||||
{rowss && String(session_selected_row_id).length > 0 && <div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
|
||||
|
|
@ -19649,7 +19649,7 @@ const DisplayPartnerSession = (props) => {
|
|||
</div>
|
||||
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
Durée
|
||||
</div>
|
||||
{rowss && String(session_selected_row_id).length > 0 && <div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
|
||||
|
|
@ -19659,7 +19659,7 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
Modalité
|
||||
|
||||
</div>
|
||||
|
|
@ -19670,7 +19670,7 @@ const DisplayPartnerSession = (props) => {
|
|||
</div>
|
||||
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
Date début
|
||||
</div>
|
||||
|
||||
|
|
@ -19680,7 +19680,7 @@ const DisplayPartnerSession = (props) => {
|
|||
</div>
|
||||
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
Date fin
|
||||
</div>
|
||||
{rowss && String(session_selected_row_id).length > 0 && <div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
|
||||
|
|
@ -19689,7 +19689,7 @@ const DisplayPartnerSession = (props) => {
|
|||
</div>
|
||||
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
Prix
|
||||
</div>
|
||||
{rowss && String(session_selected_row_id).length > 0 && <div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
|
||||
|
|
@ -19699,7 +19699,7 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
Nb participants
|
||||
</div>
|
||||
{rowss && String(session_selected_row_id).length > 0 && <div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
|
||||
|
|
@ -19708,7 +19708,7 @@ const DisplayPartnerSession = (props) => {
|
|||
</div>
|
||||
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
Taux Remplissage
|
||||
</div>
|
||||
{rowss && String(session_selected_row_id).length > 0 && <div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
|
||||
|
|
@ -19731,7 +19731,7 @@ const DisplayPartnerSession = (props) => {
|
|||
</div>
|
||||
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
Ftion Publiée
|
||||
</div>
|
||||
{rowss && String(session_selected_row_id).length > 0 && <div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
|
||||
|
|
@ -19740,7 +19740,7 @@ const DisplayPartnerSession = (props) => {
|
|||
</div>
|
||||
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop:'10px' }}>
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
Inclus BPF
|
||||
</div>
|
||||
{rowss && String(session_selected_row_id).length > 0 && String(JSON.parse(rowss[session_selected_row_id]).is_bpf) === "1" &&
|
||||
|
|
@ -27615,26 +27615,26 @@ const DisplayPartnerSession = (props) => {
|
|||
<div className="div_row" style={{ "textAlign": "right", "marginTop": "0.5rem" }}>
|
||||
|
||||
{<Button className="bton_emarge" onClick={(event, value) => {
|
||||
Getall_Sequence_Of_Session(selected_session_id);
|
||||
setVal([]);
|
||||
setValo([]);
|
||||
Getall_Sequence_Of_Session(selected_session_id);
|
||||
setVal([]);
|
||||
setValo([]);
|
||||
|
||||
if (selected_session_invoiced_statut === "1") {
|
||||
const response = window.confirm("Cette session est déjà en cours de facturation. Toute modification peut avoir un impact. Souhaitez-vous continuer ?");
|
||||
if (!response) {
|
||||
return;
|
||||
}
|
||||
if (selected_session_invoiced_statut === "1") {
|
||||
const response = window.confirm("Cette session est déjà en cours de facturation. Toute modification peut avoir un impact. Souhaitez-vous continuer ?");
|
||||
if (!response) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
else if (selected_session_invoiced_statut === "2") {
|
||||
const response = window.confirm("Cette session est déjà entièrement facturée. Toute modification peut avoir un impact. Souhaitez-vous continuer ?");
|
||||
if (!response) {
|
||||
return;
|
||||
}
|
||||
else if (selected_session_invoiced_statut === "2") {
|
||||
const response = window.confirm("Cette session est déjà entièrement facturée. Toute modification peut avoir un impact. Souhaitez-vous continuer ?");
|
||||
if (!response) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
setDialog_Emargement_Selection_open(true);
|
||||
}}>Initialiser émargement</Button>}
|
||||
setDialog_Emargement_Selection_open(true);
|
||||
}}>Initialiser émargement</Button>}
|
||||
|
||||
|
||||
<Button className="bton_emarge" onClick={(event) => {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -509,7 +509,7 @@ const DistplayPartnerTraningsPage = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -525,7 +525,7 @@ const DistplayPartnerTraningsPage = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -111,7 +111,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
|
|||
|
||||
return (
|
||||
<nav style={{ width: '100%', textAlign: 'center' }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ function Emarge_QR_Code() {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ const Employes = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -148,7 +148,7 @@ const Employes = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ const Equipe_Team = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -135,7 +135,7 @@ const Equipe_Team = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ const Groupe_Apprenant = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -136,7 +136,7 @@ const Groupe_Apprenant = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ function Inscription_Information(props) {
|
|||
|
||||
function RecordData() {
|
||||
const formData = new FormData();
|
||||
const url = process.env.REACT_APP_API_URL + "myclass/api/AddStagiairetoClass/";
|
||||
const url = process.env.REACT_APP_API_URL + "myclass/api/AddStagiairetoClass_from_marketplace/";
|
||||
|
||||
var nom = leads_nom;
|
||||
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ const Intranet_Commande_Devis = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ const Intranet_Factures_Client = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -343,7 +343,7 @@ registerLocale('fr', fr);
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -359,7 +359,7 @@ registerLocale('fr', fr);
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ registerLocale('fr', fr);
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ const Jury = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -181,7 +181,7 @@ const Jury = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -91,7 +91,7 @@ registerLocale('fr', fr);
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ const Module_Attestation_Formation = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -81,7 +81,7 @@ const Module_Attestation_Formation = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -142,7 +142,7 @@ registerLocale('fr', fr);
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ const Module_Ent_Mes_Formations = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -154,7 +154,7 @@ const Module_Ent_Mes_Formations = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ const Module_Ent_Mes_Notes = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -110,7 +110,7 @@ const Module_Ent_Mes_Notes = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ const Module_Ent_Message_Public = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ const Module_Ent_Mon_Planning = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -243,7 +243,7 @@ const Module_Ent_Mon_Planning = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ const Module_Evaluation_Positionnement = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ registerLocale('fr', fr);
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -39,8 +39,10 @@ import DialogContentText from '@mui/material/DialogContentText';
|
|||
import DialogTitle from '@mui/material/DialogTitle';
|
||||
import 'react-tooltip/dist/react-tooltip.css'
|
||||
import { Tooltip } from 'react-tooltip'
|
||||
|
||||
import TextareaAutosize from '@mui/material/TextareaAutosize';
|
||||
import Module_Alert_Confirmation from "./Module_Alert_Confirmation";
|
||||
import { FaComment } from "react-icons/fa6";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
|
||||
dialog: {
|
||||
|
|
@ -106,7 +108,7 @@ const Module_RH_Tutorat = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop: '5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -154,7 +156,7 @@ const Module_RH_Tutorat = (props) => {
|
|||
|
||||
},
|
||||
{
|
||||
field: 'include_com', headerName: 'Notif.', hide: false, maxWidth: 80, renderCell: (params) => <ExpandableCell_50 {...params} />,
|
||||
field: 'include_com', headerName: 'Notif.', hide: false, maxWidth: 80, renderCell: (params) => <ExpandableCell_50 {...params} />,
|
||||
renderCell: (cellValues) => {
|
||||
return (
|
||||
<div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", textAlign: 'center', width: '100%' }}>
|
||||
|
|
@ -170,16 +172,29 @@ const Module_RH_Tutorat = (props) => {
|
|||
{ field: 'nom', headerName: 'Nom', flex: 1, hide: false, minWidth: 180, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'prenom', headerName: 'Prénom', flex: 1, hide: false, minWidth: 180, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'email', headerName: 'Email', minWidth: 300, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'telephone_mobile', headerName: 'Télephone', hide: true, Width: 0, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{
|
||||
field: 'comment', headerName: 'comment', maxWidth: 100, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />,
|
||||
renderCell: (cellValues) => {
|
||||
return (
|
||||
<div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", textAlign: 'center', width: '100%', paddingTop: '5px' }}>
|
||||
{cellValues.row.comment && String(cellValues.row.comment).length > 0 && <> <FaComment style={{ fontSize: "16px", color: "green" }} /></>}
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
{ field: 'date_naissance', headerName: 'Naissance', minWidth: 150, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'tuteur_role_label', headerName: 'Rôle', hide: false, minWidth: 150, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'class_title', headerName: 'Formation', minWidth: 300, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'tuteur_role_label', headerName: 'Rôle', hide: false, minWidth: 150, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'class_title', headerName: 'Formation', minWidth: 300, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'date_debut', headerName: 'Du', minWidth: 150, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'date_fin', headerName: 'Au', minWidth: 150, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{
|
||||
field: 'mode_animation', headerName: 'Animation', maxWidth: 100,
|
||||
field: 'mode_animation', headerName: 'Animation', maxWidth: 100,
|
||||
renderCell: (cellValues) => {
|
||||
return (
|
||||
<div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", textAlign: 'center', width: '100%' }}>
|
||||
<div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", textAlign: 'center', width: '100%' }}>
|
||||
{cellValues.row.mode_animation && String(cellValues.row.mode_animation) === "2" && "Hybr."}
|
||||
{cellValues.row.mode_animation && String(cellValues.row.mode_animation) === "1" && "Dist."}
|
||||
{cellValues.row.mode_animation && String(cellValues.row.mode_animation) === "0" && "Prés."}
|
||||
|
|
@ -189,11 +204,11 @@ const Module_RH_Tutorat = (props) => {
|
|||
);
|
||||
}
|
||||
},
|
||||
{ field: 'code_session', headerName: 'Code Session', minWidth: 150, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'code_session', headerName: 'Code Session', minWidth: 150, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'session_titre', headerName: 'Titre Session', hide: true, Width: 0, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
|
||||
|
||||
{ field: 'telephone_mobile', headerName: 'Télephone', hide: true, Width: 0, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
|
||||
|
||||
|
||||
{
|
||||
|
|
@ -423,6 +438,7 @@ const Module_RH_Tutorat = (props) => {
|
|||
const [p_detail_inscrit_communication, setp_detail_inscrit_communication] = useState("0");
|
||||
const [p_detail_inscrit_civilite, setp_detail_inscrit_civilite] = useState("");
|
||||
const [p_detail_inscrit_date_naissance, setp_detail_inscrit_date_naissance] = useState("");
|
||||
const [p_detail_inscrit_comment, setp_detail_inscrit_comment] = useState("");
|
||||
|
||||
function clear_incrit_fields() {
|
||||
setp_detail_inscrit_id("")
|
||||
|
|
@ -436,7 +452,8 @@ const Module_RH_Tutorat = (props) => {
|
|||
setp_detail_inscrit_date_naissance("");
|
||||
settutora_data_changed("");
|
||||
setadd_one_tutora("");
|
||||
setp_one_detail_inscrit_id("")
|
||||
setp_one_detail_inscrit_id("");
|
||||
setp_detail_inscrit_comment("");
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -478,6 +495,7 @@ const Module_RH_Tutorat = (props) => {
|
|||
form.append("inscription_id", p_detail_inscrit_id);
|
||||
form.append("role", p_detail_inscrit_role);
|
||||
form.append("include_com", p_detail_inscrit_communication);
|
||||
form.append("comment", p_detail_inscrit_comment);
|
||||
|
||||
|
||||
setLoading(true);
|
||||
|
|
@ -534,6 +552,7 @@ const Module_RH_Tutorat = (props) => {
|
|||
form.append("inscription_id", p_one_detail_inscrit_id);
|
||||
form.append("role", p_detail_inscrit_role);
|
||||
form.append("include_com", p_detail_inscrit_communication);
|
||||
form.append("comment", p_detail_inscrit_comment);
|
||||
|
||||
|
||||
setLoading(true);
|
||||
|
|
@ -965,6 +984,7 @@ const Module_RH_Tutorat = (props) => {
|
|||
|
||||
|
||||
</>}
|
||||
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
<b>Role </b>
|
||||
|
|
@ -1045,7 +1065,33 @@ const Module_RH_Tutorat = (props) => {
|
|||
|
||||
</div>
|
||||
|
||||
<div className="div_row_dialog">
|
||||
<div className="div_row_gauche_dialog_session" style={{ "textAlign": 'left', paddingTop: '10px' }}>
|
||||
Commentaire
|
||||
</div>
|
||||
<div className="div_row_droite_dialog_session" style={{ "textAlign": 'right' }}>
|
||||
<TextareaAutosize
|
||||
name="detail_tuteur_comment"
|
||||
id="detail_tuteur_comment"
|
||||
aria-label="minimum height"
|
||||
minRows={2}
|
||||
maxRows={2}
|
||||
//placeholder="Minimum 3 rows"
|
||||
style={{
|
||||
border: "1px solid gainsboro", width: '99%', padding: '2px',
|
||||
maxHeight: '3rem', height: '3rem', minHeight: '5rem', marginBottom: '3rem'
|
||||
}}
|
||||
value={p_detail_inscrit_comment}
|
||||
|
||||
onChange={(e) => {
|
||||
setp_detail_inscrit_comment(e.target.value);
|
||||
settutora_data_changed('1');
|
||||
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
|
@ -1220,6 +1266,7 @@ const Module_RH_Tutorat = (props) => {
|
|||
role: JSON.parse(item).role,
|
||||
include_com: JSON.parse(item).include_com,
|
||||
date_naissance: JSON.parse(item).date_naissance,
|
||||
comment: JSON.parse(item).comment,
|
||||
|
||||
}
|
||||
))}
|
||||
|
|
@ -1240,6 +1287,7 @@ const Module_RH_Tutorat = (props) => {
|
|||
setp_detail_inscrit_email(newSelectionModel.row.email);
|
||||
setp_detail_inscrit_telephone(newSelectionModel.row.telephone_mobile);
|
||||
setp_detail_inscrit_communication(newSelectionModel.row.include_com);
|
||||
setp_detail_inscrit_comment(newSelectionModel.row.comment);
|
||||
|
||||
setDialog_tutorat_inscrit_open(true);
|
||||
}}
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ const Module_Selection_Apprenants = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ const Module_Selection_Evaluation_Apprenants = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ const Module_Session_Evaluation = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ const Module_Session_Notes_Classement = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ const Module_Session_Planification = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ const Modules_Mes_Documents = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ const Modules_Mes_Documents_old = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ const Mon_Tableau_De_Bord = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -157,7 +157,7 @@ const Mon_Tableau_De_Bord = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ const Notes_Evaluation = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -133,7 +133,7 @@ const Notes_Evaluation = (props) => {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3446,11 +3446,6 @@ const DisplayPartnerPromotion = (props) => {
|
|||
setUpdate_Connexion_Context_result(res.data.message);
|
||||
|
||||
|
||||
// alert(res.data.message);
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(res.data.message);
|
||||
setalert_type("success");
|
||||
|
||||
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -3559,12 +3559,6 @@ const DisplayPartnerSession = (props) => {
|
|||
setUpdate_Connexion_Context_result(res.data.message);
|
||||
|
||||
|
||||
// alert(res.data.message);
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(res.data.message);
|
||||
setalert_type("success");
|
||||
|
||||
|
||||
}
|
||||
else {
|
||||
setUpdate_Connexion_Context_api("false");
|
||||
|
|
|
|||
|
|
@ -3446,11 +3446,6 @@ const DisplayPartnerPromotion = (props) => {
|
|||
setUpdate_Connexion_Context_result(res.data.message);
|
||||
|
||||
|
||||
// alert(res.data.message);
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(res.data.message);
|
||||
setalert_type("success");
|
||||
|
||||
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -3559,11 +3559,6 @@ const DisplayPartnerSession = (props) => {
|
|||
setUpdate_Connexion_Context_result(res.data.message);
|
||||
|
||||
|
||||
// alert(res.data.message);
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(res.data.message);
|
||||
setalert_type("success");
|
||||
|
||||
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ registerLocale('fr', fr);
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -1740,11 +1740,6 @@ const Partner = (props) => {
|
|||
setUpdate_Connexion_Context_result(res.data.message);
|
||||
|
||||
|
||||
/* alert(res.data.message);
|
||||
setdisplay_alert_mysy("1");
|
||||
setalert_message(res.data.message);
|
||||
setalert_type("success");*/
|
||||
|
||||
}
|
||||
else {
|
||||
setUpdate_Connexion_Context_api("false");
|
||||
|
|
@ -2116,8 +2111,8 @@ const Partner = (props) => {
|
|||
{String(menu) !== "mes_apprenants" && <MenuItem onClick={mes_apprenants_func} className="sousmenu" icon={<PiStudent className="icone_menu" />}> FICHE APPRENANTS </MenuItem>}
|
||||
{String(menu) === "mes_apprenants" && <MenuItem onClick={mes_apprenants_func} className="sousmenu_selected" icon={<PiStudent className="icone_menu" />}> FICHE APPRENANTS </MenuItem>}
|
||||
|
||||
{String(menu) !== "mes_stagiaires" && <MenuItem onClick={DiplayStagiaireList} className="sousmenu" icon={<FcReading className="icone_menu" />}> PARCOURS APPRENANTS </MenuItem>}
|
||||
{String(menu) === "mes_stagiaires" && <MenuItem onClick={DiplayStagiaireList} className="sousmenu_selected" icon={<FcReading className="icone_menu" />}> PARCOURS APPRENANTS </MenuItem>}
|
||||
{String(menu) !== "mes_stagiaires" && <MenuItem onClick={DiplayStagiaireList} className="sousmenu" icon={<FcReading className="icone_menu" />}> INSCRIPTIONS </MenuItem>}
|
||||
{String(menu) === "mes_stagiaires" && <MenuItem onClick={DiplayStagiaireList} className="sousmenu_selected" icon={<FcReading className="icone_menu" />}> INSCRIPTIONS </MenuItem>}
|
||||
|
||||
{String(formation_initiale) === "1" && String(menu) !== "groupe_apprenant" && <MenuItem onClick={groupe_apprenant_func} className="sousmenu" icon={<Groups2Icon className="icone_menu" />}> GROUPE APPRENANTS </MenuItem>}
|
||||
{String(formation_initiale) === "1" && String(menu) === "groupe_apprenant" && <MenuItem onClick={groupe_apprenant_func} className="sousmenu_selected" icon={<Groups2Icon className="icone_menu" />}> GROUPE APPRENANTS </MenuItem>}
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ const Partner_Client = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import Button from '@mui/material/Button';
|
|||
import axios from "axios";
|
||||
import { getCookie, } from 'react-use-cookie';
|
||||
import { useHistory } from "react-router-dom";
|
||||
|
||||
import Chip from "@mui/material/Chip";
|
||||
import { DataGrid, GridToolbar, frFR } from '@mui/x-data-grid';
|
||||
import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css";
|
||||
|
||||
|
|
@ -70,6 +70,7 @@ import Paper from '@material-ui/core/Paper';
|
|||
import Draggable from 'react-draggable';
|
||||
|
||||
import Module_Alert_Confirmation from "./Module_Alert_Confirmation";
|
||||
import { renderEditCountry } from "@mui/x-data-grid-generator";
|
||||
|
||||
function PaperComponent(props) {
|
||||
return (
|
||||
|
|
@ -142,7 +143,7 @@ const Partner_Commande = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop: '5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -640,6 +641,44 @@ const Partner_Commande = (props) => {
|
|||
}
|
||||
|
||||
|
||||
function Display_Detail_Order_Line_doubleclick(cellValues) {
|
||||
|
||||
|
||||
|
||||
var order_line_id = String(cellValues.row._id);
|
||||
|
||||
var order_line_formation = String(cellValues.row.order_line_formation);
|
||||
var order_line_qty = String(cellValues.row.order_line_qty);
|
||||
var order_line_prix_unitaire = String(cellValues.row.order_line_prix_unitaire);
|
||||
|
||||
setselected_order_line_id(order_line_id);
|
||||
|
||||
|
||||
setp_add_line_item_internal_url(order_line_formation);
|
||||
|
||||
setp_add_line_item(order_line_formation);
|
||||
setp_add_line_item_qty(order_line_qty);
|
||||
setp_add_line_item_price(order_line_prix_unitaire);
|
||||
setp_add_line_item_status(String(cellValues.row.order_line_status));
|
||||
setp_add_line_item_type(String(cellValues.row.order_line_type));
|
||||
setp_add_line_item_comment(String(cellValues.row.order_line_comment));
|
||||
|
||||
setp_add_line_session_id(String(cellValues.row.order_line_session_id));
|
||||
setp_add_line_session_code(String(cellValues.row.order_line_session_code));
|
||||
|
||||
setp_add_line_order_line_type_article(String(cellValues.row.order_line_type_article));
|
||||
setarticle_formation_ou_produit(String(cellValues.row.order_line_type_article));
|
||||
|
||||
//console.log(" String(cellValues.row.order_line_type_article = ", String(cellValues.row.order_line_type_article));
|
||||
|
||||
Get_Given_Line_Of_Partner_Order_Line_Data(order_line_id, order_internal_ref);
|
||||
|
||||
setDialog_Detail_Article_open(true);
|
||||
//alert(" afficher le detail de la ligne " + String(order_line_id));
|
||||
|
||||
}
|
||||
|
||||
|
||||
function clean_all_filters() {
|
||||
setp_filtre1("");
|
||||
setp_filtre1_value();
|
||||
|
|
@ -1316,7 +1355,6 @@ const Partner_Commande = (props) => {
|
|||
|
||||
var line = JSON.parse(rowss[selected_row_id]);
|
||||
|
||||
//console.log("### line = ", line);
|
||||
var order_id = line._id;
|
||||
setselected_id(order_id);
|
||||
|
||||
|
|
@ -2097,8 +2135,11 @@ const Partner_Commande = (props) => {
|
|||
|
||||
if (mylocal_order.order_line_session_id) {
|
||||
setp_add_line_session_id(mylocal_order.order_line_session_id);
|
||||
Get_List_Inscrit_To_Session(mylocal_order.order_line_session_id);
|
||||
} else {
|
||||
setp_add_line_session_id("");
|
||||
setNew_Get_List_Inscrit_To_Session_result([]);
|
||||
setGet_List_Inscrit_To_Session_result([]);
|
||||
}
|
||||
|
||||
if (mylocal_order.order_line_session_code_session) {
|
||||
|
|
@ -2116,12 +2157,16 @@ const Partner_Commande = (props) => {
|
|||
|
||||
if (mylocal_order.order_line_qty) {
|
||||
setp_add_line_item_qty(mylocal_order.order_line_qty);
|
||||
} else {
|
||||
setp_add_line_item_qty("0");
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (mylocal_order.order_line_prix_unitaire) {
|
||||
setp_add_line_item_price(mylocal_order.order_line_prix_unitaire);
|
||||
} else {
|
||||
setp_add_line_item_price("");
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -2137,6 +2182,8 @@ const Partner_Commande = (props) => {
|
|||
|
||||
if (mylocal_order.order_line_montant_reduction) {
|
||||
setp_add_line_item_reduction_total_amount(mylocal_order.order_line_montant_reduction);
|
||||
} else {
|
||||
setp_add_line_item_reduction_total_amount("");
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -2144,50 +2191,70 @@ const Partner_Commande = (props) => {
|
|||
if (mylocal_order.order_line_montant_toutes_taxes) {
|
||||
setp_add_line_item_total_amount_ttc(mylocal_order.order_line_montant_toutes_taxes);
|
||||
|
||||
} else {
|
||||
setp_add_line_item_total_amount_ttc("")
|
||||
}
|
||||
|
||||
|
||||
if (mylocal_order.order_line_tax) {
|
||||
setp_add_line_item_taxe(mylocal_order.order_line_tax);
|
||||
} else {
|
||||
setp_add_line_item_taxe("")
|
||||
}
|
||||
|
||||
if (mylocal_order.order_line_taux_taxe) {
|
||||
setpartner_taux_tva(mylocal_order.order_line_taux_taxe);
|
||||
} else {
|
||||
setpartner_taux_tva("")
|
||||
}
|
||||
|
||||
|
||||
if (mylocal_order.order_line_tax_amount) {
|
||||
setp_add_line_item_taxe_amount(mylocal_order.order_line_tax_amount);
|
||||
} else {
|
||||
setp_add_line_item_taxe_amount("")
|
||||
}
|
||||
|
||||
|
||||
if (mylocal_order.order_line_type_reduction) {
|
||||
setp_add_line_item_type_reduction(mylocal_order.order_line_type_reduction);
|
||||
} else {
|
||||
setp_add_line_item_type_reduction("")
|
||||
}
|
||||
|
||||
|
||||
if (mylocal_order.order_line_type_valeur) {
|
||||
setp_add_line_item_reduction_value(mylocal_order.order_line_type_valeur);
|
||||
} else {
|
||||
setp_add_line_item_reduction_value("")
|
||||
}
|
||||
|
||||
|
||||
if (mylocal_order.order_line_type) {
|
||||
setp_add_line_item_type(mylocal_order.order_line_type);
|
||||
} else {
|
||||
setp_add_line_item_type("")
|
||||
}
|
||||
|
||||
|
||||
if (mylocal_order.order_line_status) {
|
||||
setp_add_line_item_status(mylocal_order.order_line_status);
|
||||
} else {
|
||||
setp_add_line_item_status("")
|
||||
}
|
||||
|
||||
|
||||
if (mylocal_order.order_line_comment) {
|
||||
setp_add_line_item_comment(mylocal_order.order_line_comment);
|
||||
} else {
|
||||
setp_add_line_item_comment("")
|
||||
}
|
||||
|
||||
|
||||
if (mylocal_order.title) {
|
||||
setp_add_line_item_title(mylocal_order.title);
|
||||
} else {
|
||||
setp_add_line_item_title("")
|
||||
}
|
||||
|
||||
if (mylocal_order.order_line_type_apprenant) {
|
||||
|
|
@ -2200,6 +2267,8 @@ const Partner_Commande = (props) => {
|
|||
if (mylocal_order.order_line_montant_hors_taxes) {
|
||||
setp_add_line_item_total_amount_ht(mylocal_order.order_line_montant_hors_taxes);
|
||||
|
||||
} else {
|
||||
setp_add_line_item_total_amount_ht("")
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -2210,8 +2279,16 @@ const Partner_Commande = (props) => {
|
|||
|
||||
if (mylocal_order.duration_concat) {
|
||||
setp_add_line_item_duration_concat(mylocal_order.duration_concat);
|
||||
} else {
|
||||
setp_add_line_item_duration_concat("")
|
||||
}
|
||||
|
||||
if (mylocal_order.order_line_tab_inscrit_id) {
|
||||
|
||||
setinscrit_session(mylocal_order.order_line_tab_inscrit_id);
|
||||
} else {
|
||||
setinscrit_session([]);
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
|
|
@ -3149,6 +3226,23 @@ const Partner_Commande = (props) => {
|
|||
else
|
||||
form.append("order_line_session_id", "");
|
||||
|
||||
|
||||
var tab_inscrit_id = []
|
||||
for (var i = 0; i < inscrit_session.length; i++) {
|
||||
tab_inscrit_id.push(inscrit_session[i]._id)
|
||||
}
|
||||
|
||||
|
||||
var tab_inscrit_id_json_str = JSON.stringify(inscrit_session);
|
||||
|
||||
if (tab_inscrit_id && String(tab_inscrit_id).length > 0)
|
||||
form.append("order_line_tab_inscrit_id", tab_inscrit_id_json_str);
|
||||
else
|
||||
form.append("order_line_tab_inscrit_id", "");
|
||||
|
||||
|
||||
|
||||
|
||||
// Controle des champs obligatoires
|
||||
if (!p_add_line_item || String(p_add_line_item).length < 2) {
|
||||
//alert(" Vous devez choisir une formation ");
|
||||
|
|
@ -3185,7 +3279,6 @@ const Partner_Commande = (props) => {
|
|||
setdisplay_alert_mysy("1");
|
||||
setalert_message("Pour une reduction de type 'pourcentage', la valeur doit être comprise entre 0 et 100");
|
||||
setalert_type("error");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -3257,6 +3350,8 @@ const Partner_Commande = (props) => {
|
|||
|
||||
|
||||
|
||||
const [p_add_line_tab_inscrit, setp_add_line_tab_inscrit] = useState("");
|
||||
|
||||
const [p_add_line_session_id, setp_add_line_session_id] = useState("");
|
||||
const [p_add_line_session_code, setp_add_line_session_code] = useState("");
|
||||
|
||||
|
|
@ -3286,6 +3381,8 @@ const Partner_Commande = (props) => {
|
|||
setp_add_line_session_id("");
|
||||
setp_add_line_session_code("");
|
||||
setp_add_line_item_type_apprenant("");
|
||||
|
||||
setinscrit_session([])
|
||||
}
|
||||
|
||||
function Ajouter_une_ligne_article() {
|
||||
|
|
@ -3295,6 +3392,8 @@ const Partner_Commande = (props) => {
|
|||
Getall_TrainingSession();
|
||||
|
||||
setp_add_line_session_id("");
|
||||
|
||||
setinscrit_session([])
|
||||
setp_add_line_session_code("");
|
||||
setp_add_line_item("");
|
||||
setp_add_line_item_qty("");
|
||||
|
|
@ -3723,11 +3822,11 @@ const Partner_Commande = (props) => {
|
|||
// console.log(" p_add_line_item_type_reduction = ", p_add_line_item_type_reduction);
|
||||
|
||||
if (String(p_add_line_item_type_reduction) === "fixe") {
|
||||
console.log("fixe : p_add_line_item_reduction_value = ", reduct_value);
|
||||
// console.log("fixe : p_add_line_item_reduction_value = ", reduct_value);
|
||||
total_reduction = (parseFloat(String(reduct_value)) * qty).toFixed(2);
|
||||
|
||||
} if (String(p_add_line_item_type_reduction) === "percent") {
|
||||
console.log("percent p_add_line_item_reduction_value = ", reduct_value);
|
||||
// console.log("percent p_add_line_item_reduction_value = ", reduct_value);
|
||||
total_reduction = ((unit_price * parseFloat(String(reduct_value)) * qty) / 100).toFixed(2);
|
||||
|
||||
}
|
||||
|
|
@ -5039,6 +5138,117 @@ const Partner_Commande = (props) => {
|
|||
setdisplay_alert_mysy("");
|
||||
}
|
||||
|
||||
|
||||
const [New_Get_List_Inscrit_To_Session_result, setNew_Get_List_Inscrit_To_Session_result] = useState([{
|
||||
"_id": "",
|
||||
"id": "",
|
||||
"label": "",
|
||||
"nom": "",
|
||||
"prenom": "",
|
||||
"email": "",
|
||||
"civilite": "",
|
||||
"date_naissance": "",
|
||||
}]);
|
||||
|
||||
const [Get_List_Inscrit_To_Session_api, setGet_List_Inscrit_To_Session_api] = useState();
|
||||
const [Get_List_Inscrit_To_Session_message, setGet_List_Inscrit_To_Session_message] = useState();
|
||||
const [Get_List_Inscrit_To_Session_result, setGet_List_Inscrit_To_Session_result] = useState();
|
||||
function Get_List_Inscrit_To_Session(local_tab_session_id) {
|
||||
|
||||
var form = new FormData();
|
||||
const stored_cookie = getCookie('tokenmysypart');
|
||||
|
||||
form.append("token", stored_cookie);
|
||||
form.append("tab_session_id", local_tab_session_id);
|
||||
form.append("invoice_status", "");
|
||||
|
||||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_Inscrit_By_Invoice_Status_For_List_Session/";
|
||||
|
||||
axios.post(myurl, form).then(res => {
|
||||
//console.log(" In Get_List_Inscrit_To_Session res.data.status = " + res.data.status);
|
||||
//console.log(" In Get_List_Inscrit_To_Session res.data.message r_class = " + res.data.message);
|
||||
|
||||
if (String(res.data.status) === String("true")) {
|
||||
setGet_List_Inscrit_To_Session_api("true");
|
||||
setGet_List_Inscrit_To_Session_result(res.data.message);
|
||||
|
||||
var new_data2 = [];
|
||||
const new_data = res.data.message.map((x) => {
|
||||
|
||||
//---
|
||||
var localid = JSON.parse(x).id;
|
||||
var local_id = JSON.parse(x)._id;
|
||||
var local_nom = JSON.parse(x).nom;
|
||||
var local_prenom = JSON.parse(x).prenom;
|
||||
var local_email = JSON.parse(x).email;
|
||||
var local_civilite = JSON.parse(x).civilite;
|
||||
var local_date_naissance = JSON.parse(x).date_naissance;
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": local_id,
|
||||
"id": localid,
|
||||
"label": local_nom + " " + local_prenom,
|
||||
"nom": local_nom,
|
||||
"prenom": local_prenom,
|
||||
"email": local_email,
|
||||
"civilite": local_civilite,
|
||||
"date_naissance": local_date_naissance,
|
||||
|
||||
};
|
||||
new_data2.push(node);
|
||||
});
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": "",
|
||||
"id": "",
|
||||
"label": "",
|
||||
"nom": "",
|
||||
"prenom": "",
|
||||
"email": "",
|
||||
"civilite": "",
|
||||
"date_naissance": "",
|
||||
};
|
||||
new_data2.push(node);
|
||||
|
||||
if (new_data2.length > 0)
|
||||
setNew_Get_List_Inscrit_To_Session_result(new_data2);
|
||||
|
||||
}
|
||||
else if (String(res.data.status) === String("Err_Connexion")) {
|
||||
alert('Erreur: ' + res.data.message);
|
||||
history.push("/Connexion");
|
||||
}
|
||||
else {
|
||||
setGet_List_Inscrit_To_Session_api("false");
|
||||
setGet_List_Inscrit_To_Session_message(res.data.message);
|
||||
alert('Erreur: ' + res.data.message);
|
||||
}
|
||||
|
||||
}).catch((error) => {
|
||||
console.warn('Not good man :( Get_List_Inscrit_To_Session = ', error);
|
||||
setGet_List_Inscrit_To_Session_api("false");
|
||||
alert('Erreur: Impossible de recuperer la liste des inscrits');
|
||||
//setmyApimyApiMessage("")
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
const fixedVal_inscrit = [];
|
||||
const [inscrit_session, setinscrit_session] = useState([...fixedVal_inscrit]);
|
||||
const CustomChip = (chipVal, getTagProps) => {
|
||||
return chipVal.map((item, index) => (
|
||||
<Chip
|
||||
label={String(item)} //adding options label
|
||||
{...getTagProps({ index })}
|
||||
disabled={fixedVal_inscrit.indexOf(item) !== -1}
|
||||
/>
|
||||
));
|
||||
};
|
||||
|
||||
|
||||
return (
|
||||
|
||||
<div className="partner_commande">
|
||||
|
|
@ -5697,7 +5907,7 @@ const Partner_Commande = (props) => {
|
|||
style: {
|
||||
overflowY: 'unset',
|
||||
position: 'absolute',
|
||||
// top: '5rem',
|
||||
top: '10rem',
|
||||
margin: "2px",
|
||||
maxWidth: 'unset',
|
||||
width: '50rem'
|
||||
|
|
@ -5712,7 +5922,7 @@ const Partner_Commande = (props) => {
|
|||
PaperComponent={PaperComponent}
|
||||
aria-labelledby="draggable-dialog-title" >
|
||||
|
||||
<DialogTitle style={{ cursor: 'move', background: '#fff', fontFamily: 'DM Sans' }} id="draggable-dialog-title"> Edition Détail ligne <font style={{ fontWeight: "700" }}> {String(p_detail_header_type).toLocaleUpperCase()} </font> </DialogTitle>
|
||||
<DialogTitle style={{ cursor: 'move', background: '#fff', fontFamily: 'DM Sans' }} id="draggable-dialog-title"> Edition Détail ligne <font style={{ fontWeight: "700" }}> {String(p_detail_header_type).toLocaleUpperCase()} </font> </DialogTitle>
|
||||
<DialogContent>
|
||||
|
||||
{/*p_add_line_item = {p_add_line_item} <br/> */}
|
||||
|
|
@ -5740,6 +5950,7 @@ const Partner_Commande = (props) => {
|
|||
setp_add_line_session_id("");
|
||||
setp_add_line_session_code("");
|
||||
|
||||
|
||||
}
|
||||
}}
|
||||
|
||||
|
|
@ -5795,8 +6006,8 @@ const Partner_Commande = (props) => {
|
|||
</div>}
|
||||
|
||||
{(p_add_line_item || String(p_add_line_item) === "") && String(p_detail_header_statut_label).toLowerCase() !== "facturé"
|
||||
&& New_Getall_TrainingSession_result && New_Getall_TrainingSession_result.length > 0 && <div className="session_caract_Dialog" > Session
|
||||
|
||||
&& New_Getall_TrainingSession_result && New_Getall_TrainingSession_result.length > 0 &&
|
||||
<div className="session_caract_Dialog" > Session
|
||||
|
||||
<Autocomplete
|
||||
disablePortal
|
||||
|
|
@ -5813,10 +6024,13 @@ const Partner_Commande = (props) => {
|
|||
if (value && value._id) {
|
||||
setp_add_line_session_id(value._id);
|
||||
setp_add_line_session_code(value.code_session);
|
||||
Get_List_Inscrit_To_Session(value._id);
|
||||
} else {
|
||||
|
||||
setp_add_line_session_id("");
|
||||
setp_add_line_session_code("");
|
||||
setNew_Get_List_Inscrit_To_Session_result([]);
|
||||
setGet_List_Inscrit_To_Session_result([]);
|
||||
}
|
||||
}}
|
||||
|
||||
|
|
@ -5830,6 +6044,43 @@ const Partner_Commande = (props) => {
|
|||
|
||||
|
||||
|
||||
</div>}
|
||||
|
||||
{(p_add_line_item || String(p_add_line_item) === "") && String(p_detail_header_statut_label).toLowerCase() !== "facturé"
|
||||
&& New_Get_List_Inscrit_To_Session_result && New_Get_List_Inscrit_To_Session_result.length > 0 &&
|
||||
<div className="session_caract_Dialog" > Inscrit(s) zzzz
|
||||
|
||||
<Autocomplete
|
||||
disablePortal
|
||||
name="ref_session"
|
||||
id="ref_session"
|
||||
fullWidth
|
||||
options={New_Get_List_Inscrit_To_Session_result}
|
||||
|
||||
multiple
|
||||
onChange={(event, newValue) => {
|
||||
|
||||
setinscrit_session([
|
||||
...fixedVal_inscrit,
|
||||
...newValue.filter((i) => fixedVal_inscrit.indexOf(i) === -1),
|
||||
]);
|
||||
|
||||
|
||||
|
||||
}}
|
||||
value={inscrit_session}
|
||||
|
||||
|
||||
|
||||
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir une session"
|
||||
inputProps={{ ...params.inputProps, style: { fontSize: 12, height: "1.4rem" } }}
|
||||
|
||||
/>
|
||||
}
|
||||
/>
|
||||
|
||||
|
||||
|
||||
</div>}
|
||||
|
||||
|
||||
|
|
@ -5976,7 +6227,7 @@ const Partner_Commande = (props) => {
|
|||
</div>
|
||||
|
||||
|
||||
<div className="session_caract_Dialog" style={{ "textAlign": "left", "width": "50%", "height": "5rem", "float": "right" }}> Type apprenant
|
||||
<div className="session_caract_Dialog" style={{ "textAlign": "left", "width": "50%", "height": "5rem", "float": "right" }}> Type apprenant
|
||||
<Autocomplete
|
||||
disablePortal
|
||||
name="detail_type_apprenant"
|
||||
|
|
@ -6022,7 +6273,7 @@ const Partner_Commande = (props) => {
|
|||
/>
|
||||
</div>
|
||||
|
||||
<div className="session_caract_Dialog" style={{ "textAlign": "left", "width": "50%", "height": "5rem", "float": "right" }}> Type apprenant
|
||||
<div className="session_caract_Dialog" style={{ "textAlign": "left", "width": "50%", "height": "5rem", "float": "right" }}> Type apprenant
|
||||
<TextField
|
||||
|
||||
margin="dense"
|
||||
|
|
@ -8452,9 +8703,9 @@ const Partner_Commande = (props) => {
|
|||
|
||||
En confirmant cette opération, vous allez <i><font color="red"> lancer le processus de facturation</font></i>. <br />
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div className="gest_actions">
|
||||
<div style={{ "width": "45%", "float": "left" }}>
|
||||
<button className="gest_bton_popup" onClick={(event) => {
|
||||
|
|
@ -8767,7 +9018,8 @@ const Partner_Commande = (props) => {
|
|||
|
||||
|
||||
onRowDoubleClick={(newSelectionModel) => {
|
||||
handleClick_edit_order_From_Line(newSelectionModel.row.id);
|
||||
|
||||
Display_Detail_Order_Line_doubleclick(newSelectionModel);
|
||||
|
||||
}}
|
||||
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ const Partner_Config_Formulaires = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ const Partner_Config_Ftion_Initiale = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -129,6 +129,7 @@ const Partner_Configuration_Technique = (props) => {
|
|||
{String(cellValues.row.related_collection) === "quotation" && "Devis"}
|
||||
{String(cellValues.row.related_collection) === "survey" && "Questionnaires"}
|
||||
{String(cellValues.row.related_collection) === "emargement" && "Emargement"}
|
||||
{String(cellValues.row.related_collection) === "q_position" && "Q. Position"}
|
||||
</div>
|
||||
|
||||
);
|
||||
|
|
@ -1071,7 +1072,7 @@ const Partner_Configuration_Technique = (props) => {
|
|||
|
||||
const stored_cookie = getCookie('tokenmysypart');
|
||||
form.append("token", stored_cookie);
|
||||
form.append("tab_related_collection", "quotation,survey,emargement");
|
||||
form.append("tab_related_collection", "quotation,survey,emargement,q_position");
|
||||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Partner_Basic_Setup/";
|
||||
|
||||
|
|
@ -4639,8 +4640,8 @@ const Partner_Configuration_Technique = (props) => {
|
|||
<Button variant="outlined" onClick={submenu_competence} className="detail_class_submenu" id='competence' name='competence'>Compétences </Button>
|
||||
<Button variant="outlined" onClick={submenu_devis} className="detail_class_submenu" id='devis' name='devis'>Relances </Button>
|
||||
|
||||
<Button variant="outlined" onClick={submenu_automatic_doc} className="detail_class_submenu" id='devis' name='devis'>Courrier Auto </Button>
|
||||
<Button variant="outlined" onClick={submenu_email} className="detail_class_submenu" id='devis' name='devis'>Email </Button>
|
||||
<Button variant="outlined" onClick={submenu_automatic_doc} className="detail_class_submenu" id='automatic_doc' name='automatic_doc'>Courrier Auto </Button>
|
||||
<Button variant="outlined" onClick={submenu_email} className="detail_class_submenu" id='email' name='email'>Email </Button>
|
||||
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ registerLocale('fr', fr);
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ const Partner_Facture = (props) => {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ function Survey_Eval_QR_Code() {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ function ExpandableCell_50({ value }) {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : value.slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
@ -167,7 +167,7 @@ function ExpandableCell_50({ value }) {
|
|||
)}
|
||||
</div>}
|
||||
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ function UpdateAttendeeList() {
|
|||
|
||||
return (
|
||||
<nav>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all" }}>
|
||||
{value && <div style={{ paddingLeft: "5px", paddingRight: "15px", "display": "block", wordBreak: "break-all", paddingTop:'5px' }}>
|
||||
|
||||
{expanded ? value : String(value).slice(0, 50)}
|
||||
{value.length > 50 && (
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import React from 'react';
|
|||
|
||||
import CallToActionSection from './CallToActionSection';
|
||||
import FooterSection from './FooterSection';
|
||||
|
||||
|
||||
const Layout_Without_Testimony = () => {
|
||||
return (
|
||||
<div className="footer_automatic_files">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,25 @@
|
|||
import React from 'react';
|
||||
|
||||
import CallToActionSection from './CallToActionSection';
|
||||
import FooterSection from './FooterSection';
|
||||
|
||||
const Layout_Without_Testimony_Without_Space = () => {
|
||||
return (
|
||||
<div className="footer_automatic_files">
|
||||
<div className="layout_main_section" style={{minHeight:'unset'}}>
|
||||
|
||||
|
||||
<br />
|
||||
<div className="layout_call_to_action_section">
|
||||
<CallToActionSection />
|
||||
</div>
|
||||
<div className="layout_footer_section">
|
||||
<FooterSection />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Layout_Without_Testimony_Without_Space;
|
||||
|
||||
|
|
@ -4,7 +4,7 @@ import LandingPage_2026 from "../components/LandingPage_2026"
|
|||
|
||||
import New_C_Footer_2025_V2 from "../components/footer_automatic_files/Layout";
|
||||
import New_C_Header_2025_V2 from "../components/header_automatic_files/Header";
|
||||
import New_C_Footer_Without_Testimony_2025_V2 from "../components/footer_automatic_files/Layout_Without_Testimony";
|
||||
import Layout_Without_Testimony_Without_Space from "../components/footer_automatic_files/Layout_Without_Testimony_Without_Space";
|
||||
const landing_page_2026 = () => {
|
||||
|
||||
return (
|
||||
|
|
@ -12,7 +12,7 @@ const landing_page_2026 = () => {
|
|||
|
||||
<New_C_Header_2025_V2 />
|
||||
<LandingPage_2026 />
|
||||
<New_C_Footer_Without_Testimony_2025_V2 />
|
||||
<Layout_Without_Testimony_Without_Space />
|
||||
</div>
|
||||
|
||||
)
|
||||
|
|
|
|||
|
|
@ -690,7 +690,7 @@
|
|||
float: left;
|
||||
margin-bottom: 1rem;
|
||||
padding-top: 0.5rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.bton_enreg_dialog {
|
||||
|
|
|
|||
Loading…
Reference in New Issue