06/05/2024 - 22h30
parent
6ad6d2affb
commit
558b3ac142
|
@ -2612,6 +2612,11 @@ const AddClassManual = (props) => {
|
||||||
submenu_color_management("admission");
|
submenu_color_management("admission");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function submenu_note_evaluation() {
|
||||||
|
setsubmenu("note_evaluation");
|
||||||
|
submenu_color_management("note_evaluation");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function submenu_piece_jointe() {
|
function submenu_piece_jointe() {
|
||||||
setsubmenu("piece_jointe");
|
setsubmenu("piece_jointe");
|
||||||
|
@ -2956,6 +2961,10 @@ const AddClassManual = (props) => {
|
||||||
<Button variant="outlined" onClick={submenu_detail_formation} className="detail_class_submenu" id='detail_formation' name='detail_formation'>Détail Formation</Button>
|
<Button variant="outlined" onClick={submenu_detail_formation} className="detail_class_submenu" id='detail_formation' name='detail_formation'>Détail Formation</Button>
|
||||||
<Button variant="outlined" onClick={submenu_unite_enseignement} className="detail_class_submenu" id='unite_enseignement' name='unite_enseignement'>Unite Enseign. </Button>
|
<Button variant="outlined" onClick={submenu_unite_enseignement} className="detail_class_submenu" id='unite_enseignement' name='unite_enseignement'>Unite Enseign. </Button>
|
||||||
<Button variant="outlined" onClick={submenu_admission} className="detail_class_submenu" id='admission' name='admission'>Admission </Button>
|
<Button variant="outlined" onClick={submenu_admission} className="detail_class_submenu" id='admission' name='admission'>Admission </Button>
|
||||||
|
|
||||||
|
<Button variant="outlined" onClick={submenu_note_evaluation} className="detail_class_submenu" id='note_evaluation' name='note_evaluation'>Notes &Evaluation </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_piece_jointe} className="detail_class_submenu" id='piece_jointe' name='piece_jointe'>Pièces Jointes </Button>
|
||||||
</div>}
|
</div>}
|
||||||
|
|
||||||
|
@ -3132,6 +3141,8 @@ const AddClassManual = (props) => {
|
||||||
|
|
||||||
{submenu && String(submenu) === "admission" && <div> admission </div>}
|
{submenu && String(submenu) === "admission" && <div> admission </div>}
|
||||||
|
|
||||||
|
{submenu && String(submenu) === "note_evaluation" && <div> Note & Modalité d'évaluation </div>}
|
||||||
|
|
||||||
{submenu && String(submenu) === "piece_jointe" && <div>
|
{submenu && String(submenu) === "piece_jointe" && <div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13213,31 +13213,7 @@ const DisplayPartnerSession = (props) => {
|
||||||
{String(addOneSession) !== "1" && <div className="session_data" onChange={IssessionChanged}>
|
{String(addOneSession) !== "1" && <div className="session_data" onChange={IssessionChanged}>
|
||||||
|
|
||||||
|
|
||||||
{/*<div className="div_row" style={{ "marginTop": "1rem", "marginBottom": "1rem" }}>
|
|
||||||
|
|
||||||
<div className="div_row_gauche">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="div_row_droite">
|
|
||||||
<div style={{ "marginLeft": "2rem", "marginRight": "2rem", "marginBottom": "1rem" }}>
|
|
||||||
|
|
||||||
<label className="bton_image_class" onClick={(e) => {
|
|
||||||
Get_List_Stagiaire_Conventions();
|
|
||||||
setselected_convention_id();
|
|
||||||
setselected_convention_type();
|
|
||||||
setselected_convention_email_destinataire_prod();
|
|
||||||
|
|
||||||
setselected_convention_email_test();
|
|
||||||
///Get_Stagiaire_List_Email_Com();
|
|
||||||
setDialog_convention_open(true);
|
|
||||||
}} ><HiDocumentCheck /> <BsSend /> Editer une convention</label> <br />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>*/}
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div className="session_caract"> <b> Formation </b><br />
|
<div className="session_caract"> <b> Formation </b><br />
|
||||||
|
@ -18895,7 +18871,8 @@ const DisplayPartnerSession = (props) => {
|
||||||
{String(submenu) === String("planification_session") && <div style={{ "border": "None" }}>
|
{String(submenu) === String("planification_session") && <div style={{ "border": "None" }}>
|
||||||
|
|
||||||
<Module_Session_Planification conntected_employee_id={props.conntected_employee_id} related_collection={"session_formation"}
|
<Module_Session_Planification conntected_employee_id={props.conntected_employee_id} related_collection={"session_formation"}
|
||||||
related_collection_recid={selected_session_id} />
|
related_collection_recid={selected_session_id} SessionstartDate={new Date(moment(SessionstartDate, "DD/MM/YYYY"))}
|
||||||
|
SessionendDate={new Date(moment(SessionendDate, "DD/MM/YYYY"))}/>
|
||||||
|
|
||||||
</div>}
|
</div>}
|
||||||
|
|
||||||
|
|
|
@ -843,6 +843,7 @@ const Module_Session_Planification = (props) => {
|
||||||
alert(res.data.message);
|
alert(res.data.message);
|
||||||
Close_Dialog_Detail_seq_open();
|
Close_Dialog_Detail_seq_open();
|
||||||
Dialog_DIALOG_AGENDA_handleClose_buton();
|
Dialog_DIALOG_AGENDA_handleClose_buton();
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
setAdd_One_Sequence_Session_api("false");
|
setAdd_One_Sequence_Session_api("false");
|
||||||
|
@ -1589,8 +1590,8 @@ const Module_Session_Planification = (props) => {
|
||||||
{ "id": "0", "label": "Calendrier de travail", "value": "0" },
|
{ "id": "0", "label": "Calendrier de travail", "value": "0" },
|
||||||
{ "id": "1", "label": "La 1/2 journée", "value": "1" },
|
{ "id": "1", "label": "La 1/2 journée", "value": "1" },
|
||||||
{ "id": "2", "label": "La journée", "value": "2" },
|
{ "id": "2", "label": "La journée", "value": "2" },
|
||||||
{ "id": "3", "label": "Un modèle à ma semaine", "value": "3" },
|
{ "id": "3", "label": "Un modèle à la semaine", "value": "3" },
|
||||||
{ "id": "4", "label": "Un modèle à au mois", "value": "4" },
|
{ "id": "4", "label": "Un modèle au mois", "value": "4" },
|
||||||
]
|
]
|
||||||
|
|
||||||
const datagridSx = {
|
const datagridSx = {
|
||||||
|
@ -1703,7 +1704,7 @@ const Module_Session_Planification = (props) => {
|
||||||
form.append("objectif", p_detail_sequence_objectif);
|
form.append("objectif", p_detail_sequence_objectif);
|
||||||
form.append("commentaire", p_detail_sequence_comment);
|
form.append("commentaire", p_detail_sequence_comment);
|
||||||
|
|
||||||
form.append("_id", selected_sequence_id);
|
form.append("_id", p_detail_event_id);
|
||||||
|
|
||||||
//console.log(" form == ", form);
|
//console.log(" form == ", form);
|
||||||
|
|
||||||
|
@ -1733,7 +1734,7 @@ const Module_Session_Planification = (props) => {
|
||||||
setupdate_sequence();
|
setupdate_sequence();
|
||||||
|
|
||||||
alert(res.data.message);
|
alert(res.data.message);
|
||||||
Close_Dialog_Detail_seq_open();
|
Dialog_DIALOG_AGENDA_handleClose_buton();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
setUpdate_One_Sequence_Session_api("false");
|
setUpdate_One_Sequence_Session_api("false");
|
||||||
|
@ -1916,9 +1917,12 @@ const Module_Session_Planification = (props) => {
|
||||||
|
|
||||||
Getall_Sequence_Of_Session(props.related_collection_recid);
|
Getall_Sequence_Of_Session(props.related_collection_recid);
|
||||||
|
|
||||||
|
setSessionendDate(props.SessionendDate);
|
||||||
|
setSessionstartDate(props.SessionstartDate);
|
||||||
|
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
const [SessionendDate, setSessionendDate] = useState();
|
const [SessionendDate, setSessionendDate] = useState(props.SessionendDate);
|
||||||
|
|
||||||
const filterPassedTime_end = (time) => {
|
const filterPassedTime_end = (time) => {
|
||||||
const currentDate = new Date();
|
const currentDate = new Date();
|
||||||
|
@ -1927,7 +1931,7 @@ const Module_Session_Planification = (props) => {
|
||||||
return currentDate.getTime() < selectedDate.getTime();
|
return currentDate.getTime() < selectedDate.getTime();
|
||||||
};
|
};
|
||||||
|
|
||||||
const [SessionstartDate, setSessionstartDate] = useState();
|
const [SessionstartDate, setSessionstartDate] = useState(props.SessionstartDate);
|
||||||
|
|
||||||
const filterPassedTime_start = (time) => {
|
const filterPassedTime_start = (time) => {
|
||||||
const currentDate = new Date();
|
const currentDate = new Date();
|
||||||
|
@ -2490,7 +2494,9 @@ const Module_Session_Planification = (props) => {
|
||||||
|
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
<div className="div_row">
|
<div className="div_row">
|
||||||
{String(props.write_access) === "1" && String(p_detail_sequence_session_id) === "" && <div className="div_row_gauche">
|
|
||||||
|
|
||||||
|
{ String(p_detail_sequence_session_id) === "" && <div className="div_row_gauche">
|
||||||
{p_detail_sequence_event_type_semaine_id && String(p_detail_sequence_event_type_semaine_id) !== "" && <Button onClick={Update_event_type_semaine} className="bton_enreg_dialog">Mettre à jour</Button>}
|
{p_detail_sequence_event_type_semaine_id && String(p_detail_sequence_event_type_semaine_id) !== "" && <Button onClick={Update_event_type_semaine} className="bton_enreg_dialog">Mettre à jour</Button>}
|
||||||
|
|
||||||
{(!p_detail_sequence_event_type_semaine_id || String(p_detail_sequence_event_type_semaine_id) === "") && <Button onClick={Add_event_type_semaine} className="bton_enreg_dialog">Ajouter</Button>}
|
{(!p_detail_sequence_event_type_semaine_id || String(p_detail_sequence_event_type_semaine_id) === "") && <Button onClick={Add_event_type_semaine} className="bton_enreg_dialog">Ajouter</Button>}
|
||||||
|
@ -2607,7 +2613,8 @@ const Module_Session_Planification = (props) => {
|
||||||
<div className="div_row_dialog">
|
<div className="div_row_dialog">
|
||||||
|
|
||||||
<div style={{ "width": "98%", "marginLeft": "5px", }}>
|
<div style={{ "width": "98%", "marginLeft": "5px", }}>
|
||||||
{Dialog_seq_planif_periode_type && String(Dialog_seq_planif_periode_type) === "mois" && <FullCalendar
|
{Dialog_seq_planif_periode_type && String(Dialog_seq_planif_periode_type) === "mois" &&
|
||||||
|
<FullCalendar
|
||||||
height={550}
|
height={550}
|
||||||
locales={allLocales}
|
locales={allLocales}
|
||||||
locale={'fr'}
|
locale={'fr'}
|
||||||
|
@ -2615,6 +2622,7 @@ const Module_Session_Planification = (props) => {
|
||||||
selectable
|
selectable
|
||||||
//events={events}
|
//events={events}
|
||||||
events={semaine_type_event}
|
events={semaine_type_event}
|
||||||
|
initialDate = {SessionstartDate}
|
||||||
|
|
||||||
select={handleSelect_event_type_semaine}
|
select={handleSelect_event_type_semaine}
|
||||||
headerToolbar={{
|
headerToolbar={{
|
||||||
|
@ -2639,7 +2647,9 @@ const Module_Session_Planification = (props) => {
|
||||||
/>}
|
/>}
|
||||||
|
|
||||||
|
|
||||||
{Dialog_seq_planif_periode_type && String(Dialog_seq_planif_periode_type) === "semaine" && <FullCalendar
|
{Dialog_seq_planif_periode_type && String(Dialog_seq_planif_periode_type) === "semaine" &&
|
||||||
|
|
||||||
|
<FullCalendar
|
||||||
height={550}
|
height={550}
|
||||||
locales={allLocales}
|
locales={allLocales}
|
||||||
locale={'fr'}
|
locale={'fr'}
|
||||||
|
@ -2647,6 +2657,8 @@ const Module_Session_Planification = (props) => {
|
||||||
selectable
|
selectable
|
||||||
//events={events}
|
//events={events}
|
||||||
events={semaine_type_event}
|
events={semaine_type_event}
|
||||||
|
initialDate = {SessionstartDate}
|
||||||
|
|
||||||
|
|
||||||
select={handleSelect_event_type_semaine}
|
select={handleSelect_event_type_semaine}
|
||||||
headerToolbar={{
|
headerToolbar={{
|
||||||
|
@ -2970,7 +2982,7 @@ const Module_Session_Planification = (props) => {
|
||||||
<DialogTitle>MySy Information</DialogTitle>
|
<DialogTitle>MySy Information</DialogTitle>
|
||||||
<DialogContent className="DialogContent_width">
|
<DialogContent className="DialogContent_width">
|
||||||
<DialogContentText>
|
<DialogContentText>
|
||||||
{Dialog_DIALOG_AGENDA_message}
|
{Dialog_DIALOG_AGENDA_message} xxxx
|
||||||
</DialogContentText>
|
</DialogContentText>
|
||||||
|
|
||||||
<div className="session_caract_Dialog" >
|
<div className="session_caract_Dialog" >
|
||||||
|
@ -3022,7 +3034,7 @@ const Module_Session_Planification = (props) => {
|
||||||
|
|
||||||
value={p_detail_sequence_title}
|
value={p_detail_sequence_title}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
if (String(props.write_access) === "1" && String(p_detail_sequence_session_id) === "")
|
if (String(p_detail_sequence_session_id) === "")
|
||||||
setp_detail_sequence_title(e.target.value);
|
setp_detail_sequence_title(e.target.value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3160,7 +3172,7 @@ const Module_Session_Planification = (props) => {
|
||||||
|
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
<div className="div_row">
|
<div className="div_row">
|
||||||
{String(props.write_access) === "1" && String(p_detail_sequence_session_id) === "" && <div className="div_row_gauche">
|
{ String(p_detail_sequence_session_id) === "" && <div className="div_row_gauche">
|
||||||
{p_detail_event_id && String(p_detail_event_id) !== "" && <Button onClick={Update_One_Sequence_Session} className="bton_enreg_dialog">Mettre à jour</Button>}
|
{p_detail_event_id && String(p_detail_event_id) !== "" && <Button onClick={Update_One_Sequence_Session} className="bton_enreg_dialog">Mettre à jour</Button>}
|
||||||
{(!p_detail_event_id || String(p_detail_event_id) === "") && <Button onClick={Add_One_Sequence_Session} className="bton_enreg_dialog">Ajouter</Button>}
|
{(!p_detail_event_id || String(p_detail_event_id) === "") && <Button onClick={Add_One_Sequence_Session} className="bton_enreg_dialog">Ajouter</Button>}
|
||||||
|
|
||||||
|
@ -3177,7 +3189,7 @@ const Module_Session_Planification = (props) => {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{String(props.write_access) === "1" && String(p_detail_sequence_session_id) === "" && p_detail_event_id && String(p_detail_event_id) !== "" &&
|
{String(p_detail_sequence_session_id) === "" && p_detail_event_id && String(p_detail_event_id) !== "" &&
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
<div className="div_row" style={{ "textAlign": "center" }}>
|
<div className="div_row" style={{ "textAlign": "center" }}>
|
||||||
|
|
||||||
|
@ -3484,6 +3496,7 @@ const Module_Session_Planification = (props) => {
|
||||||
|
|
||||||
|
|
||||||
<div style={{ "width": "98%", "marginLeft": "5px", }}>
|
<div style={{ "width": "98%", "marginLeft": "5px", }}>
|
||||||
|
zzzz
|
||||||
<FullCalendar
|
<FullCalendar
|
||||||
height={550}
|
height={550}
|
||||||
locales={allLocales}
|
locales={allLocales}
|
||||||
|
@ -3492,7 +3505,7 @@ const Module_Session_Planification = (props) => {
|
||||||
selectable
|
selectable
|
||||||
//events={events}
|
//events={events}
|
||||||
events={Getall_Sequence_Of_Session_result_planning_view}
|
events={Getall_Sequence_Of_Session_result_planning_view}
|
||||||
|
initialDate = {SessionstartDate}
|
||||||
select={handleSelect}
|
select={handleSelect}
|
||||||
headerToolbar={{
|
headerToolbar={{
|
||||||
start: "today prev next",
|
start: "today prev next",
|
||||||
|
|
|
@ -104,6 +104,7 @@ import CalendarMonthIcon from '@mui/icons-material/CalendarMonth';
|
||||||
import CoPresentIcon from '@mui/icons-material/CoPresent';
|
import CoPresentIcon from '@mui/icons-material/CoPresent';
|
||||||
import LocalOfferIcon from '@mui/icons-material/LocalOffer';
|
import LocalOfferIcon from '@mui/icons-material/LocalOffer';
|
||||||
import DisplayPartnerUnite_Enseignement from "./DisplayPartnerUnite_Enseignement";
|
import DisplayPartnerUnite_Enseignement from "./DisplayPartnerUnite_Enseignement";
|
||||||
|
import Partner_Domaine_Categorie_Metier from "./Partner_Domaine_Categorie_Metier";
|
||||||
|
|
||||||
const Partner = (props) => {
|
const Partner = (props) => {
|
||||||
const { commingmenu, commingpack } = useParams();
|
const { commingmenu, commingpack } = useParams();
|
||||||
|
@ -412,7 +413,8 @@ const Partner = (props) => {
|
||||||
'mes_stagiaires', 'mes_employes', 'mon_materiel', 'config_document', 'factures_client', "setuplms", "config_technique",
|
'mes_stagiaires', 'mes_employes', 'mon_materiel', 'config_document', 'factures_client', "setuplms", "config_technique",
|
||||||
"config_champ_specific", "module_agenda", "config_session_steps", "config_jours_heures", "dashbord_formation",
|
"config_champ_specific", "module_agenda", "config_session_steps", "config_jours_heures", "dashbord_formation",
|
||||||
"dashbord_session", "mon_tableau_de_bord", "prix_achat", "mes_apprenants", "dashbord_ressources_humaines",
|
"dashbord_session", "mon_tableau_de_bord", "prix_achat", "mes_apprenants", "dashbord_ressources_humaines",
|
||||||
"dashbord_inscriptions", "mes_salles", "mes_opportunites", "config_formulaires", "dashbord_factures", "mes_ue"]
|
"dashbord_inscriptions", "mes_salles", "mes_opportunites", "config_formulaires", "dashbord_factures", "mes_ue",
|
||||||
|
"domaine_categorie_metier"]
|
||||||
|
|
||||||
|
|
||||||
if (action && list_menu.includes(action)) {
|
if (action && list_menu.includes(action)) {
|
||||||
|
@ -446,7 +448,7 @@ const Partner = (props) => {
|
||||||
// Cette fontion desactive tous les menu header et reactive just le menu_header concerné
|
// Cette fontion desactive tous les menu header et reactive just le menu_header concerné
|
||||||
function inactive_active_menu_header(current_menu_header) {
|
function inactive_active_menu_header(current_menu_header) {
|
||||||
const list_menu_header_names = ['my_account', 'my_class', 'my_session', 'my_apprenant', 'my_ressource', 'my_planning',
|
const list_menu_header_names = ['my_account', 'my_class', 'my_session', 'my_apprenant', 'my_ressource', 'my_planning',
|
||||||
'my_partners', 'my_invoices', 'my_prix_achat', 'my_e_learning', 'my_configuration', 'my_tbd', 'my_ue']
|
'my_partners', 'my_invoices', 'my_prix_achat', 'my_e_learning', 'my_configuration', 'my_tbd', 'my_ue', 'domaine_categorie_metier']
|
||||||
for (let i = 0; i < list_menu_header_names.length; i++) {
|
for (let i = 0; i < list_menu_header_names.length; i++) {
|
||||||
if (document.getElementsByName(String(list_menu_header_names[i])) && document.getElementsByName(String(list_menu_header_names[i]))[0]) {
|
if (document.getElementsByName(String(list_menu_header_names[i])) && document.getElementsByName(String(list_menu_header_names[i]))[0]) {
|
||||||
document.getElementsByName(String(list_menu_header_names[i]))[0].style.fontWeight = "400";
|
document.getElementsByName(String(list_menu_header_names[i]))[0].style.fontWeight = "400";
|
||||||
|
@ -461,7 +463,7 @@ const Partner = (props) => {
|
||||||
|
|
||||||
function inactive_active_menu_header_from_url_action(url_action) {
|
function inactive_active_menu_header_from_url_action(url_action) {
|
||||||
const list_menu_header_names = ['my_account', 'my_class', 'my_session', 'my_apprenant', 'my_ressource', 'my_planning',
|
const list_menu_header_names = ['my_account', 'my_class', 'my_session', 'my_apprenant', 'my_ressource', 'my_planning',
|
||||||
'my_partners', 'my_invoices', 'my_prix_achat', 'my_e_learning', 'my_configuration', 'my_tbd', 'my_ue']
|
'my_partners', 'my_invoices', 'my_prix_achat', 'my_e_learning', 'my_configuration', 'my_tbd', 'my_ue', 'domaine_categorie_metier']
|
||||||
for (let i = 0; i < list_menu_header_names.length; i++) {
|
for (let i = 0; i < list_menu_header_names.length; i++) {
|
||||||
if (document.getElementsByName(String(list_menu_header_names[i])) && document.getElementsByName(String(list_menu_header_names[i]))[0]) {
|
if (document.getElementsByName(String(list_menu_header_names[i])) && document.getElementsByName(String(list_menu_header_names[i]))[0]) {
|
||||||
document.getElementsByName(String(list_menu_header_names[i]))[0].style.fontWeight = "400";
|
document.getElementsByName(String(list_menu_header_names[i]))[0].style.fontWeight = "400";
|
||||||
|
@ -758,8 +760,7 @@ const Partner = (props) => {
|
||||||
|
|
||||||
|
|
||||||
function DiplayPartner_UE(event) {
|
function DiplayPartner_UE(event) {
|
||||||
var security_retval = check_user_acces_right("session", "read");
|
var security_retval = check_user_acces_right("formation", "read");
|
||||||
|
|
||||||
|
|
||||||
if (security_retval === 1) {
|
if (security_retval === 1) {
|
||||||
setmenu("mes_ue");
|
setmenu("mes_ue");
|
||||||
|
@ -775,6 +776,24 @@ const Partner = (props) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function DiplayPartner_Domaine_Categorie_Metier(event) {
|
||||||
|
var security_retval = check_user_acces_right("formation", "read");
|
||||||
|
|
||||||
|
if (security_retval === 1) {
|
||||||
|
setmenu("domaine_categorie_metier");
|
||||||
|
setapiexcelimportmessage();
|
||||||
|
setformation_file_name();
|
||||||
|
history.push("/Partner/domaine_categorie_metier");
|
||||||
|
document.body.style.backgroundColor = "#ffffff";
|
||||||
|
|
||||||
|
inactive_active_menu_header("domaine_categorie_metier");
|
||||||
|
} else {
|
||||||
|
Dialog_1_handle_acces_insuffisant("Vos droits ne sont pas suffisants pour acceder à la gestion des sessions");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function DiplaySessionList(event) {
|
function DiplaySessionList(event) {
|
||||||
var security_retval = check_user_acces_right("session", "read");
|
var security_retval = check_user_acces_right("session", "read");
|
||||||
|
|
||||||
|
@ -1477,6 +1496,8 @@ const Partner = (props) => {
|
||||||
{String(menu) !== "mes_ue" && <MenuItem onClick={DiplayPartner_UE} className="sousmenu" icon={<FcOrgUnit className="icone_menu" />}> UNIT. ENSEI. </MenuItem>}
|
{String(menu) !== "mes_ue" && <MenuItem onClick={DiplayPartner_UE} className="sousmenu" icon={<FcOrgUnit className="icone_menu" />}> UNIT. ENSEI. </MenuItem>}
|
||||||
{String(menu) === "mes_ue" && <MenuItem onClick={DiplayPartner_UE} className="sousmenu_selected" icon={<FcOrgUnit className="icone_menu" />}> UNIT. ENSEI. </MenuItem>}
|
{String(menu) === "mes_ue" && <MenuItem onClick={DiplayPartner_UE} className="sousmenu_selected" icon={<FcOrgUnit className="icone_menu" />}> UNIT. ENSEI. </MenuItem>}
|
||||||
|
|
||||||
|
{String(menu) !== "domaine_categorie_metier" && <MenuItem onClick={DiplayPartner_Domaine_Categorie_Metier} className="sousmenu" icon={<FcOrgUnit className="icone_menu" />}> CARACTERISTIQUES </MenuItem>}
|
||||||
|
{String(menu) === "domaine_categorie_metier" && <MenuItem onClick={DiplayPartner_Domaine_Categorie_Metier} className="sousmenu_selected" icon={<FcOrgUnit className="icone_menu" />}> CARACTERISTIQUES </MenuItem>}
|
||||||
|
|
||||||
</SubMenu>
|
</SubMenu>
|
||||||
|
|
||||||
|
@ -1742,6 +1763,14 @@ const Partner = (props) => {
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{String(menu) === "domaine_categorie_metier" &&
|
||||||
|
<div className="div_droite">
|
||||||
|
|
||||||
|
<Partner_Domaine_Categorie_Metier ispending={partnerstatus} currentpack={partnerPackService} conntected_employee_id={conntected_employee_id}
|
||||||
|
class_external_code={orderid} class_internal_url={packs} formation_initiale={formation_initiale} />
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -2352,6 +2381,13 @@ const Partner = (props) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
{String(menu) === "domaine_categorie_metier" &&
|
||||||
|
<div className="div_droite div_droite_ralonge">
|
||||||
|
<Partner_Domaine_Categorie_Metier ispending={partnerstatus} currentpack={partnerPackService} conntected_employee_id={conntected_employee_id}
|
||||||
|
class_external_code={orderid} class_internal_url={packs} formation_initiale={formation_initiale} />
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,7 @@ import parse from 'html-react-parser';
|
||||||
import { FcViewDetails, FcDisapprove } from "react-icons/fc";
|
import { FcViewDetails, FcDisapprove } from "react-icons/fc";
|
||||||
import 'react-tooltip/dist/react-tooltip.css'
|
import 'react-tooltip/dist/react-tooltip.css'
|
||||||
import { Tooltip } from 'react-tooltip'
|
import { Tooltip } from 'react-tooltip'
|
||||||
import add_plus from "../mysy_img/plus.png";
|
|
||||||
import excel_icone from "../mysy_img/excel_icone.png";
|
|
||||||
import participants from "../mysy_img/participants.png";
|
|
||||||
import fileDownload from 'js-file-download';
|
|
||||||
import Autocomplete from '@mui/material/Autocomplete';
|
import Autocomplete from '@mui/material/Autocomplete';
|
||||||
import Popup from 'reactjs-popup';
|
import Popup from 'reactjs-popup';
|
||||||
import 'reactjs-popup/dist/index.css';
|
import 'reactjs-popup/dist/index.css';
|
||||||
|
@ -2872,100 +2869,7 @@ 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_competence} className="detail_class_submenu" id='competence' name='competence'>Compétences </Button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{/*<div className="div_row">
|
|
||||||
<div className="titre1"> Utilisez les filtres !</div>
|
|
||||||
<div className="div_row" style={{ "marginBottom": "5px" }}>
|
|
||||||
<div className="div_row_gauche texte_area_filter" >
|
|
||||||
<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="config_name" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Nom du point de configuration </MenuItem>
|
|
||||||
|
|
||||||
|
|
||||||
</TextField>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div className="div_row_droite texte_area_filter_value" >
|
|
||||||
{p_filtre1 &&
|
|
||||||
<TextField
|
|
||||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
|
|
||||||
required
|
|
||||||
name="filtre1_value"
|
|
||||||
id="filtre1_value"
|
|
||||||
|
|
||||||
InputLabelProps={{
|
|
||||||
shrink: true,
|
|
||||||
}}
|
|
||||||
disabled={false}
|
|
||||||
className="disabled_style"
|
|
||||||
value={p_filtre1_value}
|
|
||||||
onChange={(e) => { setp_filtre1_value(e.target.value); }}
|
|
||||||
InputProps={{
|
|
||||||
endAdornment: (
|
|
||||||
<InputAdornment position="end">
|
|
||||||
<AiFillCloseCircle
|
|
||||||
style={{ 'cursor': "pointer", "color": "orangered" }}
|
|
||||||
onClick={(e) => {
|
|
||||||
setp_filtre1_value("");
|
|
||||||
}} />
|
|
||||||
</InputAdornment>
|
|
||||||
),
|
|
||||||
}}
|
|
||||||
|
|
||||||
/>
|
|
||||||
|
|
||||||
}
|
|
||||||
</div>
|
|
||||||
{p_filtre1 && <div className='filter_bton_add'>
|
|
||||||
<Tooltip className="tooltip_css" id="my-tooltip01" style={{ "fontSize": "12px" }} />
|
|
||||||
<a data-tooltip-id="my-tooltip01" data-tooltip-html="Ajouter une nouvelle ligne de filtre">
|
|
||||||
<MdAddCircleOutline onClick={(e) => {
|
|
||||||
setp_filtre2("1");
|
|
||||||
setp_filtre2_value("");
|
|
||||||
}} />
|
|
||||||
</a>
|
|
||||||
</div>}
|
|
||||||
{p_filtre1 && <div className='filter_bton_add'>
|
|
||||||
<Tooltip className="tooltip_css" id="my-tooltip02" style={{ "fontSize": "12px" }} />
|
|
||||||
<a data-tooltip-id="my-tooltip02" data-tooltip-html="Supprimer cette ligne de filtre">
|
|
||||||
<MdRemoveCircleOutline onClick={(e) => {
|
|
||||||
setp_filtre1();
|
|
||||||
setp_filtre1_value();
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</a>
|
|
||||||
</div>}
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="div_row" ref={myRef_head} id="myRef_head" style={{ "border": "None", "color": "orange", "textAlign": "center" }}>
|
|
||||||
|
|
||||||
<div className="div_row_gauche" style={{ "textAlign": 'left', 'marginLeft': '15px' }}>
|
|
||||||
<Button variant="contained" className="bton_enreg" onClick={"Getall_Parter_Invoice_With_Filter"}>Rechercher
|
|
||||||
</Button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
|
|
||||||
<Button variant="contained" className="bton_annule" onClick={"clean_all_filters"}>Annuler
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
</div>*/}
|
|
||||||
|
|
||||||
{/*** Technique */}
|
{/*** Technique */}
|
||||||
{String(submenu) === "technique" && <div className="div_row" style={{ paddingRight: '10px' }}>
|
{String(submenu) === "technique" && <div className="div_row" style={{ paddingRight: '10px' }}>
|
||||||
|
@ -2994,14 +2898,6 @@ const Partner_Configuration_Technique = (props) => {
|
||||||
fontWeight: 'light',
|
fontWeight: 'light',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*"& .MuiDataGrid-virtualScrollerRenderZone": {
|
|
||||||
"& .MuiDataGrid-row": {
|
|
||||||
"&:nth-child(2n)": { backgroundColor: "rgba(235, 235, 235, .7)" }
|
|
||||||
}
|
|
||||||
},*/
|
|
||||||
"& .MuiDataGrid-columnHeaders": {
|
"& .MuiDataGrid-columnHeaders": {
|
||||||
backgroundColor: "#c8cfd5",
|
backgroundColor: "#c8cfd5",
|
||||||
color: "black",
|
color: "black",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -593,7 +593,7 @@
|
||||||
min-height: 320px !important;
|
min-height: 320px !important;
|
||||||
max-height: 350px !important;
|
max-height: 350px !important;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
border: "1px solide";
|
border: 1px solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.titre_training_text {
|
.titre_training_text {
|
||||||
|
@ -1243,7 +1243,7 @@
|
||||||
min-height: 320px !important;
|
min-height: 320px !important;
|
||||||
max-height: 350px !important;
|
max-height: 350px !important;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
border: "1px solide";
|
border: 1px solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.titre_training_text {
|
.titre_training_text {
|
||||||
|
@ -1537,7 +1537,7 @@
|
||||||
min-height: 320px !important;
|
min-height: 320px !important;
|
||||||
max-height: 350px !important;
|
max-height: 350px !important;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
border: "1px solide";
|
border: 1px solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.titre_training_text {
|
.titre_training_text {
|
||||||
|
@ -2127,7 +2127,7 @@
|
||||||
min-height: 320px !important;
|
min-height: 320px !important;
|
||||||
max-height: 350px !important;
|
max-height: 350px !important;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
border: "1px solide";
|
border: 1px solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.titre_training_text {
|
.titre_training_text {
|
||||||
|
|
|
@ -2678,6 +2678,9 @@
|
||||||
width: 50% !important;
|
width: 50% !important;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// end media
|
// end media
|
||||||
|
@ -2789,6 +2792,7 @@
|
||||||
.MuiPaper-root{
|
.MuiPaper-root{
|
||||||
border-radius: 10px !important;
|
border-radius: 10px !important;
|
||||||
background: #F8F9F9 !important;
|
background: #F8F9F9 !important;
|
||||||
|
max-width: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2668,6 +2668,10 @@
|
||||||
max-width: none !important;
|
max-width: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.MuiPaper-root{
|
||||||
|
max-width: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// end media
|
// end media
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -109,3 +109,4 @@
|
||||||
@import "./components/displayPartnerunite_enseignement";
|
@import "./components/displayPartnerunite_enseignement";
|
||||||
@import "./components/displaypopop_for_sequence_model_week";
|
@import "./components/displaypopop_for_sequence_model_week";
|
||||||
@import "./components/modulesessionplanification";
|
@import "./components/modulesessionplanification";
|
||||||
|
@import "./components/partner_domaine_categorie_metier";
|
Loading…
Reference in New Issue