From 10fb09875742e356c3101bfa67db1db0c15a863c Mon Sep 17 00:00:00 2001 From: cherif Date: Thu, 30 May 2024 11:48:25 +0200 Subject: [PATCH] qsdq --- src/components/Config_Document.js | 8 +- src/components/DisplayPartnerSession.js | 12 +++ src/components/DisplayPartnerStagiaires.js | 85 +++++++------------ src/components/Materiel_Salle.js | 11 +-- src/components/Materiels.js | 11 +-- src/components/Partner_Client.js | 2 +- src/components/Partner_Commande.js | 57 ++++++------- .../Partner_Config_Jours_Travail.js | 17 +++- src/components/Partner_Facture.js | 2 +- src/styles/components/_apprenant.scss | 10 ++- src/styles/components/_config_document.scss | 10 ++- .../components/_displaypartnerstagiaire.scss | 10 ++- src/styles/components/_materiel_salle.scss | 4 + src/styles/components/_materiels.scss | 4 + 14 files changed, 129 insertions(+), 114 deletions(-) diff --git a/src/components/Config_Document.js b/src/components/Config_Document.js index 5798f35..4045641 100644 --- a/src/components/Config_Document.js +++ b/src/components/Config_Document.js @@ -2220,7 +2220,7 @@ const Config_Documents = (props) => { } else { - alert(" Vous devez les champs : Nom, Type et Sujet"); + alert(" Les champs : 'Nom', 'Type' et 'Sujet' doivent faire plus de 10 caractères"); } }} className="bton_enreg_dialog">Dupliquer @@ -2946,7 +2946,7 @@ const Config_Documents = (props) => { {p_detail_joint_pdf === true && String(document_principal_ou_corp_mail) === "2" &&
-
Coprs du mail
+
Corps du mail
{ {p_detail_joint_pdf === true && String(document_principal_ou_corp_mail) === "2" &&
-
Modifier le Coprs du mail
+
Modifier le Corps du mail
{ {p_detail_joint_pdf === true && String(document_principal_ou_corp_mail) === "2" &&
-
Créer le Coprs du mail
+
Créer le Corps du mail
{ { field: 'published', headerName: 'publié', minWidth: datagrid_columns_size_model1, align: "center", hide: true, renderCell: (params) => , }, { field: 'site_formation_id', headerName: 'site_formation_id', with: 0, align: "center", hide: true, }, + + + { field: 'qty_in_quotation', headerName: 'Place Non validé ', with: 150, align: "center", hide: false, renderCell: (params) => , }, + { field: 'qty_in_quotation_list_quotation', headerName: 'List Devis ', with: 150, align: "center", hide: false, renderCell: (params) => , }, + + { field: 'site_formation_nom', headerName: 'Site Ftion', with: 150, align: "center", hide: false, renderCell: (params) => , }, + { field: 'invoiced_statut', headerName: 'Facturé', minWidth: 100, flex: 1, maxWidth: 150, hide: false, editable: false, valueFormatter: (params) => { @@ -13019,6 +13026,11 @@ const DisplayPartnerSession = (props) => { site_formation_id: JSON.parse(item).site_formation_id, site_formation_nom: JSON.parse(item).site_formation_code, invoiced_statut: JSON.parse(item).invoiced_statut, + + qty_in_quotation: JSON.parse(item).qty_in_quotation, + qty_in_quotation_list_quotation: JSON.parse(item).qty_in_quotation_list_quotation, + + } ))} diff --git a/src/components/DisplayPartnerStagiaires.js b/src/components/DisplayPartnerStagiaires.js index 5a77e82..60231f0 100644 --- a/src/components/DisplayPartnerStagiaires.js +++ b/src/components/DisplayPartnerStagiaires.js @@ -2443,7 +2443,7 @@ const DisplayPartnerStagiaires = (props) => { if (String(res.data.status) === String("true")) { //console.log(" In Get_Inscrit_List_UE res.data.status = " + res.data.status); - // console.log(" In Get_Inscrit_List_UE res.data.message r_class = " + res.data.message); + // console.log(" In Get_Inscrit_List_UE res.data.message r_class = " + res.data.message); setGet_Inscrit_List_UE_api("true"); setGet_Inscrit_List_UE_result(res.data.message); @@ -2531,6 +2531,8 @@ const DisplayPartnerStagiaires = (props) => { const [New_Get_Inscrit_List_Evaluation_Par_UE_result, setNew_Get_Inscrit_List_Evaluation_Par_UE_result] = useState([]); const [tab_inscrit_evaluation_ue_id, settab_inscrit_evaluation_ue_id] = useState([]); + const [tab_inscrit_evaluation_ue_id_V2, settab_inscrit_evaluation_ue_id_V2] = useState([]); + const [Get_Inscrit_List_Evaluation_Par_UE_api, setGet_Inscrit_List_Evaluation_Par_UE_api] = useState(); const [Get_Inscrit_List_Evaluation_Par_UE_message, setGet_Inscrit_List_Evaluation_Par_UE_message] = useState(); const [Get_Inscrit_List_Evaluation_Par_UE_result, setGet_Inscrit_List_Evaluation_Par_UE_result] = useState(); @@ -2552,13 +2554,14 @@ const DisplayPartnerStagiaires = (props) => { if (String(res.data.status) === String("true")) { //console.log(" In Get_Inscrit_List_Evaluation_Par_UE res.data.status = " + res.data.status); - console.log(" In Get_Inscrit_List_Evaluation_Par_UE res.data.message r_class = " + res.data.message); + //console.log(" In Get_Inscrit_List_Evaluation_Par_UE res.data.message r_class = " + res.data.message); setGet_Inscrit_List_Evaluation_Par_UE_api("true"); setGet_Inscrit_List_Evaluation_Par_UE_result(res.data.message); var new_data2 = []; var tab_tmp = [] + var tab_tmp_V2 = [] const new_data = res.data.message.map((x) => { //--- @@ -2573,6 +2576,8 @@ const DisplayPartnerStagiaires = (props) => { tab_tmp.push(local_type_eval__id); + + //--- var node = { "_id": local_id, @@ -2609,6 +2614,8 @@ const DisplayPartnerStagiaires = (props) => { setNew_Get_Inscrit_List_Evaluation_Par_UE_result(new_data2); settab_inscrit_evaluation_ue_id(tab_tmp); + //console.log(" ### settab_inscrit_evaluation_ue_id = ", tab_tmp); + if (New_Get_List_UE_From_Class_Id_result && New_Get_List_UE_From_Class_Id_result.length > 0) { var local_defaultValue = New_Get_List_UE_From_Class_Id_result.filter((data) => { @@ -2619,6 +2626,8 @@ const DisplayPartnerStagiaires = (props) => { }); setinscription_list_ue(local_defaultValue); + + } @@ -2710,7 +2719,7 @@ const DisplayPartnerStagiaires = (props) => { }); //--- - var node = { + /* var node = { "_id": "", "id": "", "label": "", @@ -2720,11 +2729,11 @@ const DisplayPartnerStagiaires = (props) => { "internal_url": "", }; - new_data2.push(node); + new_data2.push(node);*/ if (new_data2.length > 0) { setNew_Get_List_UE_From_Class_Id_result(new_data2); - // console.log(new_data2); + // console.log("### setNew_Get_List_UE_From_Class_Id_result = ", new_data2); } } else { @@ -2804,7 +2813,7 @@ const DisplayPartnerStagiaires = (props) => { }); //--- - var node = { + /* var node = { "_id": "", "id": "", "label": "", @@ -2816,10 +2825,13 @@ const DisplayPartnerStagiaires = (props) => { "max_note": "", }; - new_data2.push(node); + new_data2.push(node);*/ - if (new_data2.length > 0) + if (new_data2.length > 0) { setNew_Getall_Class_List_Evalution_result(new_data2); + //console.log(" setNew_Getall_Class_List_Evalution_result = ", new_data2); + + } } else { setGetall_Class_List_Evalution_api("false"); @@ -6758,40 +6770,7 @@ const DisplayPartnerStagiaires = (props) => { MySy Information - {/*
Choisir une convention Individuelle - { - setselected_convention_id(e.target.value); - var result2 = Get_List_Stagiaire_Conventions_result.filter((local_mymanager) => JSON.parse(local_mymanager)._id === String(e.target.value)) - setselected_convention_type(JSON.parse(result2).type_doc); - settab_convention_pieces_jointes_result([]); - - } - } - - > - {Get_List_Stagiaire_Conventions_result && - Get_List_Stagiaire_Conventions_result.map((myclient) => ( - - {JSON.parse(myclient).nom}  {JSON.parse(myclient).type_doc} - - - ))} - - - - -
*/}
Choisir une convention Individuelle { { /**** FIN Dialog Convention */}

Vos stagiaires

+
Utilisez les filtres !
@@ -10221,9 +10201,6 @@ const DisplayPartnerStagiaires = (props) => { disableCloseOnSelect getOptionLabel={(option) => option.label} - - //className="disabled_style enable_style" - //options={New_Getall_Partner_List_UE_result} options={New_Get_List_UE_From_Class_Id_result} defaultValue={New_Get_List_UE_From_Class_Id_result.filter((data) => { if (tab_inscrit_ue_id.includes(String(data._id))) { @@ -10274,20 +10251,19 @@ const DisplayPartnerStagiaires = (props) => { disableCloseOnSelect getOptionLabel={(option) => option.label} - - //className="disabled_style enable_style" - //options={New_Getall_Partner_List_UE_result} options={New_Getall_Class_List_Evalution_result} defaultValue={New_Getall_Class_List_Evalution_result.filter((data) => { - if (tab_inscrit_evaluation_ue_id.includes(String(data.type_evaluation_id)) - - il a un bug ici, je dois rajouter une condition pour prendre en compte le class_eu_id - - // important : le retour de l'API pour recuperer les données en base est bon - ) { - return data; + for (let i = 0; i < New_Get_Inscrit_List_Evaluation_Par_UE_result.length; i++) { + //console.log(" lecture de New_Get_Inscrit_List_Evaluation_Par_UE_result[i] = ", New_Get_Inscrit_List_Evaluation_Par_UE_result[i]) + + if (data.class_ue_id && String(data.class_ue_id) !== "" && data.class_ue_id === New_Get_Inscrit_List_Evaluation_Par_UE_result[i].class_eu_id && + data.type_evaluation_id === New_Get_Inscrit_List_Evaluation_Par_UE_result[i].type_eval__id + ) { + //console.log(" GAGNEEEE "); + return data; + } } })} @@ -10309,7 +10285,6 @@ const DisplayPartnerStagiaires = (props) => { setinscription_list_ue_eval(value) setueChanged("1"); - }} renderInput={(params) => { const columns = [ { field: '_id', headerName: '_id', hide: true }, { field: 'id', headerName: 'id', hide: true }, - { field: 'ref_interne', headerName: 'Ref. Interne', flex: 1, }, + { field: 'ref_interne', headerName: 'Ref. Interne', flex: 1, }, { field: 'nom', headerName: 'Nom', flex: 1, hide: false, }, { field: 'type', headerName: 'Type', width: 0, hide: true, }, @@ -167,7 +167,7 @@ const Materiel_Salle = (props) => { const columns_materielle_affectation = [ { field: '_id', headerName: '_id', hide: true }, { field: 'id', headerName: 'id', hide: true }, - { field: 'poste', headerName: 'Poste', flex: 1, }, + { field: 'poste', headerName: 'Poste', flex: 1, }, { field: 'date_du', headerName: 'Du', width: 150, hide: false, }, { field: 'date_au', headerName: 'Au', width: 150, hide: false, }, { field: 'related_target_collection_object', headerName: 'Cible', flex: 1, hide: false, }, @@ -242,7 +242,7 @@ const Materiel_Salle = (props) => { const columns_ressources_associes = [ { field: '_id', headerName: '_id', hide: true }, { field: 'id', headerName: 'id', hide: true }, - { field: 'poste', headerName: 'Poste', flex: 1, }, + { field: 'poste', headerName: 'Poste', flex: 1, }, { field: 'date_du', headerName: 'Du', width: 150, hide: false, }, { field: 'date_au', headerName: 'Au', width: 150, hide: false, }, { field: 'related_target_collection_object', headerName: 'Cible', flex: 1, hide: false, }, @@ -846,7 +846,7 @@ const Materiel_Salle = (props) => { } else form.append("capacite_max", ""); - + if (local_capacite_max < local_capacite_ideale) { alert(" La capacité maximale doit être supérieure ou égale à à la capacité idéale"); return; @@ -3580,8 +3580,9 @@ const Materiel_Salle = (props) => { {String(submenu) === "detail_materiel" && String(add_One_Materiel) === "1" &&
- + {/* + */}
diff --git a/src/components/Materiels.js b/src/components/Materiels.js index 41e4b0f..03d6c31 100644 --- a/src/components/Materiels.js +++ b/src/components/Materiels.js @@ -77,7 +77,7 @@ const Materiels = (props) => { const columns = [ { field: '_id', headerName: '_id', hide: true }, { field: 'id', headerName: 'id', hide: true }, - { field: 'ref_interne', headerName: 'Ref. Interne', flex: 1, }, + { field: 'ref_interne', headerName: 'Ref. Interne', flex: 1, }, { field: 'nom', headerName: 'Nom', flex: 1, hide: false, }, { field: 'famille', headerName: 'Famille', flex: 1, hide: false, }, { field: 'marque', headerName: 'Marque', flex: 1, hide: false, }, @@ -149,7 +149,7 @@ const Materiels = (props) => { const columns_materielle_affectation = [ { field: '_id', headerName: '_id', hide: true }, { field: 'id', headerName: 'id', hide: true }, - { field: 'poste', headerName: 'Poste', flex: 1, }, + { field: 'poste', headerName: 'Poste', flex: 1, }, { field: 'date_du', headerName: 'Du', width: 150, hide: false, }, { field: 'date_au', headerName: 'Au', width: 150, hide: false, }, { field: 'related_target_collection_object', headerName: 'Cible', flex: 1, hide: false, }, @@ -224,7 +224,7 @@ const Materiels = (props) => { const columns_ressources_associes = [ { field: '_id', headerName: '_id', hide: true }, { field: 'id', headerName: 'id', hide: true }, - { field: 'poste', headerName: 'Poste', flex: 1, }, + { field: 'poste', headerName: 'Poste', flex: 1, }, { field: 'date_du', headerName: 'Du', width: 150, hide: false, }, { field: 'date_au', headerName: 'Au', width: 150, hide: false, }, { field: 'related_target_collection_object', headerName: 'Cible', flex: 1, hide: false, }, @@ -3305,9 +3305,10 @@ const Materiels = (props) => { {String(submenu) === "detail_materiel" && String(add_One_Materiel) === "1" &&
- - + + {/* + */}
diff --git a/src/components/Partner_Client.js b/src/components/Partner_Client.js index 4378e17..d8622fe 100644 --- a/src/components/Partner_Client.js +++ b/src/components/Partner_Client.js @@ -304,7 +304,7 @@ const Partner_Client = (props) => { axios.post(myurl, form).then(res => { //console.log(" In Get_List_Partner_Clients res.data.status = " + res.data.status); - console.log(" In Get_List_Partner_Clients res.data.message r_class = " + res.data.message); + //console.log(" In Get_List_Partner_Clients res.data.message r_class = " + res.data.message); if (String(res.data.status) === String("true")) { setGet_List_Partner_Clients_api("true"); diff --git a/src/components/Partner_Commande.js b/src/components/Partner_Commande.js index c9111f1..d64ba41 100644 --- a/src/components/Partner_Commande.js +++ b/src/components/Partner_Commande.js @@ -619,6 +619,7 @@ const Partner_Commande = (props) => { if (new_data2.length > 0) { setNew_GetCurrentPartnerClass_result(new_data2); + //console.log(" ### setNew_GetCurrentPartnerClass_result = ", New_GetCurrentPartnerClass_result); } @@ -1467,7 +1468,7 @@ const Partner_Commande = (props) => { if (new_data2.length > 0) { setNew_Getall_TrainingSession_result(new_data2); - console.log(" ### new_data2 = ", new_data2); + console.log(" ### setNew_Getall_TrainingSession_result = ", new_data2); } @@ -1516,7 +1517,7 @@ const Partner_Commande = (props) => { if (point_config_tva.config_value) { setpartner_taux_tva(point_config_tva.config_value); - console.log(" GGG TVA PART = ", point_config_tva.config_value); + //console.log(" GGG TVA PART = ", point_config_tva.config_value); } } else { @@ -3052,8 +3053,7 @@ const Partner_Commande = (props) => { - console.log(" ### qty = ", qty, " ### unit_price = ", unit_price, " ### total_base1 = ", total_base1, " ### total_reduction = ", - total_reduction, " ### reduct_value = ", reduct_value); + //console.log(" ### qty = ", qty, " ### unit_price = ", unit_price, " ### total_base1 = ", total_base1, " ### total_reduction = ", total_reduction, " ### reduct_value = ", reduct_value); var montant_taxe_tva = ((total_base1 - total_reduction) * [parseFloat(String(partner_taux_tva)) / 100]).toFixed(3); var montant_ttc = ((total_base1 - total_reduction) * (1 + [parseFloat(String(partner_taux_tva)) / 100])).toFixed(3); //(total_base2 + montant_taxe_tva).toFixed(2); @@ -3064,7 +3064,7 @@ const Partner_Commande = (props) => { setp_add_line_item_taxe_amount(String(montant_taxe_tva)); setp_add_line_item_total_amount_ttc(String(montant_ttc)); - console.log(" ### montant tva = ", String(montant_taxe_tva), " ### montant TTC = ", String(montant_ttc)); + //console.log(" ### montant tva = ", String(montant_taxe_tva), " ### montant TTC = ", String(montant_ttc)); } @@ -3786,7 +3786,6 @@ const Partner_Commande = (props) => { - // zzzz return (
@@ -3910,7 +3909,7 @@ const Partner_Commande = (props) => { - + {/****** Dialog pour la gestion d'un article */} { {New_GetCurrentPartnerClass_result && New_GetCurrentPartnerClass_result.length > 0 && (p_add_line_item || String(p_add_line_item) === "") && String(p_detail_header_statut_label).toLowerCase() !== "facturé" &&
Formation + + { {(p_add_line_item || String(p_add_line_item) === "") && String(p_detail_header_statut_label).toLowerCase() !== "facturé" && New_Getall_TrainingSession_result && New_Getall_TrainingSession_result.length > 0 &&
Session + + (data).class_internal_url === String(p_add_line_item_internal_url)) + options={New_Getall_TrainingSession_result.filter((data) => (data).class_internal_url === String(p_add_line_item)) } value={New_Getall_TrainingSession_result.filter((data) => (data)._id === String(p_add_line_session_id))[0].label} @@ -4278,26 +4281,7 @@ const Partner_Commande = (props) => {
- {/*
Total HT - - -
*/} - - - + @@ -4326,6 +4310,11 @@ const Partner_Commande = (props) => {
+ {/****** FIN Dialog pour la gestion d'un article */} + + + + {/********** Dialog pour une entete de commande/devis */} { +

Vos Commandes et Devis

Utilisez les filtres !
@@ -4650,7 +4640,8 @@ const Partner_Commande = (props) => { Ref. Interne   Ref. Externe (chez le client)   Nom Client   - Lié a la Formation (code externe)   + Lié à la Formation (code externe)   + Lié à la session (code session)   @@ -4731,7 +4722,7 @@ const Partner_Commande = (props) => { Ref. Externe (chez le client)   Nom Client   Lié a la Formation (code externe)   - + Lié à la session (code session)  
@@ -4811,7 +4802,7 @@ const Partner_Commande = (props) => { Ref. Externe (chez le client)   Nom Client   Lié a la Formation (code externe)   - + Lié à la session (code session)  
@@ -6193,8 +6184,8 @@ const Partner_Commande = (props) => { String(p_detail_header_statut_label).toLowerCase() === "traité" && } - {String(selected_order_header_type) === "devis" && String(p_detail_header_statut_label).toLowerCase() === "en cours" && - } + {String(selected_order_header_type) === "devis" && String(p_detail_header_statut_label).toLowerCase() === "en cours" && + } {String(selected_order_header_type) === "devis" && String(p_detail_header_statut_label).toLowerCase() === "en cours" && { if (sequence_from === undefined || String(sequence_from) === "" || sequence_to === undefined || String(sequence_to) === "") { console.log(" Les heures du Lundi sont incorrectes"); + alert("Les heures du Lundi sont incorrectes"); return; } @@ -701,6 +702,7 @@ const Partner_Configuration_Jours_Travail = (props) => { if (work_sequence_from >= work_sequence_to) { console.log(" Les heures du Lundi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); + alert(" Les heures du Lundi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); return; } @@ -751,6 +753,7 @@ const Partner_Configuration_Jours_Travail = (props) => { if (sequence_from === undefined || String(sequence_from) === "" || sequence_to === undefined || String(sequence_to) === "") { console.log(" Les heures du mardi sont incorrectes"); + alert(" Les heures du mardi sont incorrectes"); return; } @@ -760,6 +763,7 @@ const Partner_Configuration_Jours_Travail = (props) => { if (work_sequence_from >= work_sequence_to) { console.log(" Les heures du mardi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); + alert(" Les heures du mardi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); return; } @@ -802,6 +806,7 @@ const Partner_Configuration_Jours_Travail = (props) => { if (sequence_from === undefined || String(sequence_from) === "" || sequence_to === undefined || String(sequence_to) === "") { console.log(" Les heures du mercredi sont incorrectes"); + alert(" Les heures du mercredi sont incorrectes"); return; } @@ -811,6 +816,7 @@ const Partner_Configuration_Jours_Travail = (props) => { if (work_sequence_from >= work_sequence_to) { console.log(" Les heures du mercredi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); + alert(" Les heures du mercredi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); return; } @@ -858,6 +864,7 @@ const Partner_Configuration_Jours_Travail = (props) => { if (sequence_from === undefined || String(sequence_from) === "" || sequence_to === undefined || String(sequence_to) === "") { console.log(" Les heures du jeudi sont incorrectes"); + alert(" Les heures du jeudi sont incorrectes"); return; } @@ -867,6 +874,7 @@ const Partner_Configuration_Jours_Travail = (props) => { if (work_sequence_from >= work_sequence_to) { console.log(" Les heures du jeudi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); + alert(" Les heures du jeudi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); return; } @@ -915,6 +923,7 @@ const Partner_Configuration_Jours_Travail = (props) => { if (sequence_from === undefined || String(sequence_from) === "" || sequence_to === undefined || String(sequence_to) === "") { console.log(" Les heures du vendredi sont incorrectes"); + alert(" Les heures du vendredi sont incorrectes"); return; } @@ -924,6 +933,7 @@ const Partner_Configuration_Jours_Travail = (props) => { if (work_sequence_from >= work_sequence_to) { console.log(" Les heures du vendredi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); + alert(" Les heures du vendredi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); return; } @@ -972,6 +982,8 @@ const Partner_Configuration_Jours_Travail = (props) => { if (sequence_from === undefined || String(sequence_from) === "" || sequence_to === undefined || String(sequence_to) === "") { console.log(" Les heures du samedi sont incorrectes"); + + alert(" Les heures du samedi sont incorrectes"); return; } @@ -981,6 +993,7 @@ const Partner_Configuration_Jours_Travail = (props) => { if (work_sequence_from >= work_sequence_to) { console.log(" Les heures du samedi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); + alert(" Les heures du samedi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); return; } @@ -1027,6 +1040,7 @@ const Partner_Configuration_Jours_Travail = (props) => { if (sequence_from === undefined || String(sequence_from) === "" || sequence_to === undefined || String(sequence_to) === "") { console.log(" Les heures du dimanche sont incorrectes"); + alert(" Les heures du dimanche sont incorrectes"); return; } @@ -1036,6 +1050,7 @@ const Partner_Configuration_Jours_Travail = (props) => { if (work_sequence_from >= work_sequence_to) { console.log(" Les heures du dimanche sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); + alert(" Les heures du dimanche sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence"); return; } @@ -1915,7 +1930,7 @@ const Partner_Configuration_Jours_Travail = (props) => { )} - data_chanded = {data_chanded} + {/**/} diff --git a/src/components/Partner_Facture.js b/src/components/Partner_Facture.js index d9ef589..bae791d 100644 --- a/src/components/Partner_Facture.js +++ b/src/components/Partner_Facture.js @@ -562,7 +562,7 @@ const Partner_Facture = (props) => { if (new_data2.length > 0) { setNew_Getall_Invoice_Paiement_Payed_Remain_Amounts_result(new_data2); - console.log(" ### new_data2 = ", new_data2) + // console.log(" ### new_data2 = ", new_data2) } } diff --git a/src/styles/components/_apprenant.scss b/src/styles/components/_apprenant.scss index 80e8925..b4389ab 100644 --- a/src/styles/components/_apprenant.scss +++ b/src/styles/components/_apprenant.scss @@ -153,6 +153,7 @@ letter-spacing: 0.1rem; font-weight: normal; width: 100%; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -768,7 +769,7 @@ margin-right: 1rem; padding: 0.3rem; margin-bottom: 0.5rem; - width: 11rem; + width: 12rem; text-align: center; border: 1px solid #9cf; color: #3b3e40; @@ -776,6 +777,7 @@ font-size: small; letter-spacing: 0.1rem; font-weight: normal; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -1446,7 +1448,7 @@ margin-right: 1rem; padding: 0.3rem; margin-bottom: 0.5rem; - width: 11rem; + width: 12rem; text-align: center; border: 1px solid #9cf; color: #3b3e40; @@ -1454,6 +1456,7 @@ font-size: small; letter-spacing: 0.1rem; font-weight: normal; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -2012,7 +2015,7 @@ margin-right: 1rem; padding: 0.3rem; margin-bottom: 0.5rem; - min-width: 12rem; + min-width: 15rem; text-align: center; border: 1px solid #9cf; color: #3b3e40; @@ -2020,6 +2023,7 @@ font-size: small; letter-spacing: 0.1rem; font-weight: normal; + height: 2rem !important; } .detail_class_submenu:hover:active, diff --git a/src/styles/components/_config_document.scss b/src/styles/components/_config_document.scss index f39b976..1169b9d 100644 --- a/src/styles/components/_config_document.scss +++ b/src/styles/components/_config_document.scss @@ -111,6 +111,7 @@ letter-spacing: 0.1rem; font-weight: normal; width: 100%; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -655,7 +656,7 @@ margin-right: 1rem; padding: 0.3rem; margin-bottom: 0.5rem; - width: 11rem; + width: 12rem; text-align: center; border: 1px solid #9cf; color: #3b3e40; @@ -664,6 +665,7 @@ letter-spacing: 0.1rem; font-weight: normal; width: auto; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -1269,7 +1271,7 @@ margin-right: 1rem; padding: 0.3rem; margin-bottom: 0.5rem; - width: 11rem; + width: 12rem; text-align: center; border: 1px solid #9cf; color: #3b3e40; @@ -1278,6 +1280,7 @@ letter-spacing: 0.1rem; font-weight: normal; width: auto; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -1738,7 +1741,7 @@ margin-right: 1rem; padding: 0.3rem; margin-bottom: 0.5rem; - min-width: 12rem; + min-width: 15rem; text-align: center; border: 1px solid #9cf; color: #3b3e40; @@ -1747,6 +1750,7 @@ letter-spacing: 0.1rem; font-weight: normal; width: auto; + height: 2rem !important; } .detail_class_submenu:hover:active, diff --git a/src/styles/components/_displaypartnerstagiaire.scss b/src/styles/components/_displaypartnerstagiaire.scss index e6bd9b0..8dd3d5b 100644 --- a/src/styles/components/_displaypartnerstagiaire.scss +++ b/src/styles/components/_displaypartnerstagiaire.scss @@ -146,6 +146,7 @@ letter-spacing: 0.1rem; font-weight: normal; width: 100%; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -713,7 +714,7 @@ margin-right: 1rem; padding: 0.3rem; margin-bottom: 0.5rem; - width: 11rem; + width: 12rem; text-align: center; border: 1px solid #9cf; color: #3b3e40; @@ -721,6 +722,7 @@ font-size: small; letter-spacing: 0.1rem; font-weight: normal; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -1346,7 +1348,7 @@ margin-right: 1rem; padding: 0.3rem; margin-bottom: 0.5rem; - width: 11rem; + width: 12rem; text-align: center; border: 1px solid #9cf; color: #3b3e40; @@ -1354,6 +1356,7 @@ font-size: small; letter-spacing: 0.1rem; font-weight: normal; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -1849,7 +1852,7 @@ margin-right: 1rem; padding: 0.3rem; margin-bottom: 0.5rem; - min-width: 12rem; + min-width: 15rem; text-align: center; border: 1px solid #9cf; color: #3b3e40; @@ -1857,6 +1860,7 @@ font-size: small; letter-spacing: 0.1rem; font-weight: normal; + height: 2rem !important; } .detail_class_submenu:hover:active, diff --git a/src/styles/components/_materiel_salle.scss b/src/styles/components/_materiel_salle.scss index 6e13a21..9aa8957 100644 --- a/src/styles/components/_materiel_salle.scss +++ b/src/styles/components/_materiel_salle.scss @@ -121,6 +121,7 @@ letter-spacing: 0.1rem; font-weight: normal; width: 100%; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -667,6 +668,7 @@ font-size: small; letter-spacing: 0.1rem; font-weight: normal; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -1273,6 +1275,7 @@ font-size: small; letter-spacing: 0.1rem; font-weight: normal; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -1742,6 +1745,7 @@ font-size: small; letter-spacing: 0.1rem; font-weight: normal; + height: 2rem !important; } .detail_class_submenu:hover:active, diff --git a/src/styles/components/_materiels.scss b/src/styles/components/_materiels.scss index 8eb23e1..121bafa 100644 --- a/src/styles/components/_materiels.scss +++ b/src/styles/components/_materiels.scss @@ -112,6 +112,7 @@ letter-spacing: 0.1rem; font-weight: normal; width: 100%; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -658,6 +659,7 @@ font-size: small; letter-spacing: 0.1rem; font-weight: normal; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -1264,6 +1266,7 @@ font-size: small; letter-spacing: 0.1rem; font-weight: normal; + height: 2rem !important; } .detail_class_submenu:hover:active, @@ -1733,6 +1736,7 @@ font-size: small; letter-spacing: 0.1rem; font-weight: normal; + height: 2rem !important; } .detail_class_submenu:hover:active,