07/05/2025 - 20h

recette2
cherif 2025-05-07 19:53:22 +02:00
parent 58f2e023e6
commit 6e87449aa6
10 changed files with 1123 additions and 138 deletions

View File

@ -5046,7 +5046,7 @@ const Apprenant = (props) => {
function clear_display_alert_mysy() {
setdisplay_alert_mysy("");
}
return (
<div className="apprenant">

View File

@ -2490,7 +2490,7 @@ const Equipe_Team = (props) => {
<div className="gest_content">
{' '}
{String(actionmass_ftion_val) === "supprimer" &&
<font color="red"> Confirmer la suppression de {selectionModel_columns_equipe.length} groupe(s) .
<font color="red"> Confirmer la suppression de {selectionModel_columns_equipe.length} membre(s) .
</font>}
@ -2810,7 +2810,7 @@ const Equipe_Team = (props) => {
</div>}
{String(add_one_equipe) === "1" && String(display_equipe) !== "1" && <div className="div_row session_data">
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600", "paddingTop": "10px", "paddingLeft": "5px" }}> Ajouter un nouveau groupe </nav>
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600", "paddingTop": "10px", "paddingLeft": "5px" }}> Ajouter une nouvelle équipe </nav>
<div>
@ -2883,7 +2883,7 @@ const Equipe_Team = (props) => {
</div>
<div className="session_caract"> <b> Responsable zzzz </b> <br />
<div className="session_caract"> <b> Responsable </b> <br />
{New_Getall_Training_Employee_No_Filter_result && New_Getall_Training_Employee_No_Filter_result.length > 0 &&
<Autocomplete

File diff suppressed because it is too large Load Diff

View File

@ -1264,6 +1264,7 @@ const Materiels = (props) => {
Getall_Materiel_Affectation(materiel_id);
Getall_Materiel_Rattachement(materiel_id);
if (document.getElementById('myRef')) {
var divh = document.getElementById('myRef').offsetTop;
window.scrollTo({

View File

@ -6,38 +6,26 @@ import Button from '@mui/material/Button';
import axios from "axios";
import { getCookie, setCookie } from 'react-use-cookie';
import { useHistory } from "react-router-dom";
import CheckOut from "./CheckOut";
import { DataGrid, GridToolbar, frFR } from '@mui/x-data-grid';
import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css";
import { Editor } from '@tinymce/tinymce-react';
import parse from 'html-react-parser';
import { FcViewDetails, FcDisapprove } from "react-icons/fc";
import 'react-tooltip/dist/react-tooltip.css'
import { Tooltip } from 'react-tooltip'
import add_plus from "../mysy_img/plus.png";
import excel_icone from "../mysy_img/excel_icone.png";
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, FcPlanner } from "react-icons/fc";
import { FcCancel, FcApproval, FcPlanner } from "react-icons/fc";
import DatePicker from "react-datepicker";
import "react-datepicker/dist/react-datepicker.css";
import { format } from 'date-fns'
import moment from "moment";
import InputAdornment from '@mui/material/InputAdornment';
import { AiFillCloseCircle } from "react-icons/ai";
import Box from '@mui/material/Box';
import { Typography, LinearProgress, sliderClasses } from '@mui/material';
import styled from 'styled-components';
import { CiTrash, CiBoxList } from "react-icons/ci";
import { MdAddCircleOutline, MdRemoveCircleOutline } from "react-icons/md";
import { CiBoxList } from "react-icons/ci";
import Dialog from '@mui/material/Dialog';
import DialogActions from '@mui/material/DialogActions';
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 img_loading_spin from "./../mysy_img/mysy_spin_loading.gif";
import FullCalendar from "@fullcalendar/react";
import daygridPlugin from "@fullcalendar/daygrid";
@ -45,8 +33,7 @@ import interactionPlugin from "@fullcalendar/interaction";
import timeGridPlugin from "@fullcalendar/timegrid";
import allLocales from '@fullcalendar/core/locales-all'
import { RepeatOnRounded, RestaurantMenu } from "@mui/icons-material";
import { alignPropType } from "react-bootstrap/esm/types";
import ToggleSwitch from "./ToggleSwitch";
import { IoAddCircleOutline, IoCloseCircleOutline } from "react-icons/io5";
@ -95,66 +82,7 @@ const Module_Absence = (props) => {
{ field: 'event_comment', headerName: 'Comment', flex: 1, hide: true, editable: false, },
/*{
field: "delete", headerName: 'Supprimer',
renderCell: (cellValues) => {
return (
<Popup
trigger={<Button
onClick={(event) => {
// handleClick_delete(event, cellValues);
}}
>
<CiTrash />
</Button>}
modal
nested
position="center center"
>
{close => (
<div>
<button className="gest_close" onClick={close}>
&times;
</button>
<div className="gest_header"> MySy Information </div>
<div className="gest_content">
{' '}
En confirmant cette opération, le document sera <i><font color="red"> définitivement supprimé</font></i>. <br />
</div>
<div className="gest_actions">
<div style={{ "width": "45%", "float": "left" }}>
<button className="gest_bton_popup" onClick={(event) => {
handleClick_delete(event, cellValues);
//console.log('modal closed ');
close();
}}> Valider </button>
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
onClick={() => {
//console.log('modal closed ');
close();
}}
>
Annuler
</button>
</div>
</div>
</div>
)}
</Popup>
);
}
} */
]

View File

@ -11,25 +11,15 @@ import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css";
import 'react-tooltip/dist/react-tooltip.css'
import fileDownload from 'js-file-download'
import Popup from 'reactjs-popup';
import 'reactjs-popup/dist/index.css';
import DatePicker from "react-datepicker";
import "react-datepicker/dist/react-datepicker.css";
import { format } from 'date-fns'
import moment from "moment";
import 'moment/locale/fr';
import Box from '@mui/material/Box';
import Dialog from '@mui/material/Dialog';
import DialogActions from '@mui/material/DialogActions';
import DialogContent from '@mui/material/DialogContent';
import DialogContentText from '@mui/material/DialogContentText';
import DialogTitle from '@mui/material/DialogTitle';
import { ResetTvRounded, RestoreFromTrashRounded } from "@mui/icons-material";
import img_loading_spin from "./../mysy_img/mysy_spin_loading.gif";
import Autocomplete from '@mui/material/Autocomplete';
@ -40,10 +30,7 @@ import { PiDotsThree } from "react-icons/pi";
import { makeStyles } from "@material-ui/core/styles";
import Paper from '@material-ui/core/Paper';
import Draggable from 'react-draggable';
import { IconButton } from '@material-ui/core';
import CancelPresentationIcon from '@mui/icons-material/CancelPresentation';
import { FcCancel, FcApproval, FcAcceptDatabase, FcPrint, FcPlanner } from "react-icons/fc";
import Module_Alert_Confirmation from "./Module_Alert_Confirmation";

View File

@ -2337,6 +2337,8 @@ const Partner = (props) => {
<Jury ispending={partnerstatus} currentpack={partnerPackService} conntected_employee_id={conntected_employee_id}
class_external_code={orderid} class_internal_url={packs} formation_initiale={formation_initiale}
read_access={check_user_acces_right("materiel", "read")}
write_access={check_user_acces_right("materiel", "write")}
check_user_acces_right={check_user_acces_right}
/>
</div>
@ -3130,7 +3132,11 @@ const Partner = (props) => {
<div className="div_droite div_droite_ralonge">
<Jury ispending={partnerstatus} currentpack={partnerPackService} conntected_employee_id={conntected_employee_id}
class_external_code={orderid} class_internal_url={packs} formation_initiale={formation_initiale}
class_external_code={orderid}
class_internal_url={packs}
formation_initiale={formation_initiale}
read_access={check_user_acces_right("materiel", "read")}
write_access={check_user_acces_right("materiel", "write")}
check_user_acces_right={check_user_acces_right} />
</div>
}

View File

@ -1215,6 +1215,41 @@ Cette fonction recuperer les stats des TOP 5 formations sur la periode saisie pa
<br/>
<br/>
<div className="carte_visite">
<div className="main_div">
<div className="ch_div_gauche" style={{ "borderRight": "5px solid gray", "borderRadius": "0px", "width": '25%', 'borderColor':'#0a2a4d' }}>
<br />
<img classname="img" src="https://img.mysy-training.com/MYSY-LOGO-BLUE.png" alt="Mysy Training Logo"
style={{ "maxWidth": "50%", "marginTop": "0.5rem" }} />
<br />
<div className="div_nom" style={{ "fontSize": '22px', fontFamily:'DM Sans' }}>
Patrick PIPAZ<br />
</div>
<div className="div_function" style={{ "fontSize": '20px', fontFamily:'DM Sans' }}>
Responsable développement <br/> MySy Training / HELYOS
</div>
</div>
<div className="ch_div_centre">
<hr className="myhr" />
</div>
<div className="ch_div_droite div_coordonnees" style={{ "paddingRight": "3rem", "lineHeight": '2.5rem', "fontSize": '18px', fontFamily:'DM Sans', paddingTop:'2rem' }}>
<div> <ImMobile2 /> &nbsp;+337 75 73 26 40</div>
<div> <ImOffice /> &nbsp;+331 77 00 38 57</div>
<div> <BsMailbox /> &nbsp;ppipaz@mysy-training.com</div>
<div> <ImHome /> &nbsp;https://www.mysy-training.com/</div>
<div> <ImWhatsapp /> &nbsp;+337 75 73 26 40</div>
</div>
</div>
</div>
<br/>
<br/>
<div className="div_row">
<div className="carte_visite">

View File

@ -631,6 +631,13 @@
}
.mode_affichage {
width: 25%;
float: right;
cursor: pointer;
}
}
@media only screen and (min-width: 601px) and (max-width: 991px) {
@ -1237,6 +1244,12 @@
}
.mode_affichage {
width: 15%;
float: right;
cursor: pointer;
}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
@ -1762,7 +1775,12 @@
padding-top: 0.5rem !important;
}
.mode_affichage {
width: 12%;
float: right;
cursor: pointer;
}
}
@media only screen and (min-width: 1200px) {
@ -2392,9 +2410,16 @@
left: 0;
}
.mode_affichage {
width: 8%;
float: right;
cursor: pointer;
}
}
// end media
.session_caract_Dialog_comment_2_lines {
width: 100%;
@ -2406,7 +2431,7 @@
}
// end media
.datagridclass {
font-size: small !important;

View File

@ -2637,7 +2637,6 @@ font-family: DM Sans !important;
}
.react-datepicker__input-container {
width: 110%;
}