From cf87c3dbf1d8b5bb18f67b7279fbc47f449a255d Mon Sep 17 00:00:00 2001 From: cherif Date: Sun, 11 Feb 2024 22:02:29 +0100 Subject: [PATCH] 11/02/2024 - 22h --- src/components/AddPartnerClient.js | 10 +- src/components/Apprenant.js | 30 +- src/components/Config_Document.js | 5 +- src/components/DisplayPartnerSession.js | 160 +++++-- src/components/DisplayPartnerStagiaires.js | 70 ++- src/components/Employes.js | 40 +- src/components/Materiels.js | 414 ++++++++++++++++-- src/components/Module_Agenda.js | 15 +- .../Module_Attestation_Formation.js | 10 +- src/components/Module_Editique.js | 17 +- src/components/PartnerClient_Activite.js | 30 +- src/components/Partner_Commande.js | 15 +- src/components/Partner_Config_Technique.js | 10 +- 13 files changed, 714 insertions(+), 112 deletions(-) diff --git a/src/components/AddPartnerClient.js b/src/components/AddPartnerClient.js index c40821a..bdb1e10 100644 --- a/src/components/AddPartnerClient.js +++ b/src/components/AddPartnerClient.js @@ -2320,7 +2320,10 @@ const AddParnerClient = (props) => { }} //value={p_one_detail_client_rattachement_nom} - renderInput={(params) => + renderInput={(params) => } /> @@ -3097,7 +3100,10 @@ const AddParnerClient = (props) => { setdatamodification_contact("1"); } }} - renderInput={(params) => + renderInput={(params) => } /> diff --git a/src/components/Apprenant.js b/src/components/Apprenant.js index f453ea7..e3b88fe 100644 --- a/src/components/Apprenant.js +++ b/src/components/Apprenant.js @@ -4130,7 +4130,10 @@ const Apprenant = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> } @@ -4150,7 +4153,10 @@ const Apprenant = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> @@ -4171,7 +4177,10 @@ const Apprenant = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> @@ -4192,7 +4201,10 @@ const Apprenant = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> @@ -4257,7 +4269,10 @@ const Apprenant = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> @@ -4709,7 +4724,10 @@ const Apprenant = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> {/* { }} - renderInput={(params) => + renderInput={(params) => } /> diff --git a/src/components/DisplayPartnerSession.js b/src/components/DisplayPartnerSession.js index d078d92..940eade 100644 --- a/src/components/DisplayPartnerSession.js +++ b/src/components/DisplayPartnerSession.js @@ -9969,7 +9969,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -10907,7 +10910,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -10971,7 +10977,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -11036,7 +11045,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> {/* { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -11224,7 +11239,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -11393,7 +11411,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -11455,7 +11476,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -11545,7 +11569,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } />} } @@ -11720,7 +11747,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> } @@ -11988,7 +12018,10 @@ const DisplayPartnerSession = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> @@ -12047,7 +12080,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -12089,7 +12125,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -12131,7 +12170,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -12175,7 +12217,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -12217,7 +12262,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -12350,7 +12398,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -12389,7 +12440,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> {/* { } }} - renderInput={(params) => + renderInput={(params) => } />} @@ -12613,7 +12670,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -13255,7 +13315,10 @@ const DisplayPartnerSession = (props) => { setp_one_civilite_part(value.value); } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -13396,7 +13459,10 @@ const DisplayPartnerSession = (props) => { setmyinscript_status(value.value); } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -13441,7 +13507,10 @@ const DisplayPartnerSession = (props) => { }} value={p_one_detail_client_rattachement_nom} - renderInput={(params) => + renderInput={(params) => } /> @@ -13460,7 +13529,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -13734,7 +13806,10 @@ const DisplayPartnerSession = (props) => { setp_one_civilite_part(value.value); } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -13957,7 +14032,10 @@ const DisplayPartnerSession = (props) => { setp_one_civilite_part(value.value); } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -14099,7 +14177,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -14142,7 +14223,10 @@ const DisplayPartnerSession = (props) => { }} value={p_one_detail_client_rattachement_nom} - renderInput={(params) => + renderInput={(params) => } /> @@ -14162,7 +14246,10 @@ const DisplayPartnerSession = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -14557,7 +14644,10 @@ const DisplayPartnerSession = (props) => { }} value={p_detail_client_rattachement_nom} - renderInput={(params) => + renderInput={(params) => } /> @@ -14612,7 +14702,10 @@ const DisplayPartnerSession = (props) => { setparticipant_data_changed("1"); } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -14762,7 +14855,10 @@ const DisplayPartnerSession = (props) => { } } }} - renderInput={(params) => + renderInput={(params) => } />} diff --git a/src/components/DisplayPartnerStagiaires.js b/src/components/DisplayPartnerStagiaires.js index 15153d9..5eb39ea 100644 --- a/src/components/DisplayPartnerStagiaires.js +++ b/src/components/DisplayPartnerStagiaires.js @@ -5834,7 +5834,10 @@ const DisplayPartnerStagiaires = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -6668,7 +6671,10 @@ const DisplayPartnerStagiaires = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> @@ -6852,7 +6858,10 @@ const DisplayPartnerStagiaires = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> @@ -6873,7 +6882,10 @@ const DisplayPartnerStagiaires = (props) => { }} value={p_one_detail_code_session} - renderInput={(params) => + renderInput={(params) => } /> } @@ -6891,7 +6903,10 @@ const DisplayPartnerStagiaires = (props) => { }} value={p_one_detail_code_session} - renderInput={(params) => + renderInput={(params) => } /> } @@ -6953,7 +6968,10 @@ const DisplayPartnerStagiaires = (props) => { setp_one_civilite_part(value.value); } }} - renderInput={(params) => + renderInput={(params) => } /> {/* { setp_one_status_part(value.value); } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -7228,7 +7249,10 @@ const DisplayPartnerStagiaires = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -7250,7 +7274,10 @@ const DisplayPartnerStagiaires = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -7521,7 +7548,10 @@ const DisplayPartnerStagiaires = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> @@ -7579,7 +7609,10 @@ const DisplayPartnerStagiaires = (props) => { }} value={p_detail_client_rattachement_nom} - renderInput={(params) => + renderInput={(params) => } /> @@ -7643,7 +7676,10 @@ const DisplayPartnerStagiaires = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -7701,7 +7737,10 @@ const DisplayPartnerStagiaires = (props) => { setparticipant_data_changed("1"); } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -7727,7 +7766,10 @@ const DisplayPartnerStagiaires = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> diff --git a/src/components/Employes.js b/src/components/Employes.js index 3d1d6be..03da276 100644 --- a/src/components/Employes.js +++ b/src/components/Employes.js @@ -5011,7 +5011,10 @@ const Employes = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } />*/} @@ -6291,7 +6294,10 @@ const Employes = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -6419,7 +6425,10 @@ const Employes = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -7070,7 +7079,10 @@ const Employes = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -7382,7 +7394,10 @@ const Employes = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> @@ -7452,7 +7467,10 @@ const Employes = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -7496,7 +7514,10 @@ const Employes = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -8213,7 +8234,10 @@ const Employes = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> diff --git a/src/components/Materiels.js b/src/components/Materiels.js index 3dcecd0..ca32cf1 100644 --- a/src/components/Materiels.js +++ b/src/components/Materiels.js @@ -40,6 +40,7 @@ import DialogContent from '@mui/material/DialogContent'; import DialogContentText from '@mui/material/DialogContentText'; import DialogTitle from '@mui/material/DialogTitle'; import { TransitionProps } from '@mui/material/transitions'; +import { IoAddCircleOutline, IoCloseCircleOutline } from "react-icons/io5"; const Materiels = (props) => { const history = useHistory(); @@ -312,11 +313,105 @@ const Materiels = (props) => { setDialog_1_open(false); }; + const [New_Getall_Partner_Site_Formation_result, setNew_Getall_Partner_Site_Formation_result] = useState([]); + + const [Getall_Partner_Site_Formation_api, setGetall_Partner_Site_Formation_api] = useState(); + const [Getall_Partner_Site_Formation_message, setGetall_Partner_Site_Formation_message] = useState(); + const [Getall_Partner_Site_Formation_result, setGetall_Partner_Site_Formation_result] = useState([]); + function Getall_Partner_Site_Formation(event) { + + var form = new FormData(); + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Site_Formation_with_filter/"; + + setLoading(true); + axios.post(myurl, form).then(res => { + setLoading(false); + + if (String(res.data.status) === String("true")) { + //console.log(" In Getall_Partner_Site_Formation res.data.status = " + res.data.status); + //console.log(" In Getall_Partner_Site_Formation res.data.message r_class = " + res.data.message); + setGetall_Partner_Site_Formation_api("true"); + setGetall_Partner_Site_Formation_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_code_site = JSON.parse(x).code_site; + var local_nom_site = JSON.parse(x).nom_site; + var local_adr_site = JSON.parse(x).site_adr; + var local_cp_site = JSON.parse(x).site_cp; + var local_ville_site = JSON.parse(x).site_ville; + var local_pays_site = JSON.parse(x).site_pays; + + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_code_site, + "code_site": local_code_site, + "nom_site": local_nom_site, + "adr_site": local_adr_site, + "cp_site": local_cp_site, + "ville_site": local_ville_site, + "pays_site": local_pays_site, + + + }; + new_data2.push(node); + }); + + //--- + var node = { + "_id": "", + "id": "", + "label": "", + "code_site": "", + "nom_site": "", + "adr_site": "", + "cp_site": "", + "ville_site": "", + "pays_site": "", + + }; + new_data2.push(node); + + + if (new_data2.length > 0) + setNew_Getall_Partner_Site_Formation_result(new_data2); + + + } + else { + setGetall_Partner_Site_Formation_api("false"); + setGetall_Partner_Site_Formation_message(res.data.message); + alert(res.data.message); + } + + }).catch((error) => { + setLoading(false); + console.warn('Not good man :( Getall_Partner_Site_Formation = ', error); + setGetall_Partner_Site_Formation_api("false"); + alert(" Impossible de recuperer la liste des sites de formation"); + //setmyApimyApiMessage("") + }) + } + useEffect(() => { Getall_Training_Materiel_No_Filter(); Get_Materiel_Related_Target_Collection_Data(); + Getall_Type_Materiel(); + Getall_Partner_Site_Formation(); + window.scrollTo({ top: 0, behavior: "smooth", @@ -337,6 +432,8 @@ const Materiels = (props) => { const [add_One_Materiel, setadd_One_Materiel] = useState(); function submenu_add_one_materiel() { + Getall_Type_Materiel(); + Getall_Partner_Site_Formation(); clean_detail_fields(); setdisplay_detail_materiel(); setadd_One_Materiel("1"); @@ -375,6 +472,7 @@ const Materiels = (props) => { setp_one_detail_marque(""); setp_one_detail_prix_achat(""); + setp_one_site_formation_id(""); setp_one_detail_fournisseur(""); setp_one_detail_qty_stock(""); setgridline_id(""); @@ -659,6 +757,11 @@ const Materiels = (props) => { else form.append("prix_achat", ""); + if (p_one_site_formation_id) + form.append("site_formation_id", p_one_site_formation_id); + else + form.append("site_formation_id", ""); + if (p_one_detail_fournisseur) form.append("fournisseur", p_one_detail_fournisseur); else @@ -756,6 +859,84 @@ const Materiels = (props) => { }) } + const [New_Getall_Type_Materiel_result, setNew_Getall_Type_Materiel_result] = useState(); + + const [Getall_Type_Materiel_api, setGetall_Type_Materiel_api] = useState(); + const [Getall_Type_Materiel_message, setGetall_Type_Materiel_message] = useState(); + const [Getall_Type_Materiel_result, setGetall_Type_Materiel_result] = useState(); + function Getall_Type_Materiel(event) { + + var form = new FormData(); + + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_Type_Ressource_Materielle/"; + + + setLoading(true); + axios.post(myurl, form).then(res => { + + setLoading(false); + + if (String(res.data.status) === String("true")) { + //console.log(" In Getall_Type_Materiel res.data.status = " + res.data.status); + //console.log(" In Getall_Type_Materiel res.data.message r_class = " + res.data.message); + setGetall_Type_Materiel_api("true"); + setGetall_Type_Materiel_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_code = JSON.parse(x).code; + + //--- + var node = { + "_id": local_id, + "id": localid, + "label": local_code, + "nom": local_nom, + "code": local_code, + + }; + new_data2.push(node); + }); + + var node = { + "_id": "", + "id": "", + "label": "", + "nom": "", + "code": "", + + }; + new_data2.push(node); + + if (new_data2.length > 0) + setNew_Getall_Type_Materiel_result(new_data2); + + } + else { + setGetall_Type_Materiel_api("false"); + setGetall_Type_Materiel_message(res.data.message); + alert(res.data.message); + } + + }).catch((error) => { + setLoading(false); + console.warn('Not good man :( Getall_Type_Materiel = ', error); + setGetall_Type_Materiel_api("false"); + alert(" Impossible de recuperer les types de materiel"); + //setmyApimyApiMessage("") + }) + } + + const sleep = (milliseconds) => { return new Promise(resolve => setTimeout(resolve, milliseconds)) @@ -915,6 +1096,14 @@ const Materiels = (props) => { document.getElementsByName("detail_prix_achat")[0].style.backgroundColor = "#ECEFF1"; } + + if (document.getElementsByName("detail_site_formation")[0]) { + document.getElementsByName("detail_site_formation")[0].disabled = true; + document.getElementsByName("detail_site_formation")[0].style.backgroundColor = "#ECEFF1"; + } + + + if (document.getElementsByName("detail_fournisseur")[0]) { document.getElementsByName("detail_fournisseur")[0].disabled = true; document.getElementsByName("detail_fournisseur")[0].style.backgroundColor = "#ECEFF1"; @@ -971,6 +1160,11 @@ const Materiels = (props) => { document.getElementsByName("detail_prix_achat")[0].style.backgroundColor = "#FFFFFF"; } + if (document.getElementsByName("detail_site_formation")[0]) { + document.getElementsByName("detail_site_formation")[0].disabled = false; + document.getElementsByName("detail_site_formation")[0].style.backgroundColor = "#FFFFFF"; + } + if (document.getElementsByName("detail_fournisseur")[0]) { document.getElementsByName("detail_fournisseur")[0].disabled = false; document.getElementsByName("detail_fournisseur")[0].style.backgroundColor = "#FFFFFF"; @@ -1063,11 +1257,17 @@ const Materiels = (props) => { if (mylocal_materiel.type) setp_detail_type(mylocal_materiel.type); - + else + setp_detail_type(""); if (mylocal_materiel.prix_achat) setp_detail_prix_achat(mylocal_materiel.prix_achat); + if (mylocal_materiel.site_formation_id) + setp_detail_site_formation(mylocal_materiel.site_formation_id); + else + setp_detail_site_formation(""); + if (mylocal_materiel.fournisseur) @@ -1196,7 +1396,7 @@ const Materiels = (props) => { //console.log(" In Getall_Materiel_Rattachement res.data.message r_class = " + res.data.message); setGetall_Materiel_Rattachement_api("true"); setGetall_Materiel_Rattachement_result(res.data.message); - + } else { setGetall_Materiel_Rattachement_api("false"); @@ -1477,6 +1677,11 @@ const Materiels = (props) => { else form.append("fournisseur", ""); + if (p_detail_site_formation) + form.append("site_formation_id", p_detail_site_formation); + else + form.append("site_formation_id", ""); + if (p_detail_qty_stock) form.append("qty_stock", p_detail_qty_stock); else @@ -1606,6 +1811,7 @@ const Materiels = (props) => { const [p_detail_prix_achat, setp_detail_prix_achat] = useState("1"); const [p_detail_fournisseur, setp_detail_fournisseur] = useState(""); const [p_detail_qty_stock, setp_detail_qty_stock] = useState("1"); + const [p_detail_site_formation, setp_detail_site_formation] = useState(""); // ------------ @@ -1622,6 +1828,9 @@ const Materiels = (props) => { const [p_one_detail_fournisseur, setp_one_detail_fournisseur] = useState(); const [p_one_detail_qty_stock, setp_one_detail_qty_stock] = useState(); + const [p_one_site_formation_id, setp_one_site_formation_id] = useState(""); + + const [p_one_affect_poste, setp_one_affect_poste] = useState(); const [p_one_affect_date_du, setp_one_affect_date_du] = useState(new Date().toLocaleDateString('fr-FR')); const [p_one_affect_date_au, setp_one_affect_date_au] = useState(date_today_90j.toLocaleDateString('fr-FR')); @@ -2759,7 +2968,7 @@ const Materiels = (props) => {
@@ -2983,7 +3192,8 @@ const Materiels = (props) => { -
Type
+ {String(materiel_data_edit_mode) !== "1" &&
Type
+ { disabled={false} className="disabled_style" value={p_detail_type} - onChange={(e) => { - setp_detail_type(e.target.value); - setmateriel_data_changed("1"); - } - } /> -
+
} + + {String(materiel_data_edit_mode) === "1" &&
Type
+ + (data).code === String(p_detail_type))[0].label} + + onChange={(event, value) => { + if (value && value.code) { + setp_detail_type(value.code); + setmateriel_data_changed("1"); + + } + }} + + renderInput={(params) => + + } + /> + +
} + + + {String(materiel_data_edit_mode) === "1" && +
Site de formation
+ {New_Getall_Partner_Site_Formation_result && New_Getall_Partner_Site_Formation_result.length > 0 && + + (data)._id === String(p_detail_site_formation))[0].label} + + onChange={(event, value) => { + if (value && value._id) { + setp_detail_site_formation(value._id); + setmateriel_data_changed("1"); + } + }} + renderInput={(params) => + } + />} + + +
} + + {String(materiel_data_edit_mode) !== "1" && +
Site de formation
+ {New_Getall_Partner_Site_Formation_result && New_Getall_Partner_Site_Formation_result.length > 0 && + (data)._id === String(p_detail_site_formation))[0].label} + /> + } + + +
} + +
Prix d'achat (estimé)
{
Type
- { + if (value && value.code) { + setp_one_detail_type(value.code); + setmateriel_data_changed("1"); + + } + }} + + renderInput={(params) => + } + /> + + + {/* { } } - /> + />*/}
+ +
Site de formation
+ {New_Getall_Partner_Site_Formation_result && New_Getall_Partner_Site_Formation_result.length > 0 && + + { + if (value && value._id) { + setp_one_site_formation_id(value._id) + + } + }} + renderInput={(params) => + } + />} + + +
+ + +
Prix d'achat (estimé)
{
@@ -3501,7 +3844,7 @@ const Materiels = (props) => {
-
Poste Occupé
+
Usage du Matériel
{
- {String(edite_affectation_form) !== "1" &&
Cible
+ {String(edite_affectation_form) !== "1" &&
Affecté à (type)
{
} - {String(edite_affectation_form) === "1" &&
Cible
+ {String(edite_affectation_form) === "1" &&
Affecté à (type)
{ }} - renderInput={(params) => + + renderInput={(params) => } /> @@ -3589,7 +3936,7 @@ const Materiels = (props) => {
} - {String(edite_affectation_form) !== "1" &&
Cible Nom
+ {String(edite_affectation_form) !== "1" &&
Affecté à (Nom)
{
} - {String(edite_affectation_form) === "1" &&
Cible Nom
+ {String(edite_affectation_form) === "1" &&
Affecté à (Nom)
{ }} - renderInput={(params) => + renderInput={(params) => } /> @@ -3805,7 +4155,7 @@ const Materiels = (props) => {
-
Poste Occupé
+
Usage du Matériel
{
-
Cible
+
Affecté à (type)
{ }} - renderInput={(params) => + renderInput={(params) => } /> @@ -3896,12 +4249,12 @@ const Materiels = (props) => { ))} - + Cible
*/} -
Cible Nom work
+
Affecté à (Nom)
{ }} - renderInput={(params) => + renderInput={(params) => } />
@@ -4055,7 +4411,7 @@ const Materiels = (props) => { }} > { setselectionModel_ressources_associes(newSelectionModel); /*if (newSelectionModel.length === 1) @@ -4098,7 +4454,7 @@ const Materiels = (props) => { onRowDoubleClick={(newSelectionModel) => { - + }} @@ -4129,7 +4485,7 @@ const Materiels = (props) => {
- +
}
diff --git a/src/components/Module_Agenda.js b/src/components/Module_Agenda.js index 08d1536..2ba6f4d 100644 --- a/src/components/Module_Agenda.js +++ b/src/components/Module_Agenda.js @@ -1077,7 +1077,10 @@ const Module_Agenda = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> {/* { }} - renderInput={(params) => + renderInput={(params) => } /> @@ -1415,7 +1421,10 @@ const Module_Agenda = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> diff --git a/src/components/Module_Attestation_Formation.js b/src/components/Module_Attestation_Formation.js index 160316b..4334134 100644 --- a/src/components/Module_Attestation_Formation.js +++ b/src/components/Module_Attestation_Formation.js @@ -669,7 +669,10 @@ const Module_Attestation_Formation = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -704,7 +707,10 @@ const Module_Attestation_Formation = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> diff --git a/src/components/Module_Editique.js b/src/components/Module_Editique.js index 09ae683..75a0ecb 100644 --- a/src/components/Module_Editique.js +++ b/src/components/Module_Editique.js @@ -1202,7 +1202,10 @@ const Module_Editique = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -1258,7 +1261,7 @@ const Module_Editique = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -1526,7 +1529,10 @@ const Module_Editique = (props) => { String(value.value), Dialog_1_message); } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -1582,7 +1588,10 @@ const Module_Editique = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> diff --git a/src/components/PartnerClient_Activite.js b/src/components/PartnerClient_Activite.js index 58675df..e51462e 100644 --- a/src/components/PartnerClient_Activite.js +++ b/src/components/PartnerClient_Activite.js @@ -913,7 +913,10 @@ const PartnerClientActivite = (props) => { setp_activite_type(value.value); } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -974,7 +977,10 @@ const PartnerClientActivite = (props) => { setp_activite_status(value.value); } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -1031,7 +1037,10 @@ const PartnerClientActivite = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -1190,7 +1199,10 @@ const PartnerClientActivite = (props) => { setone_activite_type(value.value); } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -1229,7 +1241,10 @@ const PartnerClientActivite = (props) => { setone_activite_status(value.value); } }} - renderInput={(params) => + renderInput={(params) => } /> @@ -1270,7 +1285,10 @@ const PartnerClientActivite = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> diff --git a/src/components/Partner_Commande.js b/src/components/Partner_Commande.js index 28154ce..d7bedd2 100644 --- a/src/components/Partner_Commande.js +++ b/src/components/Partner_Commande.js @@ -3105,7 +3105,10 @@ const Partner_Commande = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> @@ -3498,7 +3501,10 @@ const Partner_Commande = (props) => { }} - renderInput={(params) => + renderInput={(params) => } /> @@ -3631,7 +3637,10 @@ const Partner_Commande = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } /> diff --git a/src/components/Partner_Config_Technique.js b/src/components/Partner_Config_Technique.js index 8f5b05f..c03980e 100644 --- a/src/components/Partner_Config_Technique.js +++ b/src/components/Partner_Config_Technique.js @@ -1294,7 +1294,10 @@ const Partner_Configuration_Technique = (props) => { } }} - renderInput={(params) => + renderInput={(params) => } />} @@ -1625,7 +1628,10 @@ const Partner_Configuration_Technique = (props) => { }} - renderInput={(params) => + renderInput={(params) => } />