diff --git a/src/components/DisplayPartnerSession.js b/src/components/DisplayPartnerSession.js index 12ee5d0..be70b2b 100644 --- a/src/components/DisplayPartnerSession.js +++ b/src/components/DisplayPartnerSession.js @@ -20,7 +20,7 @@ import participants from "../mysy_img/participants.png"; import fileDownload from 'js-file-download' import Popup from 'reactjs-popup'; import 'reactjs-popup/dist/index.css'; -import { FcCancel, FcApproval, FcAcceptDatabase, FcPrint, FcAlarmClock } from "react-icons/fc"; +import { FcCancel, FcApproval, FcAcceptDatabase, FcPrint, FcAlarmClock, FcMultipleSmartphones, FcWorkflow } from "react-icons/fc"; import DatePicker from "react-datepicker"; import "react-datepicker/dist/react-datepicker.css"; import { format } from 'date-fns' @@ -187,7 +187,7 @@ const DisplayPartnerSession = (props) => { { field: 'nb_inscrit', headerName: 'Inscrits', width: datagrid_columns_size_model2, align: "center", hide: true, hideable: true, }, { field: 'nb_preinscrit', headerName: 'Preinscrits', width: datagrid_columns_size_model2, align: "center", hide: true, hideable: true, }, { field: 'prix_session', headerName: 'Prix', minWidth: datagrid_columns_size_model2, align: "center", }, - { field: 'title', headerName: 'Formation', minWidth: 250, flex:1, align: "center", hide: true, hideable: true, }, + { field: 'title', headerName: 'Formation', minWidth: 250, flex: 1, align: "center", hide: true, hideable: true, }, { field: 'domaine', headerName: 'Domaine', width: datagrid_columns_size_model1, align: "center", hide: true, hideable: true, }, { field: 'published', headerName: 'publié', width: datagrid_columns_size_model1, align: "center", hide: true, hideable: true, }, @@ -670,13 +670,13 @@ const DisplayPartnerSession = (props) => { { field: 'id', headerName: 'id', hide: true }, { field: '_id', headerName: '_id', hide: true }, { field: 'session_id', headerName: 'session_id', width: 200, hide: true, flex: 1, minWidth: 150, maxWidth: 300 }, - { field: 'sequence_title', headerName: 'Titre', minWidth: 200, flex:1, hide: false, editable: false, resizable: true }, - { field: 'sequence_start', headerName: 'Debut', minWidth: 200, flex:1, hide: false, editable: false }, - { field: 'sequence_end', headerName: 'Fin', minWidth: 200, flex:1, hide: false, editable: false }, + { field: 'sequence_title', headerName: 'Titre', minWidth: 200, flex: 1, hide: false, editable: false, resizable: true }, + { field: 'sequence_start', headerName: 'Debut', minWidth: 200, flex: 1, hide: false, editable: false }, + { field: 'sequence_end', headerName: 'Fin', minWidth: 200, flex: 1, hide: false, editable: false }, { - field: "Detail", headerName: 'Voir detail',minWidth: 200, flex:1, + field: "Detail", headerName: 'Voir detail', minWidth: 200, flex: 1, renderCell: (cellValues) => { return ( @@ -684,7 +684,7 @@ const DisplayPartnerSession = (props) => { onClick={(event) => { setselected_detail_sequence_title(cellValues.row.sequence_title); - + setselected_sequence_startDate(cellValues.row.sequence_start); setselected_sequence_endDate(cellValues.row.sequence_end); @@ -700,7 +700,7 @@ const DisplayPartnerSession = (props) => { behavior: "smooth", }); } - + }} > @@ -712,14 +712,14 @@ const DisplayPartnerSession = (props) => { }, { - field: "modifier", headerName: 'Modifier',minWidth: 200, flex:1, + field: "modifier", headerName: 'Modifier', minWidth: 200, flex: 1, renderCell: (cellValues) => { return ( } - {String(update_sequence) === "1" && } + {String(update_sequence) !== "1" && } + {String(update_sequence) === "1" && } - +
@@ -9094,7 +9116,7 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair setselected_sequence_id(newSelectionModel.row._id); setdisplay_detail_sequence("1"); - + if (document.getElementById('myRef_seq_ressource')) { var divh = document.getElementById('myRef_seq_ressource').offsetTop; window.scrollTo({ @@ -9169,6 +9191,64 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair id='menu_import_participant' name='menu_import_participant'>Ajout 1 Séquence   ajout session +   + + + + Création automatique   + + + + } + modal + nested + position="center center" + > + + {close => ( +
+ +
MySy Information
+
+ {' '} + + Confirmer l'action {actionmass_preinsc_val} en masse.
+ /!\ : Toutes les séquences de cette session seront supprimées.
+
+
+
+ + +
+
+ +
+
+
+ )} +
+
diff --git a/src/styles/components/_displaypartnersession.scss b/src/styles/components/_displaypartnersession.scss index c1ed70a..426f04d 100644 --- a/src/styles/components/_displaypartnersession.scss +++ b/src/styles/components/_displaypartnersession.scss @@ -2485,6 +2485,9 @@ // end media + .css-md26zr-MuiInputBase-root-MuiOutlinedInput-root{ + height: 3rem !important; + } .session_caract_Dialog { width: 100%; @@ -2506,6 +2509,13 @@ } + .session_caract_Dialog_DatePicker { + + width: 99% !important; + background-color: #FFFFFF; + } + + .css-1v4ccyo { height: 3.5rem !important;