From 3be3c2db4b34fc9cc5115b1d60386b1bd2e622b3 Mon Sep 17 00:00:00 2001 From: cherif Date: Sat, 29 Mar 2025 09:43:27 +0100 Subject: [PATCH] sdsds --- public/index.html | 31 +- src/components/AddClassManual.js | 1391 ++++++------ src/components/Article.js | 6 +- src/components/CheckOut.js | 2 +- src/components/DisplayPartnerSession.js | 2003 +++++++++-------- src/components/DisplayPartnerStagiaires.js | 2 +- src/components/Employes.js | 26 +- src/components/Fonctionnalites_V1.js | 175 +- src/components/GestionAdministrative.js | 2 +- src/components/Header.js | 2 +- src/components/Intranet_Mes_Stagiaires.js | 2 +- src/components/Module_Editique.js | 33 +- src/components/Mon_Catalogue_Public.js | 23 +- src/components/New_Navigation_2025.js | 2 +- src/components/New_Sidebar_2025.js | 241 +- src/components/PartnerSignInSecond.js | 6 +- src/components/Partner_Config_Technique.js | 139 +- src/components/ProduitsServices.js | 4 +- src/components/RechercheArticles_new_v2.js | 13 +- src/components/TestUrl.js | 197 +- src/components/UpdateAttendeeList.js | 182 +- .../a_propos_automatic_files/LogoCloud.js | 2 +- .../new_fonctionnalites_2025.js | 8 +- .../footer_automatic_files/Layout.js | 2 +- .../header_automatic_files/Header.jsx | 2 +- .../homepage_automatic_files/LogoCloud.js | 2 +- .../homepage_automatic_files/new_homepage.css | 195 +- .../homepage_automatic_files/new_homepage.js | 68 +- .../new_marketplace_2025.js | 2 +- .../PricingLayout.js | 2 +- .../tarif_head_automatic_files/detail.css | 11 +- .../PriceCard.css | 25 +- .../PricingSection.js | 117 +- src/mysy_img/Banniere_mysy_goent.png | Bin 0 -> 238665 bytes src/mysy_img/cherif_balde_landscape.png | Bin 0 -> 409843 bytes src/mysy_img/landscape.png | Bin 0 -> 419907 bytes src/mysy_img/mysy_training_landscape.png | Bin 0 -> 302628 bytes src/mysy_img/spteph.jpg | Bin 0 -> 22032 bytes src/pages/new_p_fonctionnalite_2025.js | 2 +- src/pages/new_p_home_page_2025.js | 11 + src/pages/new_p_tarif_2025.js | 11 + src/styles/components/_addclassmanual.scss | 97 +- src/styles/components/_apprenant.scss | 49 +- .../_config_champs_personnalise.scss | 2 + src/styles/components/_config_document.scss | 2 + .../components/_dashbord_formation.scss | 17 +- src/styles/components/_dashbord_session.scss | 17 +- .../_displayPartnerunite_enseignement.scss | 15 +- .../components/_displaypartnersession.scss | 100 +- .../components/_displaypartnerstagiaire.scss | 2 + .../_displaypartnertrainingpagination.scss | 4 + src/styles/components/_emarge_qr_code.scss | 2 +- .../components/_groupe_apprenant_dialog.scss | 15 +- .../components/_intranet_mes_stagiaires.scss | 2 + src/styles/components/_materiel_salle.scss | 2 + src/styles/components/_materiels.scss | 2 + src/styles/components/_module_absence.scss | 2 + .../_module_alert_confirmation.scss | 15 +- .../components/_module_historique_action.scss | 2 + src/styles/components/_moduleactivite.scss | 15 +- src/styles/components/_moduleia.scss | 15 +- .../_moduleselectionapprenants.scss | 17 +- .../_moduleselectionevaluationapprenants.scss | 17 +- .../components/_modulesessionevaluation.scss | 17 +- .../_modulesessionplanification.scss | 17 +- .../components/_mon_tableau_de_bord.scss | 15 +- .../_partner_client_securite_data.scss | 2 + .../_partner_configuration_jours_travail.scss | 2 + .../_partner_configuration_session_step.scss | 2 + .../_partner_configuration_technique.scss | 2 + .../_partner_domaine_categorie_metier.scss | 2 + ..._partner_ftion_initiale_configuration.scss | 2 + .../components/_partner_prix_achat.scss | 17 +- .../components/_partner_product_service.scss | 2 + src/styles/components/_partnerclient.scss | 2 + src/styles/components/_test_page.scss | 2 +- 76 files changed, 3059 insertions(+), 2378 deletions(-) create mode 100644 src/mysy_img/Banniere_mysy_goent.png create mode 100644 src/mysy_img/cherif_balde_landscape.png create mode 100644 src/mysy_img/landscape.png create mode 100644 src/mysy_img/mysy_training_landscape.png create mode 100644 src/mysy_img/spteph.jpg diff --git a/public/index.html b/public/index.html index 6f34e29..86392c3 100644 --- a/public/index.html +++ b/public/index.html @@ -8,6 +8,36 @@ + - diff --git a/src/components/AddClassManual.js b/src/components/AddClassManual.js index b3848e7..9269e66 100644 --- a/src/components/AddClassManual.js +++ b/src/components/AddClassManual.js @@ -3849,7 +3849,7 @@ const AddClassManual = (props) => { //console.log(" nom_fichier_cmd = ", nom_fichier_cmd, " --- selected_id = ", selected_id, " --- url =", url); - // console.log(" #### url = ", url) + // console.log(" #### url = ", url) setLoading(true); axios.get(url, { responseType: 'blob', },) @@ -4222,7 +4222,7 @@ const AddClassManual = (props) => { aria-labelledby="draggable-dialog-title" > - MySy Information + MySy Information {Dialog_1_message} @@ -4924,723 +4924,772 @@ const AddClassManual = (props) => { {submenu && String(submenu) === "detail_formation" &&
-
- { - setp_detail_external_code(e.target.value); - } - } - - - /> -
- -
- { - setp_detail_title(e.target.value); - } - } - /> -
- - - - -
- { - if (value && value._id) { - setp_formateur_id(value._id); - setp_formateur_label(value.label) - DataUpdated(); - - } else { - setp_formateur_id(""); - setp_formateur_label("") - DataUpdated(); - } - }} - - renderInput={(params) => - } - /> +
+
+
+
+
+ - - { - if (value && value.value) { - - setmycpf(value.value); - setmycpf_label(value.label); - setdatamodification("1"); - - } else { - setmycpf(""); - setmycpf_label(""); - setdatamodification("1"); - } - }} - - renderInput={(params) => - } - /> - -
- -
- - { - if (value && value.value) { - - setmycertif(value.value); - setmycertif_label(value.label); - setdatamodification("1"); - - } else { - setmycertif(""); - setmycertif_label(""); - setdatamodification("1"); - } - }} - - renderInput={(params) => - } - /> - - -
- -
- { - if (value && value.code) { - setp_class_level(value.code); - setp_class_level_label(value.description) - DataUpdated(); - - } else { - setp_class_level(""); - setp_class_level_label("") - DataUpdated(); - } - }} - - renderInput={(params) => - } - /> -
- - -
- - { - if (value && value.value) { - // console.log(" value = ", value); - setmypublished(value.value); - setmypublished_label(value.label); - setdatamodification("1"); - - } else { - setmypublished(""); - setmypublished_label(""); - setdatamodification("1"); - } - }} - - renderInput={(params) => - } - /> - - -
- -
- - { - if (value && value.value) { - setmypresence(value.value); - setmypresence_label(value.label); - setdatamodification("1"); - } else { - setmypresence(""); - setmypresence_label(""); - setdatamodification("1"); - } - }} - - renderInput={(params) => - } - /> - - -
- -
- - { - if (value && value.value) { - - setmydistance(value.value); - setmydistance_label(value.label); - setdatamodification("1"); - - } else { - setmydistance(""); - setmydistance_label(""); - setdatamodification("1"); - } - }} - - renderInput={(params) => - } - /> - -
- - -
- - { - if (value && value.value) { - - setmytrainingsupport(value.value); - setdatamodification("1"); - setmytrainingsupport_label(value.label) - - } else { - setmytrainingsupport(""); - setdatamodification("1"); - setmytrainingsupport_label("") - } - }} - - renderInput={(params) => - } - /> - -
- - - {New_Get_List_Domaines_result && New_Get_List_Domaines_result.length > 0 &&
- (data)._id === String(mytrainingdomaine))[0].label} - - onChange={(event, value) => { - if (value && value._id) { - setmytrainingdomaine(value._id); - setmytrainingmetier(""); - setmytrainingcategorie(""); - setdatamodification("1"); - } else { - setmytrainingdomaine(""); - setmytrainingmetier(""); - setmytrainingcategorie(""); - } - }} - - renderInput={(params) => - } - /> - -
} - - - {New_Get_List_Metiers_result && New_Get_List_Metiers_result.length > 0 && mytrainingdomaine && -
- data.class_domaine_id === String(String(mytrainingdomaine).trim()))} - - value={New_Get_List_Metiers_result.filter((data) => (data)._id === String(mytrainingmetier))[0].label} - - - onChange={(event, value) => { - - if (value && value._id) { - setmytrainingmetier(value._id); - setdatamodification("1"); - } else { - setmytrainingmetier(""); - setdatamodification("1"); + value={p_detail_external_code} + onChange={(e) => { + setp_detail_external_code(e.target.value); } - }} - - renderInput={(params) => - } - /> - -
} - - - - - {(!mytrainingdomaine || String(mytrainingdomaine).trim().length <= 0 || String(mytrainingdomaine).trim() === "") &&
- { - - - if (value && value._id) { - - setmytrainingmetier(value.metier); - setdatamodification("1"); - } else { - setmytrainingmetier(""); - setdatamodification("1"); - } - }} - - renderInput={(params) => - } - /> - -
} - - - - {New_Get_List_Categorie_result && New_Get_List_Categorie_result.length > 0 && mytrainingdomaine && -
- data.class_domaine_id === String(String(mytrainingdomaine).trim()))} - - value={New_Get_List_Categorie_result.filter((data) => (data)._id === String(mytrainingcategorie))[0].label} - - - onChange={(event, value) => { - - if (value && value._id) { - setmytrainingcategorie(value._id); - setdatamodification("1"); - } else { - setmytrainingcategorie(""); - setdatamodification("1"); - } - }} - - renderInput={(params) => - } - /> - -
} + /> +
- - {(!mytrainingdomaine || String(mytrainingdomaine).trim().length <= 0 || String(mytrainingdomaine).trim() === "") &&
- { - - - if (value && value._id) { - - setmytrainingcategorie(value.metier); - setdatamodification("1"); - } else { - setmytrainingcategorie(""); - setdatamodification("1"); - - - } - }} - - renderInput={(params) => - } - /> - -
} - - - -
- { - setp_detail_price(e.target.value); - } - } - /> -
- -
- - { - setp_detail_duree(e.target.value); - } - } - /> -
- - -
- { - if (value && value.value) { - setmytrainingdurationunit(value.value); - setdatamodification("1"); - } else { - setmytrainingdurationunit(""); - setdatamodification("1"); +
+ { + setp_detail_title(e.target.value); } - }} + } + /> +
- renderInput={(params) => - } - /> + +
+ { + if (value && value._id) { + setp_formateur_id(value._id); + setp_formateur_label(value.label) + DataUpdated(); + + } else { + setp_formateur_id(""); + setp_formateur_label("") + DataUpdated(); + } + }} + + renderInput={(params) => + } + /> + + + +
+ + + + +
+ + { + if (value && value.value) { + + setmycpf(value.value); + setmycpf_label(value.label); + setdatamodification("1"); + + } else { + setmycpf(""); + setmycpf_label(""); + setdatamodification("1"); + } + }} + + renderInput={(params) => + } + /> + +
+ +
+ + { + if (value && value.value) { + + setmycertif(value.value); + setmycertif_label(value.label); + setdatamodification("1"); + + } else { + setmycertif(""); + setmycertif_label(""); + setdatamodification("1"); + } + }} + + renderInput={(params) => + } + /> + + +
+ +
+ { + if (value && value.code) { + setp_class_level(value.code); + setp_class_level_label(value.description) + DataUpdated(); + + } else { + setp_class_level(""); + setp_class_level_label("") + DataUpdated(); + } + }} + + renderInput={(params) => + } + /> +
+ + +
+ + { + if (value && value.value) { + // console.log(" value = ", value); + setmypublished(value.value); + setmypublished_label(value.label); + setdatamodification("1"); + + } else { + setmypublished(""); + setmypublished_label(""); + setdatamodification("1"); + } + }} + + renderInput={(params) => + } + /> + + +
+ +
+ + { + if (value && value.value) { + setmypresence(value.value); + setmypresence_label(value.label); + setdatamodification("1"); + } else { + setmypresence(""); + setmypresence_label(""); + setdatamodification("1"); + } + }} + + renderInput={(params) => + } + /> + + +
+ +
+ + { + if (value && value.value) { + + setmydistance(value.value); + setmydistance_label(value.label); + setdatamodification("1"); + + } else { + setmydistance(""); + setmydistance_label(""); + setdatamodification("1"); + } + }} + + renderInput={(params) => + } + /> + +
+ + +
+ + { + if (value && value.value) { + + setmytrainingsupport(value.value); + setdatamodification("1"); + setmytrainingsupport_label(value.label) + + } else { + setmytrainingsupport(""); + setdatamodification("1"); + setmytrainingsupport_label("") + } + }} + + renderInput={(params) => + } + /> + +
+ + + {New_Get_List_Domaines_result && New_Get_List_Domaines_result.length > 0 &&
+ (data)._id === String(mytrainingdomaine))[0].label} + + onChange={(event, value) => { + if (value && value._id) { + setmytrainingdomaine(value._id); + setmytrainingmetier(""); + setmytrainingcategorie(""); + setdatamodification("1"); + } else { + setmytrainingdomaine(""); + setmytrainingmetier(""); + setmytrainingcategorie(""); + } + }} + + renderInput={(params) => + } + /> + +
} + + + {New_Get_List_Metiers_result && New_Get_List_Metiers_result.length > 0 && mytrainingdomaine && +
+ data.class_domaine_id === String(String(mytrainingdomaine).trim()))} + + value={New_Get_List_Metiers_result.filter((data) => (data)._id === String(mytrainingmetier))[0].label} + + + onChange={(event, value) => { + + if (value && value._id) { + setmytrainingmetier(value._id); + setdatamodification("1"); + } else { + setmytrainingmetier(""); + setdatamodification("1"); + } + }} + + renderInput={(params) => + } + /> + +
} + + + + + {(!mytrainingdomaine || String(mytrainingdomaine).trim().length <= 0 || String(mytrainingdomaine).trim() === "") &&
+ { + + + if (value && value._id) { + + setmytrainingmetier(value.metier); + setdatamodification("1"); + } else { + setmytrainingmetier(""); + setdatamodification("1"); + } + }} + + renderInput={(params) => + } + /> + +
} + + + + {New_Get_List_Categorie_result && New_Get_List_Categorie_result.length > 0 && mytrainingdomaine && +
+ data.class_domaine_id === String(String(mytrainingdomaine).trim()))} + + value={New_Get_List_Categorie_result.filter((data) => (data)._id === String(mytrainingcategorie))[0].label} + + + onChange={(event, value) => { + + if (value && value._id) { + setmytrainingcategorie(value._id); + setdatamodification("1"); + } else { + setmytrainingcategorie(""); + setdatamodification("1"); + + } + }} + + renderInput={(params) => + } + /> + +
} + + + + + {(!mytrainingdomaine || String(mytrainingdomaine).trim().length <= 0 || String(mytrainingdomaine).trim() === "") &&
+ { + + + if (value && value._id) { + + setmytrainingcategorie(value.metier); + setdatamodification("1"); + } else { + setmytrainingcategorie(""); + setdatamodification("1"); + + + } + }} + + renderInput={(params) => + } + /> + +
} +
-
- -
- { - setp_detail_url(e.target.value); - } - } - />
-
- { - setp_detail_lms_class_code(e.target.value); - } - } - /> +   +
+
-
- { - setp_detail_class_inscription_url(e.target.value); - } - } - /> -
+
+
+ + +
+ { + setp_detail_url(e.target.value); + } + } + /> +
+ +
+ { + setp_detail_lms_class_code(e.target.value); + } + } + /> +
+ + +
+ { + setp_detail_class_inscription_url(e.target.value); + } + } + /> +
-
- - + + - { - setp_detail_class_banner_img_url(e.target.value); - } - } - /> - + value={p_detail_class_banner_img_url} + onChange={(e) => { + setp_detail_class_banner_img_url(e.target.value); + } + } + /> + +
+ + +
+ { + setp_detail_note(e.target.value); + } + } + /> +
+ +
+ { + setp_detail_version_catalogue(e.target.value); + } + } + /> +
+ +
+ { + setp_detail_recyclage_delai(e.target.value); + } + } + /> +
+ +
+ { + setp_detail_recyclage_alert(e.target.value); + } + } + /> +
+ +
-
- { - setp_detail_note(e.target.value); - } - } - /> + {/* -- début champs durée & prix **/} +   +
+ +
-
- { - setp_detail_version_catalogue(e.target.value); - } - } - /> -
+
+
-
- { - setp_detail_recyclage_delai(e.target.value); - } - } - /> -
-
- { - setp_detail_recyclage_alert(e.target.value); - } - } - /> +
+ + { + setp_detail_duree(e.target.value); + } + } + /> +
+ +
+ { + if (value && value.value) { + setmytrainingdurationunit(value.value); + setdatamodification("1"); + } else { + setmytrainingdurationunit(""); + setdatamodification("1"); + } + }} + + renderInput={(params) => + } + /> + + +
+ + +
+ { + setp_detail_price(e.target.value); + } + } + /> +
+
{/* -- début champs specifiques **/} -
-
+   +
+
-
Vos champs spécifiques
- {rows_champs_specifics && - rows_champs_specifics.map((champ_spec) => ( +
-
- {String(JSON.parse(champ_spec).field_type) === "float" && { - change_champs_spec_handle(e.target.value); - //setEmployee_data_changed("1"); - }} - />} +
+ {rows_champs_specifics && + rows_champs_specifics.map((champ_spec) => ( - {String(JSON.parse(champ_spec).field_type) === "string" && + {String(JSON.parse(champ_spec).field_type) === "float" && { + change_champs_spec_handle(e.target.value); + //setEmployee_data_changed("1"); + }} + />} - InputLabelProps={{ - shrink: true, - }} - disabled={false} - className="disabled_style" - onChange={(e) => { - change_champs_spec_handle(e.target.value); - //setEmployee_data_changed("1"); - }} - />} + {String(JSON.parse(champ_spec).field_type) === "string" && - ))} + InputLabelProps={{ + shrink: true, + }} + disabled={false} + className="disabled_style" + onChange={(e) => { + change_champs_spec_handle(e.target.value); + //setEmployee_data_changed("1"); + }} + />} -
+
+ ))} + +
{/* -- end champs specifiques **/} diff --git a/src/components/Article.js b/src/components/Article.js index 009c49b..95fc45e 100644 --- a/src/components/Article.js +++ b/src/components/Article.js @@ -1,10 +1,6 @@ import React, { useRef, useState, useEffect } from "react"; import { Button, } from "reactstrap"; -import { FacebookShareButton, LinkedinShareButton, TwitterShareButton } from "react-share"; -import { SocialIcon } from 'react-social-icons'; -import happyimg from "../mysy_img/happy.png"; -import unhappyimg from "../mysy_img/nothappy.png"; -import middleimg from "../mysy_img/middle.png"; + import parse from 'html-react-parser' import img_met_autre from "../mysy_img/met_autre.jpg"; import img_met_digital from "../mysy_img/met_digital.jpg"; diff --git a/src/components/CheckOut.js b/src/components/CheckOut.js index 76d1559..a098c64 100644 --- a/src/components/CheckOut.js +++ b/src/components/CheckOut.js @@ -1508,7 +1508,7 @@ function CheckOut(props) {
Detail de Facturation
{String(addfacturationinfo_api) === String("true") && String(addfacturationinfo_response).length > 3 && -
La modification ete prise en compte
} +
La modification a été prise en compte
} {String(addfacturationinfo_api) === String("false") || String(addfacturationinfo_response) === String("0") &&
Impossible de modifier les informations de facturation
} diff --git a/src/components/DisplayPartnerSession.js b/src/components/DisplayPartnerSession.js index c9523e6..5b9adf0 100644 --- a/src/components/DisplayPartnerSession.js +++ b/src/components/DisplayPartnerSession.js @@ -214,7 +214,7 @@ const DisplayPartnerSession = (props) => { return (