05/05/2024 - 17h30
parent
b7f4069936
commit
706be34a87
|
@ -39,7 +39,7 @@ import DialogActions from '@mui/material/DialogActions';
|
|||
import DialogContent from '@mui/material/DialogContent';
|
||||
import DialogContentText from '@mui/material/DialogContentText';
|
||||
import DialogTitle from '@mui/material/DialogTitle';
|
||||
|
||||
import AttachFileIcon from '@mui/icons-material/AttachFile';
|
||||
|
||||
const AddClassManual = (props) => {
|
||||
const history = useHistory();
|
||||
|
@ -2958,6 +2958,11 @@ const AddClassManual = (props) => {
|
|||
<Button variant="outlined" onClick={submenu_admission} className="detail_class_submenu" id='admission' name='admission'>Admission </Button>
|
||||
<Button variant="outlined" onClick={submenu_piece_jointe} className="detail_class_submenu" id='piece_jointe' name='piece_jointe'>Pièces Jointes </Button>
|
||||
</div>}
|
||||
|
||||
{String(props.formation_initiale) !== "1" &&
|
||||
<div className="div_row" style={{ "border": "None", "marginLeft": '10px' }} ref={myRef}>
|
||||
<Button variant="outlined" onClick={submenu_piece_jointe} className="detail_class_submenu" id='piece_jointe' name='piece_jointe'>Pièces Jointes </Button>
|
||||
</div>}
|
||||
<br />
|
||||
|
||||
|
||||
|
@ -3123,8 +3128,159 @@ const AddClassManual = (props) => {
|
|||
</div>
|
||||
</div>
|
||||
</div>}
|
||||
|
||||
{submenu && String(submenu) === "admission" && <div> admission </div>}
|
||||
{submenu && String(submenu) === "piece_jointe" && <div> piece_jointe </div>}
|
||||
|
||||
{submenu && String(submenu) === "piece_jointe" && <div>
|
||||
|
||||
|
||||
<div style={{ "marginRight": "10px" }}>
|
||||
|
||||
<div style={{ "padding": "5px", "marginRight": "10px" }}>
|
||||
<br />
|
||||
|
||||
<div className="div_row" style={{ "padding": "5px", "border": "None", "marginBottom": "1px" }}>
|
||||
|
||||
<div style={{ "fontSize": "12px" }}>
|
||||
<label htmlFor="upload-photo">
|
||||
<input
|
||||
style={{ display: "none" }}
|
||||
id="upload-photo"
|
||||
name="upload-photo"
|
||||
type="file"
|
||||
onChange={sessions_file_change_1}
|
||||
/>
|
||||
|
||||
<Fab
|
||||
color="secondary"
|
||||
size="small"
|
||||
component="span"
|
||||
aria-label="add"
|
||||
variant="extended"
|
||||
>
|
||||
<IoMdAddCircle /> <nav style={{ "fontSize": "12px" }}> Ajouter un fichier </nav>
|
||||
</Fab>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
{file_1_name && file_1_name.name &&
|
||||
<nav style={{ "fontSize": "12px" }}>
|
||||
<div className="session_caract">Nom du fichier <br />
|
||||
<TextField
|
||||
name="file_to_download_type_name"
|
||||
id="file_to_download_type_name"
|
||||
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
|
||||
disabled={false}
|
||||
className="disabled_style enable_style"
|
||||
value={p_detail_one_file_to_download_type_name}
|
||||
onChange={(e) => {
|
||||
setp_detail_one_file_to_download_type_name(e.target.value);
|
||||
|
||||
}}
|
||||
/>
|
||||
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
Fichier : {file_1_name.name} <br /> <font style={{ "cursor": "pointer" }}
|
||||
onClick={Delete_file_1_name}> Supprimer <IoIosRemoveCircleOutline /> </font>
|
||||
</nav>}
|
||||
|
||||
{Record_All_PJ_api && String(Record_All_PJ_api) === "true" && <div className="okUpdateData"> Pièce jointe enregistrée </div>}
|
||||
|
||||
{Record_All_PJ_api && String(Record_All_PJ_api) === "false" && <div className="koUpdateData"> {Record_All_PJ_message} </div>}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
{file_1_name && file_1_name.name && <div className="div_row" style={{ "padding": "5px", "border": "none" }}>
|
||||
|
||||
<div className="div_row_gauche" style={{ "padding": "5px", "border": "none" }}>
|
||||
<Button variant="contained" onClick={Record_All_PJ}
|
||||
startIcon={<AiTwotoneSave />} className="bton_enreg" style={{ "width": "80%" }}>ENREGISTRER LA PIECE</Button>
|
||||
</div>
|
||||
|
||||
|
||||
</div>}
|
||||
|
||||
{Get_List_Of_All_PJ_result && <div className="div_row" style={{ "padding": "5px", "border": "None" }}>
|
||||
<div className="div_row" style={{ "padding": "5px", "border": "None", "marginBottom": "1px" }}>
|
||||
|
||||
<div className="div_row" style={{ "padding": "5px", "border": "None" }}>
|
||||
{Get_List_Of_All_PJ_result && Get_List_Of_All_PJ_result.map((val) => (
|
||||
<div className="div_row_list_pj" >
|
||||
|
||||
<nav name={(JSON.parse(val).file_name)}
|
||||
id={(JSON.parse(val).file_name)}> <i> <AttachFileIcon />{(JSON.parse(val).file_business_object)} </i> <br /><font style={{ "color": "green", "cursor": "pointer" }}
|
||||
name={(JSON.parse(val).file_name)}
|
||||
id={(JSON.parse(val).file_name)} onClick={Download_one_attached_document}> Télécharger </font></nav>
|
||||
|
||||
|
||||
<Popup
|
||||
trigger={
|
||||
<nav style={{ "color": "red", "cursor": "pointer" }} > Supprimer</nav>
|
||||
|
||||
|
||||
}
|
||||
modal
|
||||
nested
|
||||
position="center center"
|
||||
>
|
||||
{close => (
|
||||
<div>
|
||||
<button className="gest_close" onClick={close}>
|
||||
×
|
||||
</button>
|
||||
<div className="gest_header"> MySy Information </div>
|
||||
<div className="gest_content">
|
||||
{' '}
|
||||
|
||||
En confirmant cette opération, la pièce jointe sera <i><font color="red"> définitivement supprimée</font></i>. <br />
|
||||
|
||||
|
||||
</div>
|
||||
<div className="gest_actions">
|
||||
<div style={{ "width": "45%", "float": "left" }}>
|
||||
<button className="gest_bton_popup" onClick={(event) => {
|
||||
|
||||
Delete_one_attached_document(event);
|
||||
close();
|
||||
}}
|
||||
name={(JSON.parse(val).file_name)} id={(JSON.parse(val).file_name)}
|
||||
> Valider </button>
|
||||
|
||||
</div>
|
||||
<div style={{ "width": "45%", "float": "right" }}>
|
||||
<button
|
||||
className="gest_bton_popup"
|
||||
onClick={() => {
|
||||
//console.log('modal closed ');
|
||||
close();
|
||||
}}
|
||||
>
|
||||
Annuler
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</Popup>
|
||||
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>}
|
||||
|
||||
{submenu && String(submenu) === "detail_formation" &&
|
||||
<div>
|
||||
|
@ -3690,6 +3846,10 @@ const AddClassManual = (props) => {
|
|||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
{submenu && String(submenu) === "detail_formation" && <div>
|
||||
|
||||
<div style={{ "width": "100%" }}>
|
||||
{String(datamodification) === String("1") && <div className="parter_div_filtrer_row">
|
||||
<div className="koUpdateData" style={{ "color": "orange", "textAlign": "center" }}> /!\ Pensez à enregistrer les modifications</div>
|
||||
|
@ -4126,31 +4286,7 @@ const AddClassManual = (props) => {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{/*<div className="training_text">
|
||||
<div className="plus_produit_desabled" onChange={DataUpdated}>
|
||||
<div className="titre_training_text"> Zone de diffusion</div>
|
||||
<textarea style={{ "width": "100%", "resize": "none", "fontSize": "13px", "height": "150px" }}
|
||||
name="zone_diffusion_v2"
|
||||
id="zone_diffusion_v2"
|
||||
onChange={change_zone_diffsion}
|
||||
rows={3}
|
||||
/>
|
||||
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
{/* <div className="training_text">
|
||||
<div className="plus_produit_desabled" onChange={DataUpdated}>
|
||||
<div className="titre_training_text"> Date et lieu de formation</div>
|
||||
<textarea style={{ "width": "100%", "resize": "none", "fontSize": "13px", "height": "150px" }}
|
||||
name="datelieu_v2"
|
||||
id="datelieu_v2"
|
||||
onChange={change_date_lieu}
|
||||
rows={3}
|
||||
/>
|
||||
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -4319,144 +4455,6 @@ const AddClassManual = (props) => {
|
|||
<hr className="hr_break" />
|
||||
</div>
|
||||
|
||||
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600" }}> Les pièces jointes </nav>
|
||||
|
||||
<div className="session_data" style={{ "padding": "5px", "marginRight": "10px" }}>
|
||||
<br />
|
||||
|
||||
<div className="div_row" style={{ "padding": "5px", "border": "None" }}>
|
||||
|
||||
<div style={{ "fontSize": "12px" }}>
|
||||
<label htmlFor="upload-photo">
|
||||
<input
|
||||
style={{ display: "none" }}
|
||||
id="upload-photo"
|
||||
name="upload-photo"
|
||||
type="file"
|
||||
onChange={sessions_file_change_1}
|
||||
/>
|
||||
|
||||
<Fab
|
||||
color="secondary"
|
||||
size="small"
|
||||
component="span"
|
||||
aria-label="add"
|
||||
variant="extended"
|
||||
>
|
||||
<IoMdAddCircle /> <nav style={{ "fontSize": "12px" }}> Ajouter un fichier </nav>
|
||||
</Fab>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
{file_1_name && file_1_name.name &&
|
||||
<nav style={{ "fontSize": "12px" }}>
|
||||
<div className="session_caract">Nom du fichier <br />
|
||||
<TextField
|
||||
name="file_to_download_type_name"
|
||||
id="file_to_download_type_name"
|
||||
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
|
||||
disabled={false}
|
||||
className="disabled_style enable_style"
|
||||
value={p_detail_one_file_to_download_type_name}
|
||||
onChange={(e) => {
|
||||
setp_detail_one_file_to_download_type_name(e.target.value);
|
||||
|
||||
}}
|
||||
/>
|
||||
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
Fichier : {file_1_name.name} <br /> <font style={{ "cursor": "pointer" }}
|
||||
onClick={Delete_file_1_name}> Supprimer <IoIosRemoveCircleOutline /> </font>
|
||||
</nav>}
|
||||
|
||||
{Record_All_PJ_api && String(Record_All_PJ_api) === "true" && <div className="okUpdateData"> Pièce jointe enregistrée </div>}
|
||||
|
||||
{Record_All_PJ_api && String(Record_All_PJ_api) === "false" && <div className="koUpdateData"> {Record_All_PJ_message} </div>}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
{file_1_name && file_1_name.name && <div className="div_row" style={{ "padding": "5px", "border": "none" }}>
|
||||
|
||||
<div className="div_row_gauche" style={{ "padding": "5px", "border": "none" }}>
|
||||
<Button variant="contained" onClick={Record_All_PJ}
|
||||
startIcon={<AiTwotoneSave />} className="bton_enreg">ENREGISTRER LA PIECE</Button>
|
||||
</div>
|
||||
|
||||
|
||||
</div>}
|
||||
|
||||
{Get_List_Of_All_PJ_result && <div className="div_row" style={{ "padding": "5px", "border": "None" }}>
|
||||
<div className="div_row" style={{ "padding": "5px", "border": "None" }}>
|
||||
Liste des pièces jointes <br />
|
||||
<div className="div_row" style={{ "padding": "5px", "border": "None" }}>
|
||||
{Get_List_Of_All_PJ_result && Get_List_Of_All_PJ_result.map((val) => (
|
||||
<div className="div_row_list_pj" >
|
||||
<nav style={{ "color": "green", "cursor": "pointer" }} onClick={Download_one_attached_document} name={(JSON.parse(val).file_name)} id={(JSON.parse(val).file_name)}> Télécharger <i> {(JSON.parse(val).file_business_object)}</i> </nav> <br />
|
||||
<Popup
|
||||
trigger={
|
||||
<nav style={{ "color": "red", "cursor": "pointer" }} > Supprimer</nav>
|
||||
|
||||
|
||||
}
|
||||
modal
|
||||
nested
|
||||
position="center center"
|
||||
>
|
||||
{close => (
|
||||
<div>
|
||||
<button className="gest_close" onClick={close}>
|
||||
×
|
||||
</button>
|
||||
<div className="gest_header"> MySy Information </div>
|
||||
<div className="gest_content">
|
||||
{' '}
|
||||
|
||||
En confirmant cette opération, la pièce jointe sera <i><font color="red"> définitivement supprimée</font></i>. <br />
|
||||
|
||||
|
||||
</div>
|
||||
<div className="gest_actions">
|
||||
<div style={{ "width": "45%", "float": "left" }}>
|
||||
<button className="gest_bton_popup" onClick={(event) => {
|
||||
|
||||
Delete_one_attached_document(event);
|
||||
close();
|
||||
}}
|
||||
name={(JSON.parse(val).file_name)} id={(JSON.parse(val).file_name)}
|
||||
> Valider </button>
|
||||
|
||||
</div>
|
||||
<div style={{ "width": "45%", "float": "right" }}>
|
||||
<button
|
||||
className="gest_bton_popup"
|
||||
onClick={() => {
|
||||
//console.log('modal closed ');
|
||||
close();
|
||||
}}
|
||||
>
|
||||
Annuler
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</Popup>
|
||||
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -4503,7 +4501,7 @@ const AddClassManual = (props) => {
|
|||
|
||||
|
||||
{String(datamodification) === String("0") && <div className="parter_div_filtrer_row_gauche" onClick={alertactivecompte}>
|
||||
<AiTwotoneEdit />MODIFICATION 1
|
||||
<AiTwotoneEdit />MODIFICATION
|
||||
</div>
|
||||
}
|
||||
|
||||
|
@ -4528,7 +4526,7 @@ const AddClassManual = (props) => {
|
|||
|
||||
</div>}
|
||||
|
||||
|
||||
</div>}
|
||||
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -4346,6 +4346,7 @@ const AddParnerClient = (props) => {
|
|||
</div>
|
||||
|
||||
|
||||
|
||||
</div>}
|
||||
|
||||
{Get_List_Of_All_PJ_result && <div className="div_row" style={{ "padding": "5px" }}>
|
||||
|
@ -4358,6 +4359,7 @@ const AddParnerClient = (props) => {
|
|||
id={(JSON.parse(val).file_name)}> <i> <AttachFileIcon />{(JSON.parse(val).file_business_object)} </i> <br/><font style={{ "color": "green", "cursor": "pointer" }}
|
||||
name={(JSON.parse(val).file_name)}
|
||||
id={(JSON.parse(val).file_name)} onClick={Download_one_attached_document}> Télécharger </font></nav>
|
||||
|
||||
<Popup
|
||||
trigger={
|
||||
<nav style={{ "color": "red", "cursor": "pointer" }} > Supprimer</nav>
|
||||
|
|
|
@ -75,6 +75,8 @@ import allLocales from '@fullcalendar/core/locales-all'
|
|||
import listPlugin from '@fullcalendar/list';
|
||||
import multiMonthPlugin from '@fullcalendar/multimonth'
|
||||
|
||||
import Module_Session_Planification from "./Module_Session_Planification";
|
||||
|
||||
const DisplayPartnerSession = (props) => {
|
||||
|
||||
const history = useHistory();
|
||||
|
@ -2000,18 +2002,18 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
async function submenu_sequence_session() {
|
||||
setsubmenu("sequence_session");
|
||||
|
||||
submenu_color_management("sequence_session");
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
async function submenu_planification_session() {
|
||||
setsubmenu("planification_session");
|
||||
submenu_color_management("planification_session");
|
||||
}
|
||||
|
||||
async function submenu_emargement() {
|
||||
setsubmenu("emargement");
|
||||
submenu_color_management("emargement");
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -2037,7 +2039,7 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
function submenu_color_management(current_menu) {
|
||||
const list_sous_menu = ["historique", "attestation", "evaluation", "editique", "emargement", "sequence_session", "detail_session", "inscrit",
|
||||
"preinscrit", "emargement", "piece_jointe", "q_positionnement"]
|
||||
"preinscrit", "emargement", "piece_jointe", "q_positionnement", "planification_session"]
|
||||
|
||||
for (let i = 0; i < list_sous_menu.length; i++) {
|
||||
|
||||
|
@ -3584,18 +3586,7 @@ const DisplayPartnerSession = (props) => {
|
|||
marginLeft: 1,
|
||||
border: 0,
|
||||
"& .MuiDataGrid-main": { borderRadius: 0 },
|
||||
/*'& div[data-rowIndex][role="row"]:nth-of-type(5n-4)': {
|
||||
color: "blue",
|
||||
fontSize: 18,
|
||||
//risky
|
||||
minHeight: "60px !important",
|
||||
height: 60,
|
||||
"& div": {
|
||||
minHeight: "60px !important",
|
||||
height: 60,
|
||||
lineHeight: "59px !important"
|
||||
}
|
||||
},*/
|
||||
|
||||
"& .MuiDataGrid-virtualScrollerRenderZone": {
|
||||
"& .MuiDataGrid-row": {
|
||||
"&:nth-child(2n)": { backgroundColor: "rgba(235, 235, 235, .7)" }
|
||||
|
@ -8406,7 +8397,6 @@ const DisplayPartnerSession = (props) => {
|
|||
const [Dialog_seq_ressource_1_open, setDialog_seq_ressource_1_open] = React.useState(false);
|
||||
|
||||
|
||||
|
||||
function Dialog_1_handle_change_participant_session(message) {
|
||||
setDialog_seq_ressource_1_message(message);
|
||||
setDialog_seq_ressource_1_open(true);
|
||||
|
@ -9792,18 +9782,7 @@ const DisplayPartnerSession = (props) => {
|
|||
border: 0,
|
||||
overflowX: 'scroll',
|
||||
"& .MuiDataGrid-main": { borderRadius: 0 },
|
||||
/*'& div[data-rowIndex][role="row"]:nth-of-type(5n-4)': {
|
||||
color: "blue",
|
||||
fontSize: 18,
|
||||
//risky
|
||||
minHeight: "60px !important",
|
||||
height: 60,
|
||||
"& div": {
|
||||
minHeight: "60px !important",
|
||||
height: 60,
|
||||
lineHeight: "59px !important"
|
||||
}
|
||||
},*/
|
||||
|
||||
"& .MuiDataGrid-virtualScrollerRenderZone": {
|
||||
"& .MuiDataGrid-row": {
|
||||
"&:nth-child(2n)": { backgroundColor: "rgba(235, 235, 235, .7)" }
|
||||
|
@ -10877,7 +10856,6 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
</Dialog>
|
||||
|
||||
|
||||
{/**** fin pour Dialogue pour EVENT SEMAINE TYPE */}
|
||||
|
||||
{/* Dialogue CREATION SEMAINE TYPE */}
|
||||
|
@ -10965,7 +10943,7 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
|
||||
|
||||
plugins={[ timeGridPlugin, daygridPlugin, interactionPlugin]}
|
||||
plugins={[timeGridPlugin, daygridPlugin, interactionPlugin]}
|
||||
views={["dayGridMonth", "dayGridWeek", "dayGridDay"]}
|
||||
slotMinTime={Partner_Debut_Journee}
|
||||
slotMaxTime={Partner_Fin_Journee}
|
||||
|
@ -11715,6 +11693,8 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
|
||||
{/*** fin dialogue pr agenda */}
|
||||
|
||||
|
||||
<Dialog
|
||||
open={Dialog_1_open}
|
||||
onClose={Dialog_1_handleClose}
|
||||
|
@ -13206,7 +13186,9 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
{selected_code_session && String(selected_code_session).length > 0 && <div className="div_row">
|
||||
<Button variant="outlined" ref={myRef} onClick={submenu_detail_session} className="detail_class_submenu" id='detail_session' name='detail_session'>Détail Session</Button>
|
||||
<Button variant="outlined" ref={myRef} onClick={submenu_sequence_session} className="detail_class_submenu" id='sequence_session' name='sequence_session'>Planif. ({String(nb_sequence)})</Button>
|
||||
{/* <Button variant="outlined" ref={myRef} onClick={submenu_sequence_session} className="detail_class_submenu" id='sequence_session' name='sequence_session'>Planif. ({String(nb_sequence)})</Button>*/}
|
||||
<Button variant="outlined" ref={myRef} onClick={submenu_planification_session} className="detail_class_submenu" id='planification_session' name='planification_session'>Planif . ({String(nb_sequence)})</Button>
|
||||
|
||||
<Button variant="outlined" onClick={submenu_preinscrit} className="detail_class_submenu" id='preinscrit' name='preinscrit'>Preinscript. ({String(nb_stagiaire_Preinscrit)}) </Button>
|
||||
<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_editique} className="detail_class_submenu" id='editique' name='editique'>Gestion </Button>
|
||||
|
@ -13215,6 +13197,7 @@ const DisplayPartnerSession = (props) => {
|
|||
<Button variant="outlined" onClick={submenu_attestation} className="detail_class_submenu" id='menu_eval' name='menu_eval'>Attestation</Button>
|
||||
<Button variant="outlined" onClick={submenu_q_positionnement} className="detail_class_submenu" id='q_positionnement' name='q_positionnement'>Q. Position </Button>
|
||||
<Button variant="outlined" onClick={submenu_piece_jointe} className="detail_class_submenu" id='piece_jointe' name='piece_jointe'>Pièces Jointes </Button>
|
||||
|
||||
{/*<Button variant="outlined" onClick={submenu_historique} className="detail_class_submenu" id='historique' name='historique'>Historique </Button>*/}
|
||||
|
||||
|
||||
|
@ -18908,6 +18891,14 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
</div>}
|
||||
|
||||
|
||||
{String(submenu) === String("planification_session") && <div style={{ "border": "None" }}>
|
||||
|
||||
<Module_Session_Planification conntected_employee_id={props.conntected_employee_id} related_collection={"session_formation"}
|
||||
related_collection_recid={selected_session_id} />
|
||||
|
||||
</div>}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -1330,7 +1330,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
|
|||
{/*** Affichage d'une UE */}
|
||||
{display_ue && String(display_ue) === "1" && String(add_one_ue) !== "1" &&
|
||||
<div className="session_data" onChange={is_EU_changed}>
|
||||
<h3> Affichage d'une UE </h3>
|
||||
|
||||
|
||||
<div className="session_caract"><b> Code </b><br />
|
||||
<TextField
|
||||
|
@ -1387,7 +1387,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
|
|||
/>
|
||||
</div>
|
||||
|
||||
<div className="session_caract"> Unité <br />
|
||||
<div className="session_caract"> Unité Durée <br />
|
||||
<TextField
|
||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
|
||||
required
|
||||
|
@ -1447,7 +1447,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
|
|||
}
|
||||
}}
|
||||
|
||||
renderInput={(params) => <TextField {...params} label="Unité de durée" />
|
||||
renderInput={(params) => <TextField {...params} label="" />
|
||||
}
|
||||
/>
|
||||
</a>
|
||||
|
@ -1459,7 +1459,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
|
|||
<div className="training_data">
|
||||
|
||||
|
||||
<div className="training_text">
|
||||
<div className="training_text" style={{border:"1px solid"}} >
|
||||
<div className="plus_produit_desabled">
|
||||
<div className="titre_training_text"> Pré-requis (max 1000 caractères) </div>
|
||||
<Editor
|
||||
|
@ -1533,7 +1533,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div className="training_text" >
|
||||
<div className="training_text" style= {{border:"1px solid"}} >
|
||||
<div className="plus_produit_desabled">
|
||||
<div className="titre_training_text"> Objectif (max 1000 caractères) </div>
|
||||
<Editor
|
||||
|
@ -1817,7 +1817,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
|
|||
|
||||
|
||||
<div>
|
||||
<div className="session_caract"> Durée <br />
|
||||
<div className="session_caract"> Unité Durée <br />
|
||||
|
||||
<TextField
|
||||
|
||||
|
@ -1835,7 +1835,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
|
|||
/>
|
||||
</div>
|
||||
|
||||
<div className="session_caract"> Unité <br />
|
||||
<div className="session_caract"> Unité Durée <br />
|
||||
<Tooltip className="tooltip_css" id="my-tooltip11" />
|
||||
<a data-tooltip-id="my-tooltip11" data-tooltip-html="Les durée autorisées sont : 'heure', 'jour', 'semaine', 'mois', 'annee', 'rythme participant'">
|
||||
|
||||
|
@ -1854,7 +1854,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
|
|||
}
|
||||
}}
|
||||
|
||||
renderInput={(params) => <TextField {...params} label="Unité de durée" />
|
||||
renderInput={(params) => <TextField {...params} label="" />
|
||||
}
|
||||
/>
|
||||
</a>
|
||||
|
@ -1940,7 +1940,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div className="training_text" >
|
||||
<div className="training_text" style= {{border:"1px solid"}} >
|
||||
<div className="plus_produit_desabled">
|
||||
<div className="titre_training_text"> Objectif (max 1000 caractères) </div>
|
||||
<Editor
|
||||
|
@ -1972,7 +1972,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
|
|||
</div>
|
||||
|
||||
|
||||
<div className="training_text">
|
||||
<div className="training_text" style= {{border:"1px solid"}} >
|
||||
<div className="plus_produit_desabled">
|
||||
<div className="titre_training_text"> Programme (max 1000 caractères) </div>
|
||||
<Editor
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -513,7 +513,7 @@ const Partner_Client = (props) => {
|
|||
if (rows_list_clients[selected_row_id]) {
|
||||
|
||||
|
||||
console.log(" OKKKKK ");
|
||||
//console.log(" OKKKKK ");
|
||||
|
||||
var line = JSON.parse(rows_list_clients[selected_row_id]);
|
||||
var clientmail = String(line.email);
|
||||
|
@ -759,22 +759,6 @@ const Partner_Client = (props) => {
|
|||
}
|
||||
/>}
|
||||
|
||||
{/*} <TextField
|
||||
name="filtre1"
|
||||
label="Choisir un champ"
|
||||
select
|
||||
sx={{ m: 1, width: '100%' }}
|
||||
value={p_filtre1}
|
||||
onChange={(e) => {
|
||||
setp_filtre1(e.target.value)
|
||||
}}
|
||||
>
|
||||
|
||||
<MenuItem value="nom_client" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }}>Nom </MenuItem>
|
||||
<MenuItem value="email_client" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Email </MenuItem>
|
||||
<MenuItem value="" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} > </MenuItem>
|
||||
|
||||
</TextField>*/}
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -1024,12 +1008,12 @@ const Partner_Client = (props) => {
|
|||
selectionModel={selectionModel}
|
||||
|
||||
onRowDoubleClick={(newSelectionModel) => {
|
||||
console.log(" 01 GRRRR newSelectionModel.row._id = ", newSelectionModel.row._id);
|
||||
//console.log(" 01 GRRRR newSelectionModel.row._id = ", newSelectionModel.row._id);
|
||||
setgridline_id(newSelectionModel.row.id);
|
||||
setselected_id(newSelectionModel.row._id);
|
||||
//handleClick_edit_session_From_Line(newSelectionModel.row.id);
|
||||
|
||||
console.log(" GRRRR newSelectionModel.row._id = ", newSelectionModel.row._id);
|
||||
//console.log(" GRRRR newSelectionModel.row._id = ", newSelectionModel.row._id);
|
||||
setDialog_client_open(true);
|
||||
|
||||
}}
|
||||
|
|
|
@ -377,6 +377,7 @@
|
|||
width: 100%;
|
||||
border-left: 3mm ridge rgba(211, 220, 50, .6);
|
||||
float: left;
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.detail_class_submenu {
|
||||
|
@ -403,6 +404,14 @@
|
|||
color: white;
|
||||
}
|
||||
|
||||
.session_caract {
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
float: left;
|
||||
text-align: left;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -826,6 +835,7 @@
|
|||
width: 50%;
|
||||
border-left: 3mm ridge rgba(211, 220, 50, .6);
|
||||
float: left;
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.detail_class_submenu {
|
||||
|
@ -853,6 +863,14 @@
|
|||
color: white;
|
||||
}
|
||||
|
||||
.session_caract {
|
||||
width: 50%;
|
||||
padding: 5px;
|
||||
float: left;
|
||||
text-align: left;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 992px) and (max-width: 1199px) {
|
||||
|
@ -1275,6 +1293,7 @@
|
|||
width: 30%;
|
||||
border-left: 3mm ridge rgba(211, 220, 50, .6);
|
||||
float: left;
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.detail_class_submenu {
|
||||
|
@ -1302,6 +1321,14 @@
|
|||
color: white;
|
||||
}
|
||||
|
||||
.session_caract {
|
||||
width: 33%;
|
||||
padding: 5px;
|
||||
float: left;
|
||||
text-align: left;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1200px) {
|
||||
|
@ -1740,6 +1767,7 @@
|
|||
width: 30%;
|
||||
border-left: 3mm ridge rgba(211, 220, 50, .6);
|
||||
float: left;
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.detail_class_submenu {
|
||||
|
@ -1767,6 +1795,14 @@
|
|||
color: white;
|
||||
}
|
||||
|
||||
.session_caract {
|
||||
width: 33%;
|
||||
padding: 5px;
|
||||
float: left;
|
||||
text-align: left;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
// - end media
|
||||
}
|
||||
|
||||
|
|
|
@ -589,10 +589,11 @@
|
|||
width: 100%;
|
||||
padding: 5px;
|
||||
float: left;
|
||||
height: 320px !important;
|
||||
height: 350px !important;
|
||||
min-height: 320px !important;
|
||||
max-height: 320px !important;
|
||||
max-height: 350px !important;
|
||||
margin-bottom: 10px;
|
||||
border: "1px solide";
|
||||
}
|
||||
|
||||
.titre_training_text {
|
||||
|
@ -1238,10 +1239,11 @@
|
|||
width: 50%;
|
||||
padding: 5px;
|
||||
float: left;
|
||||
height: 320px !important;
|
||||
height: 350px !important;
|
||||
min-height: 320px !important;
|
||||
max-height: 320px !important;
|
||||
max-height: 350px !important;
|
||||
margin-bottom: 10px;
|
||||
border: "1px solide";
|
||||
}
|
||||
|
||||
.titre_training_text {
|
||||
|
@ -1531,10 +1533,11 @@
|
|||
width: 50%;
|
||||
padding: 5px;
|
||||
float: left;
|
||||
height: 320px !important;
|
||||
height: 350px !important;
|
||||
min-height: 320px !important;
|
||||
max-height: 320px !important;
|
||||
max-height: 350px !important;
|
||||
margin-bottom: 10px;
|
||||
border: "1px solide";
|
||||
}
|
||||
|
||||
.titre_training_text {
|
||||
|
@ -2120,10 +2123,11 @@
|
|||
width: 50%;
|
||||
padding: 5px;
|
||||
float: left;
|
||||
height: 320px !important;
|
||||
height: 350px !important;
|
||||
min-height: 320px !important;
|
||||
max-height: 320px !important;
|
||||
max-height: 350px !important;
|
||||
margin-bottom: 10px;
|
||||
border: "1px solide";
|
||||
}
|
||||
|
||||
.titre_training_text {
|
||||
|
|
Loading…
Reference in New Issue