18/08/2024 - 21h55
parent
a84d78b3d1
commit
fadb214ad2
|
@ -528,7 +528,7 @@ const Apprenant = (props) => {
|
|||
setadd_one_suivi_ped("");
|
||||
|
||||
Get_Appenant_List_Suivi_Pedagogique(selected_apprenant_id);
|
||||
|
||||
|
||||
alert(res.data.message);
|
||||
}
|
||||
else {
|
||||
|
@ -2532,6 +2532,7 @@ const Apprenant = (props) => {
|
|||
form.append("session_id", p_detail_suivi_ped_session_id);
|
||||
form.append("date_heure_debut", p_detail_suivi_ped_eval_date_heure_debut);
|
||||
form.append("date_heure_fin", p_detail_suivi_ped_eval_date_heure_fin);
|
||||
form.append("employee_id", "");
|
||||
|
||||
var observation = "";
|
||||
if (editorRef_observation.current) {
|
||||
|
@ -2570,18 +2571,28 @@ const Apprenant = (props) => {
|
|||
if (String(res.data.status) === String("true")) {
|
||||
setAdd_Update_Suiv_Pedagogique_api("true");
|
||||
setAdd_Update_Suiv_Pedagogique_result(res.data.message);
|
||||
Clear_Suivi_Pedago_Field();
|
||||
|
||||
Dialog_Suivi_Pedago_handleClose_buton();
|
||||
|
||||
Get_Appenant_List_Suivi_Pedagogique(selected_apprenant_id);
|
||||
|
||||
|
||||
setgiven_suivi_ped_changed("");
|
||||
setgiven_suivi_ped_data_edit_mode("");
|
||||
setadd_one_suivi_ped("");
|
||||
if (!selected_suivi_pedagogique_id || String(selected_suivi_pedagogique_id).length < 5) {
|
||||
setsuivi_pedago_gridline_id("");
|
||||
Clear_Suivi_Pedago_Field();
|
||||
} else {
|
||||
Get_Geven_Suivi_Ped_Data(selected_suivi_pedagogique_id);
|
||||
setdisplay_given_suivi_ped("1");
|
||||
setadd_one_suivi_ped("");
|
||||
setgiven_suivi_ped_data_edit_mode("");
|
||||
setselected_suivi_pedagogique_id(selected_suivi_pedagogique_id);
|
||||
}
|
||||
|
||||
|
||||
Get_Appenant_List_Suivi_Pedagogique(selected_apprenant_id);
|
||||
|
||||
alert(res.data.message);
|
||||
|
||||
if (document.getElementById('myRef')) {
|
||||
|
@ -5895,6 +5906,8 @@ const Apprenant = (props) => {
|
|||
setselected_apprenant_row_id(newSelectionModel.row.id);
|
||||
setselected_apprenant_email(newSelectionModel.row.email);
|
||||
|
||||
|
||||
|
||||
Get_Apprenant_Images(newSelectionModel.row._id);
|
||||
|
||||
var local_date_naissance = newSelectionModel.row.date_naissance;
|
||||
|
@ -5910,6 +5923,9 @@ const Apprenant = (props) => {
|
|||
|
||||
Clear_Suivi_Pedago_Field();
|
||||
setdisplay_given_suivi_ped("");
|
||||
setsuivi_pedago_gridline_id('');
|
||||
setgiven_suivi_ped_changed("");
|
||||
setgiven_suivi_ped_data_edit_mode("");
|
||||
|
||||
setDialog_apprenant_message(String(JSON.parse(Get_All_Apprenant_result[newSelectionModel.row.id]).title));
|
||||
setDialog_apprenant_open(true);
|
||||
|
@ -7503,7 +7519,7 @@ const Apprenant = (props) => {
|
|||
|
||||
{String(display_menu_suivi_pedagogique) === "1" && String(add_One_Apprenant) !== "1" && selected_apprenant_id && <div className="div_row" style={{ "border": "None", "background": '#F8F9F9', "padding": '5px' }}>
|
||||
|
||||
|
||||
|
||||
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600" }}> Suivi pédagoqigue</nav>
|
||||
|
||||
<div className="session_data" ref={myRef_head} id="myRef_head">
|
||||
|
@ -7890,8 +7906,7 @@ const Apprenant = (props) => {
|
|||
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600" }}> Détail suivi pédagogique</nav>
|
||||
|
||||
{String(given_suivi_ped_data_edit_mode) !== "1" && <div className="div_row" style={{ "border": "None" }}>
|
||||
en mode lecture <br />
|
||||
|
||||
|
||||
<div className="session_caract"> <b>Formation </b> <br />
|
||||
{New_Getall_Partner_Class_Reduice_Fields_result && New_Getall_Partner_Class_Reduice_Fields_result.length > 0 && <TextField
|
||||
name="suivi_pedago_detail_ftion"
|
||||
|
@ -8068,7 +8083,7 @@ const Apprenant = (props) => {
|
|||
|
||||
|
||||
{String(given_suivi_ped_data_edit_mode) === "1" && <div>
|
||||
en mode edit<br />
|
||||
|
||||
|
||||
<div className="session_caract"> <b>Formation </b> <br />
|
||||
{New_Getall_Partner_Class_Reduice_Fields_result && New_Getall_Partner_Class_Reduice_Fields_result.length > 0 &&
|
||||
|
@ -8333,11 +8348,11 @@ const Apprenant = (props) => {
|
|||
{String(given_suivi_ped_changed) === "1" && String(given_suivi_ped_data_edit_mode) === "1" && <div className="div_row" style={{ "border": "None", "color": "orange", "textAlign": "center" }}>
|
||||
/!\ Pensez à enregistrer les modifications
|
||||
</div>}
|
||||
|
||||
|
||||
|
||||
<div className="div_row" style={{ "border": "None", "color": "orange", "textAlign": "center" }}>
|
||||
|
||||
{String(given_suivi_ped_changed) === "1" && <div className="div_row_gauche" style={{ "textAlign": 'left', 'marginLeft': '15px' }}>
|
||||
{String(given_suivi_ped_data_edit_mode) === "1" && <div className="div_row_gauche" style={{ "textAlign": 'left', 'marginLeft': '15px' }}>
|
||||
|
||||
<Button variant="contained" className="bton_enreg" onClick={Add_Update_Suiv_Pedagogique}>Enregistrer les modifications
|
||||
</Button>
|
||||
|
@ -8366,7 +8381,7 @@ const Apprenant = (props) => {
|
|||
|
||||
|
||||
</div>}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -266,7 +266,7 @@ const Partner_Commande = (props) => {
|
|||
<nav style={{ width: '100%', 'textAlign': 'center' }}>
|
||||
{String(cellValues.row.order_line_session_id).length > 3 && <div>
|
||||
|
||||
{cellValues.row.order_line_session_code} a
|
||||
{cellValues.row.order_line_session_code}
|
||||
|
||||
</div>}
|
||||
|
||||
|
@ -274,7 +274,10 @@ const Partner_Commande = (props) => {
|
|||
String(cellValues.row.order_line_class_id).length >= 3 &&
|
||||
(String(cellValues.row.order_line_status) === "1" ||
|
||||
String(cellValues.row.order_line_status) === "3") &&
|
||||
String(cellValues.row.order_line_type) === "devis" && <nav>
|
||||
String(cellValues.row.order_line_type) === "devis" &&
|
||||
String(cellValues.row.order_line_type_article) === "formation" &&
|
||||
|
||||
<nav>
|
||||
|
||||
<Button
|
||||
|
||||
|
|
Loading…
Reference in New Issue