diff --git a/src/components/AddClassManual.js b/src/components/AddClassManual.js index 3a9f921..77724ec 100644 --- a/src/components/AddClassManual.js +++ b/src/components/AddClassManual.js @@ -11704,7 +11704,9 @@ const AddClassManual = (props) => { id="competence_nom" name="competence_nom" fullWidth - + sx={{ + backgroundColor: "#FFF", + }} options={New_Getall_Employee_Statistic_Question_List_result} value={New_Getall_Employee_Statistic_Question_List_result.filter((data) => (data)._id === String(selected_statistic_question_id))[0].label} diff --git a/src/components/AddPartnerClient.js b/src/components/AddPartnerClient.js index 079f6f5..8b698e5 100644 --- a/src/components/AddPartnerClient.js +++ b/src/components/AddPartnerClient.js @@ -990,14 +990,7 @@ const AddParnerClient = (props) => { }) } - const [New_Getall_Training_Employee_No_Filter_result, setNew_Getall_Training_Employee_No_Filter_result] = useState([{ - "_id": "", - "id": "", - "label": "", - "nom": "", - "prenom": "", - "ismanager": "" - }]); + const [New_Getall_Training_Employee_No_Filter_result, setNew_Getall_Training_Employee_No_Filter_result] = useState([]); const [Getall_Training_Employee_No_Filter_api, setGetall_Training_Employee_No_Filter_api] = useState(); const [Getall_Training_Employee_No_Filter_message, setGetall_Training_Employee_No_Filter_message] = useState(); @@ -4088,8 +4081,8 @@ const AddParnerClient = (props) => { setLoading(false); if (String(res.data.status) === String("true")) { //console.log(" In Get_All_Paiement_of_Client res.data.status = " + res.data.status); - console.log(" In Get_All_Paiement_of_Client res.data.message r_class = " + res.data.message); - console.log(" In Get_All_Paiement_of_Client res.data.total_payed_amount r_class = " + res.data.total_payed_amount); + // console.log(" In Get_All_Paiement_of_Client res.data.message r_class = " + res.data.message); + // console.log(" In Get_All_Paiement_of_Client res.data.total_payed_amount r_class = " + res.data.total_payed_amount); setGet_All_Paiement_of_Client_api("true"); setGet_All_Paiement_of_Client_result(res.data.message); setNew_Get_All_Paiement_Total_Payed(res.data.total_payed_amount); @@ -7910,7 +7903,7 @@ const AddParnerClient = (props) => {