06/07/2025 - 12h

branche_01062025
Cherif 2025-07-06 12:26:04 +02:00
parent bfefae4ffd
commit 49964b7400
61 changed files with 2316 additions and 630 deletions

View File

@ -260,7 +260,7 @@ const AddClassManual = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -342,7 +342,7 @@ const AddClassManual = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -457,7 +457,7 @@ const AddClassManual = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -1893,11 +1893,11 @@ const AddClassManual = (props) => {
if (mylocaltraining.published_catalog_prive) {
setmypublished_catalog_prive(mylocaltraining.published_catalog_prive);
var result3 = publiee.filter((local_mymanager) => local_mymanager.value === String((mylocaltraining.published_catalog_prive)))
if (result3[0]){
setmypublished_catalog_prive_label(result3[0].label);
if (result3[0]) {
setmypublished_catalog_prive_label(result3[0].label);
}
}
else {
@ -5557,7 +5557,8 @@ const AddClassManual = (props) => {
<Button variant="outlined" onClick={submenu_note_evaluation} className="detail_class_submenu" id='note_evaluation' name='note_evaluation'>Notes & Evaluation </Button>
<Button variant="outlined" onClick={submenu_piece_jointe} className="detail_class_submenu" id='piece_jointe' name='piece_jointe'>Pièces Jointes </Button>
{String(props.mytrainingclass.ref).trim() !== "" &&
<Button variant="outlined" onClick={submenu_piece_jointe} className="detail_class_submenu" id='piece_jointe' name='piece_jointe'>Pièces Jointes </Button>}
<Button variant="outlined" onClick={submenu_statistiques} className="detail_class_submenu" id='statistiques' name='statistiques'>Statistiques </Button>
<Button variant="outlined" onClick={submenu_finance} className="detail_class_submenu" id='finance' name='finance'>Finance </Button>
@ -5575,7 +5576,8 @@ const AddClassManual = (props) => {
{String(props.formation_initiale) !== "1" &&
<div className="div_row" style={{ "border": "None", "marginLeft": '10px' }} ref={myRef}>
<Button variant="outlined" onClick={submenu_detail_formation} className="detail_class_submenu" id='detail_formation' name='detail_formation'>Détail Formation</Button>
<Button variant="outlined" onClick={submenu_piece_jointe} className="detail_class_submenu" id='piece_jointe' name='piece_jointe'>Pièces Jointes </Button>
{String(props.mytrainingclass.ref).trim() !== "" && <Button variant="outlined" onClick={submenu_piece_jointe}
className="detail_class_submenu" id='piece_jointe' name='piece_jointe'>Pièces Jointes </Button>}
</div>}
{submenu && String(submenu) === "unite_enseignement" &&
@ -7320,11 +7322,15 @@ const AddClassManual = (props) => {
resize: false,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'print', 'preview', 'anchor', 'searchreplace',
'visualblocks', 'code', 'fullscreen', 'insertdatetime', 'media', 'table', 'paste', 'code', 'help', 'wordcount',
'lists', 'link', 'image', 'charmap', 'preview', 'anchor', 'searchreplace', 'visualblocks',
],
toolbar: 'undo redo | casechange blocks | bold italic backcolor | ' +
'alignleft aligncenter alignright alignjustify | ' +
'bullist numlist checklist outdent indent | removeformat ',
content_style: 'body { font-family:DM Sans,sans-serif; font-size:14px; }'
}}
@ -7376,11 +7382,15 @@ const AddClassManual = (props) => {
resize: false,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'print', 'preview', 'anchor', 'searchreplace',
'visualblocks', 'code', 'fullscreen', 'insertdatetime', 'media', 'table', 'paste', 'code', 'help', 'wordcount',
'lists', 'link', 'image', 'charmap', 'preview', 'anchor', 'searchreplace', 'visualblocks',
],
toolbar: 'undo redo | casechange blocks | bold italic backcolor | ' +
'alignleft aligncenter alignright alignjustify | ' +
'bullist numlist checklist outdent indent | removeformat ',
content_style: 'body { font-family:DM Sans,sans-serif; font-size:14px; }'
}}
@ -7435,10 +7445,14 @@ const AddClassManual = (props) => {
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'print', 'preview', 'anchor', 'searchreplace',
'visualblocks', 'code', 'fullscreen', 'insertdatetime', 'media', 'table', 'paste', 'code', 'help', 'wordcount',
'lists', 'link', 'image', 'charmap', 'preview', 'anchor', 'searchreplace', 'visualblocks',
],
toolbar: 'undo redo | casechange blocks | bold italic backcolor | ' +
'alignleft aligncenter alignright alignjustify | ' +
'bullist numlist checklist outdent indent | removeformat ',
content_style: 'body { font-family:DM Sans,sans-serif; font-size:14px; }'
}}
@ -7466,11 +7480,15 @@ const AddClassManual = (props) => {
resize: false,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'print', 'preview', 'anchor', 'searchreplace',
'visualblocks', 'code', 'fullscreen', 'insertdatetime', 'media', 'table', 'paste', 'code', 'help', 'wordcount',
'lists', 'link', 'image', 'charmap', 'preview', 'anchor', 'searchreplace', 'visualblocks',
],
toolbar: 'undo redo | casechange blocks | bold italic backcolor | ' +
'alignleft aligncenter alignright alignjustify | ' +
'bullist numlist checklist outdent indent | removeformat ',
content_style: 'body { font-family:DM Sans,sans-serif; font-size:14px; }'
}}
@ -7499,11 +7517,15 @@ const AddClassManual = (props) => {
resize: false,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'print', 'preview', 'anchor', 'searchreplace',
'visualblocks', 'code', 'fullscreen', 'insertdatetime', 'media', 'table', 'paste', 'code', 'help', 'wordcount',
'lists', 'link', 'image', 'charmap', 'preview', 'anchor', 'searchreplace', 'visualblocks',
],
toolbar: 'undo redo | casechange blocks | bold italic backcolor | ' +
'alignleft aligncenter alignright alignjustify | ' +
'bullist numlist checklist outdent indent | removeformat ',
content_style: 'body { font-family:DM Sans,sans-serif; font-size:14px; }'
}}
@ -7533,11 +7555,15 @@ const AddClassManual = (props) => {
resize: false,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'print', 'preview', 'anchor', 'searchreplace',
'visualblocks', 'code', 'fullscreen', 'insertdatetime', 'media', 'table', 'paste', 'code', 'help', 'wordcount',
'lists', 'link', 'image', 'charmap', 'preview', 'anchor', 'searchreplace', 'visualblocks',
],
toolbar: 'undo redo | casechange blocks | bold italic backcolor | ' +
'alignleft aligncenter alignright alignjustify | ' +
'bullist numlist checklist outdent indent | removeformat ',
content_style: 'body { font-family:DM Sans,sans-serif; font-size:14px; }'
}}
@ -7589,11 +7615,15 @@ const AddClassManual = (props) => {
resize: false,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'print', 'preview', 'anchor', 'searchreplace',
'visualblocks', 'code', 'fullscreen', 'insertdatetime', 'media', 'table', 'paste', 'code', 'help', 'wordcount',
'lists', 'link', 'image', 'charmap', 'preview', 'anchor', 'searchreplace', 'visualblocks',
],
toolbar: 'undo redo | casechange blocks | bold italic backcolor | ' +
'alignleft aligncenter alignright alignjustify | ' +
'bullist numlist checklist outdent indent | removeformat ',
content_style: 'body { font-family:DM Sans,sans-serif; font-size:14px; }'
}}
@ -7621,11 +7651,15 @@ const AddClassManual = (props) => {
resize: false,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'print', 'preview', 'anchor', 'searchreplace',
'visualblocks', 'code', 'fullscreen', 'insertdatetime', 'media', 'table', 'paste', 'code', 'help', 'wordcount',
'lists', 'link', 'image', 'charmap', 'preview', 'anchor', 'searchreplace', 'visualblocks',
],
toolbar: 'undo redo | casechange blocks | bold italic backcolor | ' +
'alignleft aligncenter alignright alignjustify | ' +
'bullist numlist checklist outdent indent | removeformat ',
content_style: 'body { font-family:DM Sans,sans-serif; font-size:14px; }'
}}
@ -7653,11 +7687,15 @@ const AddClassManual = (props) => {
resize: false,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'print', 'preview', 'anchor', 'searchreplace',
'visualblocks', 'code', 'fullscreen', 'insertdatetime', 'media', 'table', 'paste', 'code', 'help', 'wordcount',
'lists', 'link', 'image', 'charmap', 'preview', 'anchor', 'searchreplace', 'visualblocks',
],
toolbar: 'undo redo | casechange blocks | bold italic backcolor | ' +
'alignleft aligncenter alignright alignjustify | ' +
'bullist numlist checklist outdent indent | removeformat ',
content_style: 'body { font-family:DM Sans,sans-serif; font-size:14px; }'
}}
@ -7708,11 +7746,15 @@ const AddClassManual = (props) => {
resize: false,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'print', 'preview', 'anchor', 'searchreplace',
'visualblocks', 'code', 'fullscreen', 'insertdatetime', 'media', 'table', 'paste', 'code', 'help', 'wordcount',
'lists', 'link', 'image', 'charmap', 'preview', 'anchor', 'searchreplace', 'visualblocks',
],
toolbar: 'undo redo | casechange blocks | bold italic backcolor | ' +
'alignleft aligncenter alignright alignjustify | ' +
'bullist numlist checklist outdent indent | removeformat ',
content_style: 'body { font-family:DM Sans,sans-serif; font-size:14px; }'
}}
@ -7763,11 +7805,15 @@ const AddClassManual = (props) => {
resize: false,
height: 300,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'print', 'preview', 'anchor', 'searchreplace',
'visualblocks', 'code', 'fullscreen', 'insertdatetime', 'media', 'table', 'paste', 'code', 'help', 'wordcount',
'lists', 'link', 'image', 'charmap', 'preview', 'anchor', 'searchreplace', 'visualblocks',
],
toolbar: 'undo redo | casechange blocks | bold italic backcolor | ' +
'alignleft aligncenter alignright alignjustify | ' +
'bullist numlist checklist outdent indent | removeformat ',
content_style: 'body { font-family:DM Sans,sans-serif; font-size:14px; }'
}}

View File

@ -4994,8 +4994,8 @@ const AddParnerClient = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
<button
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -5496,7 +5496,7 @@ const AddParnerClient = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -404,7 +404,7 @@ const Apprenant = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -7427,7 +7427,7 @@ const Apprenant = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -9569,7 +9569,7 @@ const Apprenant = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -2258,7 +2258,7 @@ function CheckOut(props) {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
close();

View File

@ -190,7 +190,7 @@ const Config_Champs_Personnalise = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
console.log('modal closed ');
close();

View File

@ -220,7 +220,7 @@ const Config_Documents = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
console.log('modal closed ');
close();
@ -3239,7 +3239,7 @@ const Config_Documents = (props) => {
name="detail_document_principal"
onInit={(evt, editor) => one_editorRef_programme.current = editor}
//initialValue={field_programme_initial_value}
onKeyUp={editor_keyup}
value={field_programme}
onEditorChange={(newValue, editor) => {
@ -3330,7 +3330,7 @@ const Config_Documents = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -179,7 +179,7 @@ const Config_Documents_Super_Admin = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
console.log('modal closed ');
close();

View File

@ -184,7 +184,7 @@ const CRM_Opportunite = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -585,7 +585,7 @@ const Dashbord_Inscriptions_all_inscriptions = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
console.log('modal closed ');
close();

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -361,7 +361,7 @@ const DisplayPartnerStagiaires = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -414,7 +414,7 @@ const DisplayPartnerStagiaires = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -467,7 +467,7 @@ const DisplayPartnerStagiaires = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -538,7 +538,7 @@ const DisplayPartnerStagiaires = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -7304,8 +7304,8 @@ const DisplayPartnerStagiaires = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
<button
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -7390,7 +7390,7 @@ const DisplayPartnerStagiaires = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -9475,7 +9475,7 @@ const DisplayPartnerStagiaires = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -11844,7 +11844,7 @@ const DisplayPartnerStagiaires = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -899,7 +899,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
console.log('modal closed ');
Dialog_menuitem_close_archive();
@ -972,7 +972,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
console.log('modal closed ');
Dialog_menuitem_close_supp();
@ -1045,7 +1045,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
console.log('modal closed ');
Dialog_menuitem_close_push_lms();
@ -1201,7 +1201,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
console.log('modal closed ');
Dialog_menuitem_close_supp();
@ -1274,7 +1274,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
// console.log('modal closed ');
Dialog_menuitem_close_push_lms();
@ -3834,7 +3834,7 @@ const DistplayPartnerTraningsPage = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -3862,7 +3862,9 @@ const DistplayPartnerTraningsPage = (props) => {
{String(props.check_user_acces_right("formation", "write")) === "1" && <div className='div_row' >
<Button variant="outlined" onClick={changeHandler2} className="detail_class_submenu bton_add_session_long"
id='menu_import_formation' name='menu_import_formation'>Choisir un fichier et importer &nbsp;<GrDocumentCsv style={{ "fontSize": "large" }} /> <SendIcon />
id='menu_import_formation' name='menu_import_formation'
style={{ maxWidth: "20rem" }}
>Choisir un fichier et importer &nbsp;<GrDocumentCsv style={{ "fontSize": "medium" }} /> <SendIcon />
</Button>
<input type="file"

View File

@ -218,7 +218,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -327,7 +327,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -2885,7 +2885,7 @@ const DisplayPartnerUnite_Enseignement = (props) => {
/>
</div>}
</div>}
{ue_data_edit_mode && String(ue_data_edit_mode) === "1" && <div>
<div className="session_caract"> Compétences<br />

View File

@ -684,7 +684,7 @@ function Emarge_QR_Code() {
<div className="div_row_dialog">
<div className="session_caract_Dialog" > <b>Email </b>
<div className="session_caract_Dialog" > <b>Saisir votre email </b>
<TextField
autoFocus
margin="dense"
@ -987,7 +987,7 @@ function Emarge_QR_Code() {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -6631,7 +6631,7 @@ const Employes = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -9630,7 +9630,7 @@ const Employes = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -9685,7 +9685,7 @@ const Employes = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -9775,7 +9775,7 @@ const Employes = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -9832,7 +9832,7 @@ const Employes = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -11015,6 +11015,7 @@ const Employes = (props) => {
id="one_detail_profil"
className="disabled_style"
//className="disabled_style enable_style"
disabled={!Boolean(acces_right_data_edit_mode)}
options={New_Get_List_RH_Profils_result}
onChange={(event, value) => {
if (value && value.nom) {
@ -11547,7 +11548,7 @@ const Employes = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -11835,7 +11836,7 @@ const Employes = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -235,7 +235,7 @@ const Equipe_Team = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -332,7 +332,7 @@ const Equipe_Team = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -2485,7 +2485,7 @@ const Equipe_Team = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -3325,7 +3325,7 @@ const Equipe_Team = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -112,7 +112,7 @@ function GestionAdministrative(props) {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -173,7 +173,7 @@ function GestionAdministrative(props) {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -237,7 +237,7 @@ function GestionAdministrative(props) {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -297,7 +297,7 @@ function GestionAdministrative(props) {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -430,7 +430,7 @@ function GestionAdministrative(props) {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -7621,8 +7621,8 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
<button
className="gest_bton_popup_annuler"
onClick={() => {
close();
@ -7896,8 +7896,8 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
<button
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -8037,8 +8037,8 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
<button
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -8162,8 +8162,8 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
<button
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -300,7 +300,7 @@ const Groupe_Apprenant = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -3264,7 +3264,7 @@ const Groupe_Apprenant = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -4054,7 +4054,7 @@ const Groupe_Apprenant = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -860,7 +860,7 @@ Le nom du fichier ne contient que des caractères alphanumériques </i>">
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
console.log('modal closed ');
close();
@ -1036,7 +1036,7 @@ Le nom du fichier ne contient que des caractères alphanumériques </i>">
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
console.log('modal closed ');
close();

View File

@ -1488,7 +1488,7 @@ function Inscription_Information(props) {
}
}}
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir une session"
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir une option"
inputProps={{ ...params.inputProps, style: { fontSize: 12, height: "1.4rem" } }}
/>

View File

@ -298,7 +298,7 @@ const options_menu_vertical = [
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -430,7 +430,7 @@ const options_menu_vertical = [
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -500,7 +500,7 @@ const options_menu_vertical = [
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -10692,7 +10692,7 @@ const Intranet_Mes_Stagiaires = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -211,7 +211,7 @@ const Intranet_Tous_Documents = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -1168,7 +1168,7 @@ const Intranet_Tous_Documents = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -286,7 +286,7 @@ const Jury = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -6580,7 +6580,7 @@ const Jury = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -8041,8 +8041,8 @@ const Jury = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
<button
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -8221,7 +8221,7 @@ const Jury = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -165,7 +165,7 @@ const Materiels = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -240,7 +240,7 @@ const Materiels = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -1069,7 +1069,7 @@ const Module_Attestation_Formation = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -1486,7 +1486,7 @@ const Module_Editique = (props) => {
const Dialog_Acces_Right_handleClose_buton = () => {
setDialog_Acces_Right_open(false);
};
};
const New_Option_Automatic_Doc_Action_Target = [
{ "id": "start_session", "label": "Date Début Session", "value": "start_session" },
@ -1501,6 +1501,14 @@ const Module_Editique = (props) => {
{ "id": "", "label": "", "value": "" },
]
const New_Option_Automatic_Doc_Action_Target_For_Q_Position = [
{ "id": "start_session", "label": "Date Début Session", "value": "start_session" },
{ "id": "end_session", "label": "Date Fin Session", "value": "end_session" },
{ "id": "preinscription", "label": "A la pré-inscription", "value": "preinscription" },
{ "id": "inscription", "label": "A l'inscription", "value": "inscription" },
{ "id": "", "label": "", "value": "" },
]
return (
<div className="module_editique">
@ -1528,7 +1536,7 @@ const Module_Editique = (props) => {
>
<DialogTitle style={{ cursor: 'move', background: '#fff', fontFamily:'DM Sans'}} id="draggable-dialog-title"> MySy Warning</DialogTitle>
<DialogTitle style={{ cursor: 'move', background: '#fff', fontFamily: 'DM Sans' }} id="draggable-dialog-title"> MySy Warning</DialogTitle>
<DialogContent>
<DialogContentText>
<ImWarning /> {Dialog_Access_Right_message}
@ -1553,7 +1561,7 @@ const Module_Editique = (props) => {
>
<DialogTitle style={{ cursor: 'move', background: '#fff', fontFamily:'DM Sans'}} id="draggable-dialog-title"> MySy Information</DialogTitle>
<DialogTitle style={{ cursor: 'move', background: '#fff', fontFamily: 'DM Sans' }} id="draggable-dialog-title"> MySy Information</DialogTitle>
<DialogContent className="DialogContent_width">
<DialogContentText>
{Dialog_1_message}
@ -1703,32 +1711,32 @@ const Module_Editique = (props) => {
{String(p_doc_automatic_setup_action_target_date) !== "every_session_sequence_day" &&
<div className="session_caract_Dialog"> Nb Jours <br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
required
name="nb_jour_document"
id="nb_jour_document"
<div className="session_caract_Dialog"> Nb Jours <br />
<TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
required
name="nb_jour_document"
id="nb_jour_document"
InputLabelProps={{
shrink: true,
}}
InputLabelProps={{
shrink: true,
}}
type="number"
inputProps={{ min: "0", max: "200", step: "1" }}
type="number"
inputProps={{ min: "0", max: "200", step: "1" }}
disabled={false}
className="disabled_style"
value={p_doc_automatic_setup_nb_jour}
onChange={(e) => {
setp_doc_automatic_setup_nb_jour(e.target.value);
setis_modified_doc_automatic_setup("1");
}}
disabled={false}
className="disabled_style"
value={p_doc_automatic_setup_nb_jour}
onChange={(e) => {
setp_doc_automatic_setup_nb_jour(e.target.value);
setis_modified_doc_automatic_setup("1");
}}
style={{ background: '#FFFFFF' }}
style={{ background: '#FFFFFF' }}
/>
</div>}
/>
</div>}
<div className="session_caract_Dialog">
<Tooltip className="tooltip_css" id="help_target_action_document" style={{ "fontSize": "12px" }} />
@ -1738,7 +1746,8 @@ const Module_Editique = (props) => {
{String(p_doc_automatic_setup_nom_document) !== "EMARGEMENT" &&
<Autocomplete
String(p_doc_automatic_setup_nom_document) !== "QUESTION POSITIONNEMENT" &&
<Autocomplete
disablePortal
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 } }}
@ -1790,6 +1799,33 @@ const Module_Editique = (props) => {
/>
}
/>}
{String(p_doc_automatic_setup_nom_document) === "QUESTION POSITIONNEMENT" &&
<Autocomplete
disablePortal
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 } }}
name="target_action_document"
id="target_action_document"
className="disabled_style"
options={New_Option_Automatic_Doc_Action_Target_For_Q_Position}
value={New_Option_Automatic_Doc_Action_Target_For_Q_Position.filter((data) => (data).value === String(p_doc_automatic_setup_action_target_date))[0].label}
onChange={(event, value) => {
setis_modified_doc_automatic_setup("1");
if (value && value.value) {
setp_doc_automatic_setup_action_target_date(value.value);
} else {
setp_doc_automatic_setup_action_target_date("")
}
}}
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir une option"
inputProps={{ ...params.inputProps, style: { fontSize: 12, height: "1.4rem" } }}
/>
}
/>}
</div>
<div className="div_row" style={{ "border": "None" }}>
@ -2238,7 +2274,7 @@ const Module_Editique = (props) => {
>
<DialogTitle style={{ cursor: 'move', background: '#fff', fontFamily:'DM Sans'}} id="draggable-dialog-title"> MySy Information</DialogTitle>
<DialogTitle style={{ cursor: 'move', background: '#fff', fontFamily: 'DM Sans' }} id="draggable-dialog-title"> MySy Information</DialogTitle>
<DialogContent className="DialogContent_width" style={{ "minHeight": "30rem" }}>
<DialogContentText>
{Dialog_1_message}
@ -2274,39 +2310,39 @@ const Module_Editique = (props) => {
</div>
{(String(selected_convention_type) === "email" || String(selected_convention_type) === "pdf") &&
<div className="session_caract_Dialog" > Choisir une convocation
<Autocomplete
disablePortal
name="event_dialog_version_convention"
id="event_dialog_version_convention"
fullWidth
//className="disabled_style enable_style"
options={New_Get_List_Stagiaire_Convocations_result}
{(String(selected_convention_type) === "email" || String(selected_convention_type) === "pdf") &&
<div className="session_caract_Dialog" > Choisir une convocation
<Autocomplete
disablePortal
name="event_dialog_version_convention"
id="event_dialog_version_convention"
fullWidth
//className="disabled_style enable_style"
options={New_Get_List_Stagiaire_Convocations_result}
onChange={(event, value) => {
if (value && value._id) {
onChange={(event, value) => {
if (value && value._id) {
setselected_convention_id(value._id);
setselected_convention_id(value._id);
if (String(value._id) === "default_mail") {
setselected_convention_type("email");
if (String(value._id) === "default_mail") {
setselected_convention_type("email");
}
else if (String(value._id) === "default_pdf") {
setselected_convention_type("pdf");
} else {
var result2 = Get_List_Stagiaire_Convocations_result.filter((local_mymanager) => JSON.parse(local_mymanager)._id === String(value._id))
setselected_convention_type(JSON.parse(result2).type_doc);
}
settab_convention_pieces_jointes_result([]);
}
else if (String(value._id) === "default_pdf") {
setselected_convention_type("pdf");
} else {
var result2 = Get_List_Stagiaire_Convocations_result.filter((local_mymanager) => JSON.parse(local_mymanager)._id === String(value._id))
setselected_convention_type(JSON.parse(result2).type_doc);
}
settab_convention_pieces_jointes_result([]);
}}
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir une option" />
}
}}
/>
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir une option" />
}
/>
</div>}
</div>}
{String(selected_convention_type) === "email" && <div className="session_caract_Dialog" > Type Document<br />
<TextField
@ -2875,7 +2911,7 @@ const Module_Editique = (props) => {
className="displaypartnersession"
>
<DialogTitle style={{ cursor: 'move', background: '#fff', fontFamily:'DM Sans'}} id="draggable-dialog-title"> MySy Information</DialogTitle>
<DialogTitle style={{ cursor: 'move', background: '#fff', fontFamily: 'DM Sans' }} id="draggable-dialog-title"> MySy Information</DialogTitle>
<DialogContent className="DialogContent_width" style={{ "minHeight": "10rem" }}>
<DialogContentText>
<div style={{ "textAlign": "left" }}>
@ -2916,7 +2952,7 @@ const Module_Editique = (props) => {
className="displaypartnersession"
>
<DialogTitle style={{ cursor: 'move', background: '#fff', fontFamily:'DM Sans'}} id="draggable-dialog-title"> MySy Information</DialogTitle>
<DialogTitle style={{ cursor: 'move', background: '#fff', fontFamily: 'DM Sans' }} id="draggable-dialog-title"> MySy Information</DialogTitle>
<DialogContent className="DialogContent_width" style={{ "minHeight": "10rem" }}>
<DialogContentText>
<div style={{ "textAlign": "left" }}>
@ -3762,7 +3798,7 @@ const Module_Editique = (props) => {
</Button>
</nav>
<nav style={{ float: "right", "width": '45%' , display:'none'}}> Non Traité
<nav style={{ float: "right", "width": '45%', display: 'none' }}> Non Traité
<Button onClick={handleExpandClick_audit}>
{expanded_nom_traite.length === 0 ? 'Voir tout' : 'Réduire'}
</Button>

View File

@ -256,7 +256,7 @@ const Module_Ent_Mes_Documents = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -2641,7 +2641,7 @@ const Module_Ent_Mes_Formations = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -258,7 +258,7 @@ const Module_Ent_Mes_Notes = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -256,7 +256,7 @@ const Module_Ent_Mon_Planning = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -7,7 +7,8 @@ import Button from '@mui/material/Button';
import axios from "axios";
import { getCookie, setCookie } from 'react-use-cookie';
import { useHistory } from "react-router-dom";
import 'react-tooltip/dist/react-tooltip.css'
import { Tooltip } from 'react-tooltip'
import { DataGrid, GridToolbar, frFR } from '@mui/x-data-grid';
import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css";
import 'react-tooltip/dist/react-tooltip.css'
@ -15,7 +16,7 @@ import fileDownload from 'js-file-download';
import Popup from 'reactjs-popup'
import 'reactjs-popup/dist/index.css';
import { FcAcceptDatabase, FcPrint } from "react-icons/fc";
import { FcViewDetails, FcInfo } from "react-icons/fc";
import "react-datepicker/dist/react-datepicker.css";
import Box from '@mui/material/Box';
import Dialog from '@mui/material/Dialog';
@ -113,7 +114,7 @@ const Module_Evaluation_Positionnement = (props) => {
{ field: 'id', headerName: 'id', hide: true },
{ field: '_id', headerName: '_id', hide: true },
{ field: 'form_code', headerName: 'Form. Code', hide: true, minwidth: 200, flex: 1, hideable: true, resizable: true, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'email', headerName: 'email', minwidth: 300, flex: 1, hideable: false, resizable: true,editable: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'email', headerName: 'email', minwidth: 300, flex: 1, hideable: false, resizable: true, editable: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'nom', headerName: 'nom', minwidth: 300, flex: 1, hide: false, editable: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'prenom', headerName: 'prenom', minwidth: 300, flex: 1, hide: false, editable: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{
@ -232,6 +233,7 @@ const Module_Evaluation_Positionnement = (props) => {
useEffect(() => {
setselected_session_id(props.related_collection_recid);
Getall_Survey_Q_Positionnement_By_Session();
GetListeInscrit();
}, [])
@ -241,7 +243,7 @@ const Module_Evaluation_Positionnement = (props) => {
{ "id": "email", "label": "Email", "value": "email" },
]
const [selected_formulaire_id, setselected_formulaire_id] = useState();
const [selected_formulaire_id, setselected_formulaire_id] = useState("");
const [selected_formulaire_type, setselected_formulaire_type] = useState("");
const [New_Getall_Partner_Formulaires_with_Filter, setNew_Getall_Partner_Formulaires_with_Filter] = useState([]);
@ -326,6 +328,14 @@ const Module_Evaluation_Positionnement = (props) => {
const [Create_List_Survey_For_Session_For_Inscrit_message, setCreate_List_Survey_For_Session_For_Inscrit_message] = useState();
const [Create_List_Survey_For_Session_For_Inscrit_result, setCreate_List_Survey_For_Session_For_Inscrit_result] = useState();
function Create_List_Survey_For_Session_For_Inscrit() {
if (String(selected_formulaire_id).length < 5) {
setdisplay_alert_mysy("1");
setalert_message("Vous devez choisir un questionnaire de positionnement");
setalert_type("error");
return;
}
var form = new FormData();
//form.append("token","K3cw63eKokKSbV4spjQ48SUNnfy80yrXfA");
const stored_cookie = getCookie('tokenmysypart');
@ -335,7 +345,14 @@ const Module_Evaluation_Positionnement = (props) => {
form.append("survey_type", "pos");
form.append("sending_date", "");
var tab_inscrit_ids = []
for (var i = 0; i < val.length; i++) {
tab_inscrit_ids.push(val[i]._id)
}
form.append("tab_inscrit_ids", tab_inscrit_ids);
//alert(" mysession = "+mysession);
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Init_Survey_Tab_For_All_Session_Inscrit/";
@ -374,7 +391,7 @@ const Module_Evaluation_Positionnement = (props) => {
setLoading(false);
console.warn('Create_List_Survey_For_Session_For_Inscrit : Not good man :( mysearchtext = ' + error);
setCreate_List_Survey_For_Session_For_Inscrit_api("false");
// alert(" Impossible d'initialiser la liste des enquête de positionnement ");
// alert(" Impossible d'initialiser la liste des enquête de positionnement ");
setdisplay_alert_mysy("1");
setalert_message(" Impossible d'initialiser la liste des enquête de positionnement ");
setalert_type("error");
@ -385,6 +402,7 @@ const Module_Evaluation_Positionnement = (props) => {
const New_Option_q_position_Masse = [
{ "id": "resend", "label": "(R)envoyer", "value": "resend" },
{ "id": "print", "label": "Export (PDF) ", "value": "print" },
{ "id": "delete_survey", "label": "Supprimer ", "value": "delete_survey" },
]
const [actionmass_q_position_val, setactionmass_q_position_val] = useState();
@ -431,6 +449,23 @@ const Module_Evaluation_Positionnement = (props) => {
}
else if (String(actionmass_q_position_val) === String("delete_survey")) {
var tab_ids_survey = []
for (var i = 0; i < selectionModel_q_position.length; i++) {
var myid = parseInt(String(selectionModel_q_position[i]));
var line = JSON.parse(Getall_Survey_Q_Positionnement_By_Session_result[myid]);
var line_id = JSON.parse(Getall_Survey_Q_Positionnement_By_Session_result[myid])._id;
tab_ids_survey.push(line_id);
}
// console.log(" ### tab_ids_survey === ", tab_ids_survey);
Delete_Survey_Ids(tab_ids_survey);
}
}
@ -487,7 +522,68 @@ const Module_Evaluation_Positionnement = (props) => {
setLoading(false);
console.warn('Send_Survey_By_Email_For_Ids : Not good man :( mysearchtext = ' + error);
setSend_Survey_By_Email_For_Ids_api("false");
// alert(" Impossible d'envoyer les demandes");
// alert(" Impossible d'envoyer les demandes");
setdisplay_alert_mysy("1");
setalert_message("Impossible d'envoyer les demandes");
setalert_type("error");
})
}
const [Delete_Survey_Ids_api, setDelete_Survey_Ids_api] = useState();
const [Delete_Survey_Ids_message, setDelete_Survey_Ids_message] = useState();
const [Delete_Survey_Ids_result, setDelete_Survey_Ids_result] = useState();
function Delete_Survey_Ids(tab_survey) {
var form = new FormData();
//form.append("token","K3cw63eKokKSbV4spjQ48SUNnfy80yrXfA");
const stored_cookie = getCookie('tokenmysypart');
form.append("token", stored_cookie);
form.append("tab_ids", tab_survey);
//alert(" mysession = "+mysession);
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Delete_List_Survey/";
setLoading(true);
axios.post(myurl, form).then(res => {
setLoading(false);
if (String(res.data.status) === String("true")) {
//console.log(" In UpdateStagiaireData res.data.status = " + res.data.status);
//console.log(" In UpdateStagiaireData res.data.message r_class = " + res.data.message);
setDelete_Survey_Ids_api("true");
setDelete_Survey_Ids_result(res.data.message);
Getall_Survey_Q_Positionnement_By_Session();
setactionmass_q_position_val("");
setselectionModel_q_position([]);
// alert(res.data.message)
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("success");
} else if (String(res.data.status) === String("Err_Connexion")) {
alert('Erreur: ' + res.data.message);
history.push("/Connexion");
}
else {
setDelete_Survey_Ids_api("false");
setDelete_Survey_Ids_message(res.data.message);
// alert(res.data.message);
setdisplay_alert_mysy("1");
setalert_message(res.data.message);
setalert_type("error");
}
}).catch((error) => {
setLoading(false);
console.warn('Delete_Survey_Ids : Not good man :( mysearchtext = ' + error);
setDelete_Survey_Ids_api("false");
// alert(" Impossible d'envoyer les demandes");
setdisplay_alert_mysy("1");
setalert_message("Impossible d'envoyer les demandes");
setalert_type("error");
@ -510,7 +606,7 @@ const Module_Evaluation_Positionnement = (props) => {
setLoading(false);
//console.log(" In Export_Dashbord_to_CSV res.data = " + res.data);
if (String(res.data) === String("false")) {
// alert("Impossible d'exporter les réponses (2) ");
// alert("Impossible d'exporter les réponses (2) ");
setdisplay_alert_mysy("1");
setalert_message("Impossible d'exporter les réponses (2)");
setalert_type("error");
@ -521,7 +617,7 @@ const Module_Evaluation_Positionnement = (props) => {
}).catch((error) => {
setLoading(false);
console.error('Error:', error);
// alert(" Impossible d'exporter les réponses ")
// alert(" Impossible d'exporter les réponses ")
setdisplay_alert_mysy("1");
setalert_message("Impossible d'exporter les réponses");
setalert_type("error");
@ -597,6 +693,103 @@ const Module_Evaluation_Positionnement = (props) => {
setdisplay_alert_mysy("");
}
const [New_GetListeInscrit_insc_result, setNew_GetListeInscrit_insc_result] = useState([]);
const [GetListeIinscrit_insc_api, setGetListeIinscrit_insc_api] = useState();
const [GetListeIinscrit_insc_meassage, setGetListeIinscrit_insc_meassage] = useState();
const [GetListeIinscrit_insc_result, setGetListeIinscrit_insc_result] = useState([])
function GetListeInscrit() {
var form = new FormData();
//form.append("token","K3cw63eKokKSbV4spjQ48SUNnfy80yrXfA");
const stored_cookie = getCookie('tokenmysypart');
form.append("token", stored_cookie);
form.append("class_internal_url", props.class_internal_url);
form.append("session_id", props.related_collection_recid);
form.append("status", "1");
/*
/!\ : Cette fonction a besoin d'un token actif
*/
if (String(stored_cookie) === String("")) {
alert(" La session n'est plus valide ");
history.push("/Connexion");
return;
}
setLoading(true);
var myurl = process.env.REACT_APP_API_URL + "myclass/api/GetAllClassStagiaire/";
fetch(myurl,
{
method: 'POST',
body: form,
})
.then((data) => data.json())
.then((data) => {
setLoading(false);
//console.log(' GetListeInscrit : Success:', data['message'], "data['status'] = ", data['status']);
setGetListeIinscrit_insc_result(data['message']);
if (String(data['status']) === String("true")) {
//console.log("erreur rrrr:" + data['status'])
setGetListeIinscrit_insc_api("true");
var new_data2 = [];
const new_data = data['message'].map((x) => {
//---
var localid = JSON.parse(x).id;
var local_id = JSON.parse(x)._id;
var local_nom = JSON.parse(x).nom;
var local_prenom = JSON.parse(x).prenom;
//---
var node = {
"_id": local_id,
"id": localid,
"label": local_prenom + " " + local_nom,
"nom": local_nom,
"prenom": local_prenom,
};
new_data2.push(node);
});
if (new_data2.length > 0)
setNew_GetListeInscrit_insc_result(new_data2);
} else if (String(data['status']) === String("Err_Connexion")) {
alert('Erreur: ' + data['message']);
history.push("/Connexion");
}
else {
setGetListeIinscrit_insc_api("false");
}
}).catch((error) => {
setLoading(false);
console.error('Error:', error);
setGetListeIinscrit_insc_api("false");
});
}
const fixedVal = [];
const [val, setVal] = useState([...fixedVal]);
return (
<div className="module_evaluation_positionnement">
@ -615,6 +808,7 @@ const Module_Evaluation_Positionnement = (props) => {
}
{/*** FIN Affichage des messages d'alerte*/}
<Dialog
open={Dialog_1_open}
// onClose={Dialog_1_handleClose}
@ -644,7 +838,7 @@ const Module_Evaluation_Positionnement = (props) => {
>
<DialogTitle style={{ cursor: 'move', fontFamily:"DM Sans"}} id="draggable-dialog-title">MySy Information</DialogTitle>
<DialogTitle style={{ cursor: 'move', fontFamily: "DM Sans" }} id="draggable-dialog-title">MySy Information</DialogTitle>
<DialogContent className="DialogContent_width">
<DialogContentText>
{Dialog_1_message}
@ -700,7 +894,6 @@ const Module_Evaluation_Positionnement = (props) => {
</Dialog>
{/* Dialog pour gerer les LIST_POSITION_QUESTION */}
<Dialog
open={Dialog_LIST_POSITION_QUESTION_open}
@ -730,14 +923,52 @@ const Module_Evaluation_Positionnement = (props) => {
aria-labelledby="draggable-dialog-title"
>
<DialogTitle style={{ cursor: 'move', fontFamily:"DM Sans"}} id="draggable-dialog-title">MySy Information</DialogTitle>
<DialogTitle style={{ cursor: 'move', fontFamily: "DM Sans" }} id="draggable-dialog-title">MySy Information</DialogTitle>
<DialogContent className="DialogContent_width" style={{ "minHeight": "30rem" }}>
<DialogContentText>
{Dialog_1_message}
</DialogContentText>
<div className="session_caract_Dialog">
<Tooltip className="tooltip_css" id="tooltip_emarge01" style={{ "fontSize": "12px" }} />
<a data-tooltip-id="tooltip_emarge01" data-tooltip-html="Si vide, tous les apprenants sont pris en compte ">
Apprenant &nbsp; <FcInfo />
</a>
<br />
{New_GetListeInscrit_insc_result.length > 0 && <Autocomplete
disablePortal
name="inscrit_data_list"
id="inscrit_data_list"
// value={New_Option_Type_Cout.filter((data) => (data).id === String(p_detail_fin_data_type_cout))[0].label}
<div className="session_caract_Dialog" > Choisir un questionnaire de positionnement
fullWidth
options={New_GetListeInscrit_insc_result}
multiple
onChange={(event, newValue) => {
setVal([
...fixedVal,
...newValue.filter((i) => fixedVal.indexOf(i) === -1),
]);
}}
value={val}
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir une option (tout si vide)"
inputProps={{ ...params.inputProps, style: { fontSize: 12, height: "1.4rem" } }}
/>
}
/>}
</div>
<div className="session_caract_Dialog" > <b> Choisir un questionnaire de positionnement </b>
<Autocomplete
disablePortal
name="event_dialog_version_q_position"
@ -748,7 +979,6 @@ const Module_Evaluation_Positionnement = (props) => {
onChange={(event, value) => {
if (value && value._id) {
setselected_formulaire_id(value._id);
} else {
@ -781,6 +1011,13 @@ const Module_Evaluation_Positionnement = (props) => {
<div className="div_row_gauche">
<Button onClick={(e) => {
if (String(selected_formulaire_id).length < 5) {
setdisplay_alert_mysy("1");
setalert_message("Vous devez choisir un questionnaire de positionnement");
setalert_type("error");
return;
}
var tab_ids_inscription = []
for (var i = 0; i < selectionModel_q_position.length; i++) {
var myid = parseInt(String(selectionModel_q_position[i]));
@ -795,7 +1032,7 @@ const Module_Evaluation_Positionnement = (props) => {
Dialog_LIST_POSITION_QUESTION_handleClose_buton();
}}
className="bton_enreg_dialog">Initialiser la liste </Button>
className="bton_enreg_dialog">(R)Initialiser </Button>
</div>
@ -813,57 +1050,12 @@ const Module_Evaluation_Positionnement = (props) => {
<div>
<div className="div_row" style={{ "textAlign": "right", "marginTop": "0.5rem" }}>
<Button className="bton_emarge" onClick={(event, value) => {
setVal([]);
<Popup
trigger={
<Button className="bton_emarge">Initialiser le questionnaire</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">
{' '}
<font> Confirmez la ()initialisation l'enquête. <br />
<font color="red"> /!\ Si une enquête de positionnement existe pour cette session, elle sera supprimée et récréée </font>
</font>
</div>
<div className="gest_actions">
<div style={{ "width": "45%", "float": "left" }}>
<button className="gest_bton_popup" onClick={(event) => {
Getall_Partner_Formulaires_with_Filter();
setDialog_LIST_POSITION_QUESTION_open(true);
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>
Getall_Partner_Formulaires_with_Filter();
setDialog_LIST_POSITION_QUESTION_open(true);
}}>Initialiser Q. Position</Button>
@ -874,7 +1066,7 @@ const Module_Evaluation_Positionnement = (props) => {
<Button className="bton_emarge" onClick={(event) => {
Export_survey_datatab_class();
}}>Exporter (excel)</Button><br />
</div>
@ -1027,7 +1219,8 @@ const Module_Evaluation_Positionnement = (props) => {
onChange={(event, value) => {
if (value && value.value) {
if (String(value.value) === "reinit" || String(value.value) === "resend"
|| String(value.value) === "print") {
|| String(value.value) === "print"
|| String(value.value) === "delete_survey") {
setactionmass_q_position_val(value.value);
@ -1076,6 +1269,14 @@ const Module_Evaluation_Positionnement = (props) => {
Confirmer l'export PDF de questionnaire de positionnement pour {selectionModel_q_position.length} ligne(s).
</nav>}
{String(actionmass_q_position_val) === "delete_survey" &&
<font color="red"> Seule les demandes au statut <b>'Init' </b> sont supprimables<br />
<font color="red"> Confirmer la suppression en masse de {selectionModel_q_position.length} questionnaire(s) de positionnement.
</font>
</font>}
</div>
<div className="gest_actions">
<div style={{ "width": "45%", "float": "left" }}>
@ -1087,7 +1288,7 @@ const Module_Evaluation_Positionnement = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -149,7 +149,7 @@ const Module_Selection_Evaluation_Apprenants = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -1813,7 +1813,7 @@ const Module_Session_Evaluation = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -2028,7 +2028,7 @@ const Module_Session_Evaluation = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -2105,7 +2105,7 @@ const Module_Session_Evaluation = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -2323,7 +2323,7 @@ const Module_Session_Evaluation = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -2403,7 +2403,7 @@ const Module_Session_Evaluation = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -2621,7 +2621,7 @@ const Module_Session_Evaluation = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -448,7 +448,7 @@ const Module_Session_Planification = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -522,7 +522,7 @@ const Module_Session_Planification = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -4243,8 +4243,7 @@ const Module_Session_Planification = (props) => {
<div className="session_caract_Dialog" > Groupe apprenants
p_detail_sequence_groupe_apprenant_id = {p_detail_sequence_groupe_apprenant_id} <br />
{New_Getall_Class_List_UE_result && New_Getall_Class_List_UE_result.length > 0 && <Autocomplete
{New_Getall_Partner_Groupe_Inscrit_result && New_Getall_Partner_Groupe_Inscrit_result.length > 0 && <Autocomplete
disablePortal
name="event_dialog_grp_apprenant"
id="event_dialog_grp_apprenant"
@ -4996,7 +4995,7 @@ const Module_Session_Planification = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -5884,7 +5883,7 @@ const Module_Session_Planification = (props) => {
<div className="session_caract_Dialog" > Groupe apprenants
{New_Getall_Class_List_UE_result && New_Getall_Class_List_UE_result.length > 0 && <Autocomplete
{New_Getall_Partner_Groupe_Inscrit_result && New_Getall_Partner_Groupe_Inscrit_result.length > 0 && <Autocomplete
disablePortal
name="event_dialog_grp_apprenant"
id="event_dialog_grp_apprenant"
@ -5930,7 +5929,7 @@ const Module_Session_Planification = (props) => {
</div>
<div className="session_caract_Dialog" > Debut 11
<div className="session_caract_Dialog" > Debut
<DatePicker
name="event_dialog_start"
id="event_dialog_start"
@ -6135,7 +6134,7 @@ const Module_Session_Planification = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -6386,7 +6385,7 @@ const Module_Session_Planification = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -6652,7 +6651,7 @@ const Module_Session_Planification = (props) => {
<div className="div_row_gauche div_row_gauche_etendu" style={{ "textAlign": "left", "paddingLeft": "5px" }}>
<Button variant="outlined"
className="detail_class_submenu bton_add_session bton_add_session_create_automatic" style={{ "width": "40%" }}
className="detail_class_submenu bton_add_session bton_add_session_create_automatic" style={{ "width": "40%" , maxWidth:'20rem'}}
id='menu_import_participant' name='menu_import_participant' onClick={(event) => {
if (String(props.selected_session_invoiced_statut) === "1") {
alert(" La session est en cours de facturation ")

View File

@ -1461,7 +1461,7 @@ const Modules_Mes_Documents = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -1,5 +1,5 @@
import React, { useRef, useState, useMemo, useEffect } from "react";
import { useForm } from "react-hook-form";
import { useForm } from "react-hook-form";
import axios from "axios";
import Formation_Partner_Catalog from "./Formation_Partner_Catalog";
import { FaSearch, FaRegArrowAltCircleDown, FaRegArrowAltCircleUp } from 'react-icons/fa';
@ -16,6 +16,9 @@ import AideRecherche from "./AideRecherche"
import { useParams } from 'react-router-dom'
import Fotter_Catalog_Pub from "./Fotter_Catalog_Pub";
import img_header_jmg from "../mysy_img2/img_jmj_modif.jpg"
import Formation_Partner_Catalog_Special_JMJFormation from "./Jmj_Theme/Formation_Partner_Catalog_Special_JMJFormation";
import "./Jmj_Theme/jmj_formation.css";
import { confirmAlert } from 'react-confirm-alert'; // Import
import { useCookies } from "react-cookie";
@ -922,7 +925,7 @@ const Mon_Catalogue_Public = (props) => {
async function fetchData() {
let windowWidth = window.innerWidth;
@ -946,7 +949,7 @@ const Mon_Catalogue_Public = (props) => {
fetchData();
async function loadDomainMetier() {
var form = new FormData();
@ -2701,7 +2704,7 @@ const Mon_Catalogue_Public = (props) => {
var catalog_pub_contact_public_telephone = ""
if (JSON.parse(x).catalog_pub_contact_public_telephone)
catalog_pub_contact_public_telephone = JSON.parse(x).catalog_pub_contact_public_telephone;
var catalog_pub_theme_id = JSON.parse(x).catalog_pub_theme_id;
@ -3567,7 +3570,7 @@ const Mon_Catalogue_Public = (props) => {
{/******* Gestion du THEME PAR DEFAULT " */}
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& String(my_theme_code) !== "MySy_Theme2" && <div>
&& String(my_theme_code) !== "MySy_Theme2" && String(my_theme_code) !== "MySy_Theme_JMJ" && <div>
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img && <div >
@ -4369,7 +4372,7 @@ const Mon_Catalogue_Public = (props) => {
{result && myApiResponse === "True" && !newresult &&
<div className="okUpdateData">
<div style={{ "width": "100%" }}>
<div className="pave_trier_par_gauche">
<div className="pave_trier_par_gauche">
<Pagination
className="pagination-bar"
currentPage={currentPage2}
@ -4390,7 +4393,7 @@ const Mon_Catalogue_Public = (props) => {
<option value="duration">Duree</option>
<option selected value="note">Pertinence</option>
</select>
<span style={{ width: '10%' }}><TbArrowsDownUp style={{ height: '2rem', minWidth: '20px' }}
<span style={{ width: '10%' }}><TbArrowsDownUp style={{ height: '2rem', minWidth: '20px' }}
onClick={(e) => {
if (trier_par === "1")
settrier_par("-1");
@ -4519,6 +4522,404 @@ const Mon_Catalogue_Public = (props) => {
</div>}
{/******* FIN Gestion du THEME PAR DEFAULT " */}
{/******* Gestion du THEME THEME SPECIAL JMJ Formation " */}
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& String(my_theme_code) === "MySy_Theme_JMJ" &&
<div className="jmj_formation">
<div className="jmj_block_header">
<div className="jmj_block_header_img">
<div style={{ "width": "100%", float: "left" }}>
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img && <div >
<img src={New_Get_Subdomain_Partner_Data_result[0].catalog_pub_banniere_img} className="Partner_Catalog_Background_Header_jmj"></img>
</div>}
<div className="jmj_header_gauche">
<div className="bloc_logo_indic" style={{ position: "unset" }}>
<div className="bloc_logo_indic_logo">
<img src={New_Get_Subdomain_Partner_Data_result[0].catalog_pub_logo} alt={New_Get_Subdomain_Partner_Data_result[0].nom} />
</div>
<div className="bloc_logo_indic_contact">
<font className="bloc_logo_indic_contact_text"> Contact </font> <br />
Tel : {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_contact_public_telephone} <br />
Email : {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_contact_public_email}
</div>
<div className="bloc_logo_indic_indic">
<font className="bloc_logo_indic_indic_text"> Indicateurs </font> <br />
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_1_txt &&
<div style={{
textAlign: "left",
width: '100%',
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_1_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_1_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_1_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_1_txt}
</div>}
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_2_txt &&
<div style={{
textAlign: "left",
width: '100%',
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_2_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_2_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_2_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_2_txt}
</div>}
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_3_txt &&
<div style={{
textAlign: "left",
width: '100%',
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_3_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_3_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_3_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_3_txt}
</div>}
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0
&& New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_4_txt &&
<div style={{
textAlign: "left",
width: '100%',
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_4_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_4_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_4_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_indicateur_4_txt}
</div>}
</div>
<div className="bloc_milieu" style={{ position: "unset" }}>
<div className="bloc_milieu_text">
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0 &&
<nav className="title1_nom" style={{ marginBottom: "2rem" }}>
{New_Get_Subdomain_Partner_Data_result[0].nom}
</nav>}
{New_Get_Subdomain_Partner_Data_result && New_Get_Subdomain_Partner_Data_result.length > 0 &&
<nav style={{ marginBottom: "2rem" }}>
<font className='title1_text1' style={{
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_1_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_1_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_1_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_1_txt} </font>
</nav>}
{New_Get_Subdomain_Partner_Data_result[0] && New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_2_txt &&
<nav className="title2" style={{
fontSize: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_2_taille}` + "px",
color: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_2_color}`,
fontWeight: `${New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_2_gras}`,
}}> {New_Get_Subdomain_Partner_Data_result[0].catalog_pub_message_2_txt} </nav>}
</div>
<div className="bloc_img_milieu_gauche">
<img style={{ width: '60%' }}
src={img_header_jmg} />
</div>
</div>
</div>
</div>
<div className="jmj_header_droite">
<img src={img_header_jmg} style={{ width: '100%', paddingTop: '3rem' }} />
</div>
</div>
</div>
<div style={{ width: '100%', background: '#f3f4fb', paddingTop: "2rem" }}>
<div className="jmj_block_milieu">
<div className="jmj_block_milieu_gauche">
{showelement === "true" && <div className="rech_leftbox" >
<div className="sous_filter">
<div className="tab_critere_espace">
<div className="filter_valeur" onChange={TrainingCPFHandle}>
<div className="filter_valeur_txt" > Eligible CPF
</div>
<div className="filter_valeur_block_val">
<div className="frame_133" >
<div className="frame_133_grp" >
<input className="frame_133_grp_radio" type="radio" value="1" id={"TrainingCPF"} name={"TrainingCPF"} />
<nav className="frame_133_grp_txt"> Oui </nav>
</div>
</div>
<div className="frame_134">
<div className="frame_134_grp" >
<input className="frame_133_grp_radio" type="radio" value="0" id={"TrainingCPF"} name={"TrainingCPF"} />
<nav className="frame_133_grp_txt"> Non </nav>
</div>
</div>
{String(cpfchecked) === String("1") && <div className="frame_135" onClick={annulefiltrecpf}>
<div className="frame_135_grp" >
<img src={tick_ko} alt="KO" className="tick_ok_ko" />
</div>
</div>}
</div>
</div>
<div className="filter_valeur" onChange={TrainingCertifHandle}>
<div className="filter_valeur_txt" > Certification
</div>
<div className="filter_valeur_block_val">
<div className="frame_133" >
<div className="frame_133_grp" >
<input className="frame_133_grp_radio" type="radio" value="1" id={"TrainingCertif"} name={"TrainingCertif"} />
<nav className="frame_133_grp_txt"> Oui </nav>
</div>
</div>
<div className="frame_134">
<div className="frame_134_grp" >
<input className="frame_133_grp_radio" type="radio" value="0" id={"TrainingCertif"} name={"TrainingCertif"} />
<nav className="frame_133_grp_txt"> Non </nav>
</div>
</div>
{String(certifchecked) === String("1") && <div className="frame_135" onClick={annulefiltrecertif}>
<div className="frame_135_grp" >
<img src={tick_ko} alt="KO" className="tick_ok_ko" />
</div>
</div>}
</div>
</div>
<div className="filter_valeur" onChange={TrainingTypeHandle}>
<div className="filter_valeur_txt" > Type
</div>
<div className="filter_valeur_block_val">
<div className="frame_133" >
<div className="frame_133_grp" >
<input className="frame_133_grp_radio" type="radio" value="cours" id={"TrainingType"} name={"TrainingType"} />
<nav className="frame_133_grp_txt"> Cours </nav>
</div>
</div>
<div className="frame_134">
<div className="frame_134_grp" >
<input className="frame_133_grp_radio" type="radio" value="tuto" id={"TrainingType"} name={"TrainingType"} />
<nav className="frame_133_grp_txt"> Tuto </nav>
</div>
</div>
{String(typechecked) === String("1") && <div className="frame_135" onClick={annulefiltretypechecked}>
<div className="frame_135_grp" >
<img src={tick_ko} alt="KO" className="tick_ok_ko" />
</div>
</div>}
</div>
</div>
<div className="filter_valeur" >
<div className="filter_valeur_txt" > Support
</div>
<div className="filter_valeur_block_val">
<select className="form-select form-select-sm limite_input" onChange={TrainingSupportHandle} aria-label=".form-select-sm example"
id="supoort_list_derou" name="supoort_list_derou" >
<option selected value="">Choisir</option>
<option value="video">Video</option>
<option value="réalité virtuelle">Realité Virtuelle</option>
<option value="document">Document</option>
<option value="mixte">Mixte</option>
</select>
</div>
</div>
<div className="filter_valeur">
<div className="filter_valeur_txt" > Prix
</div>
<div className="new_filter_zone_cerif_radio_left range_prix_mobile" style={{
"width": "90%",
'float': "right", "textAlign": 'right', "marginTop": "1rem",
"fontFamily": 'Manrope',
}} onClick={TrainingPriceHandle}>
<InputRange
maxValue={10000}
minValue={0}
formatLabel={value => `${value}`}
value={range_price}
step={500}
name="toto"
onChange={value => setrange_price(value)}
//onChange={TrainingPriceHandle}
onChangeComplete={value => console.log(value)}
/>
</div>
<div> &nbsp;</div>
</div>
</div>
</div>
</div>
}
</div>
<div className="jmj_block_milieu_droite">
<div className="rech_middlebox" id="rech_middlebox" style={{ width: '100%' }}>
<div> <h3 style={{ fontFamily: 'DM Sans', color: '#0A043C' }}> Nos Formations </h3></div>
<div style={{
display: 'flex', flexDirection: 'row', justifyContent: 'center', width: '100%', flexWrap: 'wrap',
padding: "2px", margin: '2px', gap: '10px', alignItems: 'center',
}}>
<div style={{ width: '100%' }}>
{result && myApiResponse === "True" && !newresult &&
<div className="okUpdateData">
<div style={{ "width": "100%" }}>
<div style={{ "width": "40%", "float": "left" }}>
<Pagination
className="pagination-bar"
currentPage={currentPage2}
totalCount={result.length}
pageSize={PageSize}
onPageChange={page => setCurrentPage2(page)}
/>
</div>
<div style={{ "width": "60%", "float": "right" }}>
<div className="input-group input-group-sm mb-3 ">
<span className="filter_span">Trier par </span>
<select className="filter_val"
id={"trierpar"} name={"trierpar"}
onChange={trier}>
<option value="price">Prix</option>
<option value="duration">Duree</option>
<option selected value="note">Pertinence</option>
</select>
<span style={{ width: '10%' }}><TbArrowsDownUp style={{ height: '2rem', paddingTop: '5px', width: '40%' }}
onClick={(e) => {
if (trier_par === "1")
settrier_par("-1");
else
settrier_par("1");
trier();
}}
/> </span>
</div>
</div>
</div>
</div>}
</div>
<div style={{ width: '100%' }}>
<div className="block_display_flex_formation" style={{ width: '100%' }}>
{result && myApiResponse == "True" && fin == 0 && !newresult &&
result.slice(0, PageSize).map((formation) => (
<div className="block_formation" ref={inputEl} id="inputEl_element">
<Formation_Partner_Catalog_Special_JMJFormation formation={JSON.parse(formation)}
key={JSON.parse(formation).title} coeur={JSON.parse(formation).title}
partner_data={New_Get_Subdomain_Partner_Data_result[0]} />
</div>
))}
{result && myApiResponse == "True" && fin == 0 && newresult &&
newresult.slice(0, PageSize).map((formation) => (
<div className="block_formation" >
<Formation_Partner_Catalog_Special_JMJFormation formation={JSON.parse(formation)}
key={JSON.parse(formation).title} partner_data={New_Get_Subdomain_Partner_Data_result[0]} />
</div>
))}
{result && myApiResponse === "True" && fin === 1 && !newresult
&& currentTableData2
&& currentTableData2.map((formation) => (
<div className="block_formation" >
<Formation_Partner_Catalog_Special_JMJFormation formation={JSON.parse(formation)}
key={JSON.parse(formation).title} partner_data={New_Get_Subdomain_Partner_Data_result[0]} />
</div>
))}
{result && myApiResponse === "True" && fin === 1 && newresult
&& currentTableData2
&& currentTableData2.map((formation) => (
<div className="block_formation" >
<Formation_Partner_Catalog_Special_JMJFormation formation={JSON.parse(formation)} key={JSON.parse(formation).title}
partner_data={New_Get_Subdomain_Partner_Data_result[0]} />
</div>
))}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div >
<Fotter_Catalog_Pub partner_data={New_Get_Subdomain_Partner_Data_result[0]} />
</div>
</div>
</div>}
{/******* FIN Gestion du THEME SPECIAL JMJ Formation " */}
</div >
);

View File

@ -5976,7 +5976,7 @@ const Notes_Evaluation = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -6226,7 +6226,7 @@ const Notes_Evaluation = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -484,7 +484,7 @@ const Partner_Commande = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -8150,7 +8150,7 @@ const Partner_Commande = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -8219,7 +8219,7 @@ const Partner_Commande = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -8270,7 +8270,7 @@ const Partner_Commande = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -161,7 +161,7 @@ const Partner_Config_Formulaires = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -303,7 +303,7 @@ const Partner_Config_Formulaires = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -108,7 +108,7 @@ const Partner_Config_Ftion_Initiale = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -172,7 +172,7 @@ const Partner_Config_Ftion_Initiale = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -116,7 +116,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -1885,7 +1885,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
<Popup
trigger={
<Button variant="contained" className="bton_enreg" >Enregistrer
<Button variant="contained" className="bton_enreg" style={{maxWidth:'20rem'}}>Enregistrer
</Button>
}
modal
@ -1916,7 +1916,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -2361,7 +2361,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
<Popup
trigger={
<Button variant="contained" className="bton_enreg" >Enregistrer
<Button variant="contained" className="bton_enreg" style={{maxWidth:'20rem'}} >Enregistrer
</Button>
}
modal
@ -2392,7 +2392,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -165,7 +165,7 @@ const Partner_Configuration_Session_Steps = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -225,7 +225,7 @@ const Partner_Configuration_Technique = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -294,7 +294,7 @@ const Partner_Configuration_Technique = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -371,7 +371,7 @@ const Partner_Configuration_Technique = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -440,7 +440,7 @@ const Partner_Configuration_Technique = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -510,7 +510,7 @@ const Partner_Configuration_Technique = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -580,7 +580,7 @@ const Partner_Configuration_Technique = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -3044,6 +3044,20 @@ const Partner_Configuration_Technique = (props) => {
{ "id": "", "label": "", "value": "" },
]
const New_Option_Automatic_Doc_Action_Target_For_Emargement = [
{ "id": "start_session", "label": "Date Début Session", "value": "start_session" },
{ "id": "end_session", "label": "Date Fin Session", "value": "end_session" },
{ "id": "every_session_sequence_day", "label": "Envoyer chaque jour", "value": "every_session_sequence_day" },
{ "id": "", "label": "", "value": "" },
]
const New_Option_Automatic_Doc_Action_Target_For_Q_Position = [
{ "id": "start_session", "label": "Date Début Session", "value": "start_session" },
{ "id": "end_session", "label": "Date Fin Session", "value": "end_session" },
{ "id": "preinscription", "label": "A la pré-inscription", "value": "preinscription" },
{ "id": "inscription", "label": "A l'inscription", "value": "inscription" },
{ "id": "", "label": "", "value": "" },
]
const [display_alert_mysy, setdisplay_alert_mysy] = useState("");
@ -5927,34 +5941,100 @@ const Partner_Configuration_Technique = (props) => {
<a data-tooltip-id="help_target_action_document" data-tooltip-html="Définir si l'action est exécutée en basant sur la date de début ou de fin de session">
Cible <FcInfo />
</a> <br />
{p_detail_doc_automatic_action_target_date && New_Option_Automatic_Doc_Action_Target.length > 0 && <Autocomplete
disablePortal
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 } }}
name="target_action_document"
id="target_action_document"
className="disabled_style"
options={New_Option_Automatic_Doc_Action_Target}
value={New_Option_Automatic_Doc_Action_Target.filter((data) => (data).value === String(p_detail_doc_automatic_action_target_date))[0].label}
onChange={(event, value) => {
setConfig_doc_automatic_data_changed("1");
if (value && value.value) {
setp_detail_doc_automatic_action_target_date(value.value);
{String(p_detail_doc_automatic_nom) !== "EMARGEMENT" &&
String(p_detail_doc_automatic_nom) !== "QUESTION POSITIONNEMENT" &&
p_detail_doc_automatic_action_target_date && New_Option_Automatic_Doc_Action_Target.length > 0 && <Autocomplete
disablePortal
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 } }}
} else {
setdisplay_alert_mysy("1");
setalert_message("Vous devez choisir une valuer");
setalert_type("error");
name="target_action_document"
id="target_action_document"
className="disabled_style"
options={New_Option_Automatic_Doc_Action_Target}
value={New_Option_Automatic_Doc_Action_Target.filter((data) => (data).value === String(p_detail_doc_automatic_action_target_date))[0].label}
onChange={(event, value) => {
setConfig_doc_automatic_data_changed("1");
if (value && value.value) {
setp_detail_doc_automatic_action_target_date(value.value);
} else {
setdisplay_alert_mysy("1");
setalert_message("Vous devez choisir une valuer");
setalert_type("error");
}
}}
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir une option"
inputProps={{ ...params.inputProps, style: { fontSize: 12, height: "1.4rem" } }}
/>
}
}}
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir une option"
inputProps={{ ...params.inputProps, style: { fontSize: 12, height: "1.4rem" } }}
style={{ background: '#FFFFFF' }}
/>}
{String(p_detail_doc_automatic_nom) === "QUESTION POSITIONNEMENT" &&
p_detail_doc_automatic_action_target_date && New_Option_Automatic_Doc_Action_Target_For_Q_Position.length > 0 && <Autocomplete
disablePortal
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 } }}
name="target_action_document"
id="target_action_document"
className="disabled_style"
options={New_Option_Automatic_Doc_Action_Target_For_Q_Position}
value={New_Option_Automatic_Doc_Action_Target_For_Q_Position.filter((data) => (data).value === String(p_detail_doc_automatic_action_target_date))[0].label}
onChange={(event, value) => {
setConfig_doc_automatic_data_changed("1");
if (value && value.value) {
setp_detail_doc_automatic_action_target_date(value.value);
} else {
setdisplay_alert_mysy("1");
setalert_message("Vous devez choisir une valuer");
setalert_type("error");
}
}}
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir une option"
inputProps={{ ...params.inputProps, style: { fontSize: 12, height: "1.4rem" } }}
/>
}
style={{ background: '#FFFFFF' }}
/>}
{String(p_detail_doc_automatic_nom) === "EMARGEMENT" &&
p_detail_doc_automatic_action_target_date && New_Option_Automatic_Doc_Action_Target_For_Emargement.length > 0 && <Autocomplete
disablePortal
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 } }}
name="target_action_document"
id="target_action_document"
className="disabled_style"
options={New_Option_Automatic_Doc_Action_Target_For_Emargement}
value={New_Option_Automatic_Doc_Action_Target_For_Emargement.filter((data) => (data).value === String(p_detail_doc_automatic_action_target_date))[0].label}
onChange={(event, value) => {
setConfig_doc_automatic_data_changed("1");
if (value && value.value) {
setp_detail_doc_automatic_action_target_date(value.value);
} else {
setdisplay_alert_mysy("1");
setalert_message("Vous devez choisir une valuer");
setalert_type("error");
}
}}
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir une option"
inputProps={{ ...params.inputProps, style: { fontSize: 12, height: "1.4rem" } }}
/>
}
style={{ background: '#FFFFFF' }}
/>}
/>
}
style={{ background: '#FFFFFF' }}
/>}
</div>
@ -6056,22 +6136,63 @@ const Partner_Configuration_Technique = (props) => {
</div>
<div className="session_caract"> Cible <br />
{p_detail_doc_automatic_action_target_date && New_Option_Automatic_Doc_Action_Target.length > 0 && <TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
required
name="nb_jour_document"
id="nb_jour_document"
{String(p_detail_doc_automatic_nom) !== "EMARGEMENT" &&
String(p_detail_doc_automatic_nom) !== "QUESTION POSITIONNEMENT" &&
p_detail_doc_automatic_action_target_date && New_Option_Automatic_Doc_Action_Target.length > 0 && <TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
required
name="nb_jour_document"
id="nb_jour_document"
InputLabelProps={{
shrink: true,
}}
disabled={false}
className="disabled_style"
value={New_Option_Automatic_Doc_Action_Target.filter((data) => (data).value === String(p_detail_doc_automatic_action_target_date))[0].label}
InputLabelProps={{
shrink: true,
}}
disabled={false}
className="disabled_style"
value={New_Option_Automatic_Doc_Action_Target.filter((data) => (data).value === String(p_detail_doc_automatic_action_target_date))[0].label}
style={{ background: '#ECEFF1' }}
style={{ background: '#ECEFF1' }}
/>}
/>}
{String(p_detail_doc_automatic_nom) === "EMARGEMENT" &&
p_detail_doc_automatic_action_target_date && New_Option_Automatic_Doc_Action_Target_For_Emargement.length > 0 && <TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
required
name="nb_jour_document"
id="nb_jour_document"
InputLabelProps={{
shrink: true,
}}
disabled={false}
className="disabled_style"
value={New_Option_Automatic_Doc_Action_Target_For_Emargement.filter((data) => (data).value === String(p_detail_doc_automatic_action_target_date))[0].label}
style={{ background: '#ECEFF1' }}
/>}
{String(p_detail_doc_automatic_nom) === "QUESTION POSITIONNEMENT" &&
p_detail_doc_automatic_action_target_date && New_Option_Automatic_Doc_Action_Target_For_Q_Position.length > 0 && <TextField
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
required
name="nb_jour_document"
id="nb_jour_document"
InputLabelProps={{
shrink: true,
}}
disabled={false}
className="disabled_style"
value={New_Option_Automatic_Doc_Action_Target_For_Q_Position.filter((data) => (data).value === String(p_detail_doc_automatic_action_target_date))[0].label}
style={{ background: '#ECEFF1' }}
/>}
</div>
@ -6120,7 +6241,7 @@ const Partner_Configuration_Technique = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -137,7 +137,7 @@ const Partner_domaine_Categorie_Metier = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -206,7 +206,7 @@ const Partner_domaine_Categorie_Metier = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();
@ -274,7 +274,7 @@ const Partner_domaine_Categorie_Metier = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -4545,7 +4545,7 @@ const Partner_Facture = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -126,7 +126,7 @@ const Partner_Prix_Achat = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
close();

View File

@ -126,7 +126,7 @@ const Partner_Product_Service = (props) => {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -95,7 +95,7 @@ function Pricing() {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -1299,7 +1299,7 @@ function UpdateAttendeeList() {
</div>
<div style={{ "width": "45%", "float": "right" }}>
<button
className="gest_bton_popup"
className="gest_bton_popup_annuler"
onClick={() => {
//console.log('modal closed ');
close();

View File

@ -1982,7 +1982,7 @@ function UpdateParnterInfo(props) {
setLoading(false);
if (String(res.data.status) === "true") {
//console.log(" In Get_Partner_Catalog_Pub_Config res.data.status = " + res.data.status);
// console.log(" In Get_Partner_Catalog_Pub_Config res.data.message r_class = " + res.data.message);
// console.log(" In Get_Partner_Catalog_Pub_Config res.data.message r_class = " + res.data.message);
setGet_Partner_Catalog_Pub_Config_api("true");
setGet_Partner_Catalog_Pub_Config_result(res.data.message);
@ -2180,13 +2180,13 @@ function UpdateParnterInfo(props) {
}
setp_contact_public_email("");
if (JSON.parse(res.data.message).contact_public_email) {
setp_contact_public_email(JSON.parse(res.data.message).contact_public_email);
if (JSON.parse(res.data.message).contact_public_email) {
setp_contact_public_email(JSON.parse(res.data.message).contact_public_email);
}
setp_contact_public_telephone("");
if (JSON.parse(res.data.message).contact_public_telephone) {
setp_contact_public_telephone(JSON.parse(res.data.message).contact_public_telephone);
if (JSON.parse(res.data.message).contact_public_telephone) {
setp_contact_public_telephone(JSON.parse(res.data.message).contact_public_telephone);
}
@ -4728,7 +4728,7 @@ function UpdateParnterInfo(props) {
</div>
<div className="titre1"> <b> Contacts Publiques zzzz</b> </div>
<div className="titre1"> <b> Contacts Publiques </b> </div>
<div className="div_row">
<div style={{ width: "50%", float: 'left', }}> <b> Email </b> <br />
<TextField
@ -4757,29 +4757,63 @@ function UpdateParnterInfo(props) {
</div>}
<div>
<div className="div_row" style={{ "border": "None" }}>
&nbsp;
</div>
{String(catalog_pub_config_edit) !== "1" && <div className="div_row_droite" style={{ "textAlign": 'right', fontFamily:'DM sans' }}>
<Button variant="contained" className="bton_edit" onClick={Edit_Catalog_Config_Fields}>Editer
</Button>
</div>}
<div className="div_row" style={{ "border": "None", "color": "orange", "textAlign": "center" }}>
{String(catalog_pub_config_edit) === "1" && <div className="div_row_gauche" style={{ "textAlign": 'left', fontFamily:'DM sans' }}>
<Button variant="contained" className="bton_enreg" onClick={Add_Update_Catalog_Pub_Theme}>Enregistrer les modifications
</Button>
</div>}
{String(catalog_pub_config_edit) === "1" && <div className="div_row_droite" style={{ "textAlign": 'right', fontFamily:'DM sans' }} >
<Button variant="contained" className="bton_annule" onClick={Annule_Edit_Catalog_Config_Fields}>Annuler
</Button>
</div>}
</div>
<div className="div_row" style={{ "border": "None" }}>
&nbsp;
</div>
</div>
<div className="div_row">
<div className="div_row" style={{ "border": "None" }}>
&nbsp;
</div>
{String(catalog_pub_config_edit) !== "1" && <div className="div_row" style={{ "border": "None", "color": "orange", "textAlign": "center" }}>
{/*String(catalog_pub_config_edit) !== "1" && <div className="div_row" style={{ "border": "None", "color": "orange", "textAlign": "center" }}>
<div className="div_row_gauche " style={{ "textAlign": 'left', 'marginLeft': '15px' }}>
&nbsp;
</div>
<div className="div_row_droite" style={{ "textAlign": 'right', 'marginRight': '15px' }}>
<Button variant="contained" className="btn_modif" onClick={Edit_Catalog_Config_Fields}>Editer
<Button variant="contained" className="btn_modif" onClick={Edit_Catalog_Config_Fields}>Editer uu
</Button>
</div>
</div>}
</div>*/}
{String(catalog_pub_config_edit) === "1" && <div className="div_row" style={{ "border": "None", "color": "orange", "textAlign": "center" }}>
{/*String(catalog_pub_config_edit) === "1" && <div className="div_row" style={{ "border": "None", "color": "orange", "textAlign": "center" }}>
<div className="div_row_gauche " style={{ "textAlign": 'left', 'marginLeft': '15px' }}>
<Button variant="contained" className="btn_modif" onClick={Annule_Edit_Catalog_Config_Fields}>Annuler
@ -4793,7 +4827,7 @@ function UpdateParnterInfo(props) {
</div>
</div>}
</div>*/}
<div className="div_row" style={{ "border": "None" }}>
&nbsp;
</div>
@ -4811,7 +4845,7 @@ function UpdateParnterInfo(props) {
<img src={Partner_Catalog_Pub_banniere} alt={""} className="img_bg_file_css" />
<br />
<br />
<Button variant="contained" className="btn_enreg" onClick={Delete_Catalog_Pub_Banniere_Img}>Supprimer Bannière
<Button variant="contained" className="btn_enreg" onClick={Delete_Catalog_Pub_Banniere_Img}>Supprimer Bannière
</Button>
</div>}
<div className="div_row"> Import Bannière <br />

View File

@ -141,8 +141,7 @@
margin-right: auto;
}
.display_screen_max_600 {
}
.display_screen_max_600 {}
.display_screen_min_601 {
display: none;
@ -243,6 +242,7 @@
margin-bottom: 0.1rem;
margin-top: 0.1rem;
}
//---
.detail_rightbox_left1 {
float: left;
@ -456,6 +456,7 @@
text-align: center;
width: 100%;
}
.text-box:before {
content: "";
display: inline-block;
@ -644,6 +645,7 @@
background-color: #107758;
color: white;
}
.detail_class_submenu:focus {
//border: 3px dotted green;
background-color: #107758;
@ -727,9 +729,11 @@
h4 {
display: inline-block;
font-size: xx-large; /*or whatever you want*/
font-size: xx-large;
/*or whatever you want*/
color: white;
}
.text-box {
position: absolute;
height: 100%;
@ -984,6 +988,7 @@
margin-bottom: 0.5rem;
word-break: break-word;
}
.titre {
text-align: center;
font-size: 1.1rem;
@ -1149,6 +1154,7 @@
background-color: #107758;
color: white;
}
.detail_class_submenu:focus {
//border: 3px dotted green;
background-color: #107758;
@ -1234,9 +1240,11 @@
h4 {
display: inline-block;
font-size: xx-large; /*or whatever you want*/
font-size: xx-large;
/*or whatever you want*/
color: white;
}
.text-box {
position: absolute;
height: 100%;
@ -1653,6 +1661,7 @@
background-color: #107758;
color: white;
}
.detail_class_submenu:focus {
//border: 3px dotted green;
background-color: #107758;
@ -1738,9 +1747,11 @@
h4 {
display: inline-block;
font-size: xx-large; /*or whatever you want*/
font-size: xx-large;
/*or whatever you want*/
color: white;
}
.text-box {
position: absolute;
height: 100%;
@ -1819,7 +1830,7 @@
width: 95% !important;
}
.popup-content {
.popup-content {
top: 40% !important;
left: 15% !important;
width: 50rem !important;
@ -2167,6 +2178,7 @@
background-color: #107758;
color: white;
}
.detail_class_submenu:focus {
//border: 3px dotted green;
background-color: #107758;
@ -2241,7 +2253,7 @@
.popup-content {
width: 50% !important;
font-family: "Quicksand", "Signika", sans-serif !important;
font-family: 'DM Sans' !important;
font-size: small !important;
height: auto;
border: 1px solid black !important;
@ -2255,17 +2267,21 @@
font-size: 18px;
text-align: center;
padding: 5px;
font-family: 'DM Sans';
}
.gest_content {
width: 100%;
padding: 10px 5px;
font-family: 'DM Sans';
}
.gest_actions {
width: 100%;
padding: 10px 5px;
margin: auto;
text-align: center;
font-family: 'DM Sans';
}
.gest_close {
@ -2280,12 +2296,25 @@
background: #ffffff;
border-radius: 18px;
border: 1px solid #cfcece;
font-family: 'DM Sans';
}
.gest_bton_popup{
.gest_bton_popup {
background: #107758;
color: white;
padding: 5px;
border-radius: 5px;
min-width: 5rem;
font-family: 'DM Sans';
border: none;
}
.gest_bton_popup_annuler {
background: #919d9a;
color: white;
padding: 5px;
border-radius: 5px;
min-width: 5rem;
font-family: 'DM Sans';
border: none;
}

View File

@ -2604,7 +2604,7 @@
margin: 0.4rem !important;
margin-top: 0px !important;
margin-bottom: 2px !important;
text-align: right;
text-align: right;
cursor: pointer;
}

View File

@ -5,7 +5,7 @@
z-index: 9999;
}
.mysy_spinner {
border-radius: 5px;
//border: 1px solid #d5d8dc;

View File

@ -1812,7 +1812,7 @@
text-align: center;
margin-bottom: 0.8rem;
color: white;
cursor: pointer;
cursor: default;
font-style: italic;
background-color: gray;
font-weight: normal;
@ -2453,7 +2453,7 @@
text-align: center;
margin-bottom: 0.8rem;
color: white;
cursor: pointer;
cursor: default;
font-style: italic;
background-color: gray;
font-weight: normal;

View File

@ -13,7 +13,7 @@
}
.loader-container {
width: 100%;
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
@ -1840,7 +1840,7 @@
text-align: center;
margin-bottom: 0.8rem;
color: white;
cursor: pointer;
cursor: default;
font-style: italic;
background-color: gray;
font-weight: normal;
@ -2536,7 +2536,7 @@
text-align: center;
margin-bottom: 0.8rem;
color: white;
cursor: pointer;
cursor: default;
font-style: italic;
background-color: gray;
font-weight: normal;

View File

@ -450,7 +450,7 @@
font-size: medium;
text-align: center;
color: white;
cursor: pointer;
cursor: default;
font-style: italic;
background-color: gray;
font-weight: normal;
@ -930,7 +930,7 @@
font-size: medium;
text-align: center;
color: white;
cursor: pointer;
cursor: default;
font-style: italic;
background-color: gray;
font-weight: normal;
@ -1437,7 +1437,7 @@
font-size: medium;
text-align: center;
color: white;
cursor: pointer;
cursor: default;
font-style: italic;
background-color: gray;
font-weight: normal;
@ -1921,7 +1921,7 @@
font-size: medium;
text-align: center;
color: white;
cursor: pointer;
cursor: default;
font-style: italic;
background-color: gray;
font-weight: normal;

View File

@ -221,6 +221,8 @@
border-radius: 5px;
background: white;
border: solid gainsboro 1px;
font-family: "DM Sans", "sans-serif";
}
@ -233,6 +235,7 @@
border-radius: 5px;
background: white;
border: solid gainsboro 1px;
font-family: 'DM sans';
}
}
@ -424,6 +427,7 @@
border: solid gainsboro 1px;
padding-top: 0.5rem !important;
border: none !important;
font-family: "DM Sans", "sans-serif";
}
.disabled_style_multiline {
@ -438,6 +442,7 @@
border: solid gainsboro 1px;
padding-top: 0.5rem !important;
border: none !important;
font-family: 'DM sans';
}
}
@ -626,6 +631,7 @@
border-radius: 5px;
background: white;
border: solid gainsboro 1px;
font-family: "DM Sans", "sans-serif";
}
.disabled_style_multiline {
@ -638,6 +644,7 @@
border-radius: 5px;
background: white;
border: solid gainsboro 1px;
font-family: 'DM sans';
}
}
@ -820,8 +827,9 @@
border-radius: 5px;
background: white;
border: solid gainsboro 1px;
font-family: "DM Sans", "sans-serif";
}
.disabled_style_multiline {
//background-color: #ECEFF1;
@ -833,6 +841,7 @@
border-radius: 5px;
background: white;
border: solid gainsboro 1px;
font-family: 'DM sans';
}

View File

@ -14,7 +14,7 @@
padding-left: 5px !important;
}
@media screen and (max-width: 600px) {
.okUpdateData {

View File

@ -10,7 +10,7 @@
padding-right: 0.2rem !important;
height: 3rem !important;
margin-bottom: 1rem;
}
}
.css-1o9s3wi-MuiInputBase-input-MuiOutlinedInput-input {
height: 2.5rem !important;
@ -241,7 +241,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: 11px;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
width: 100%;
@ -505,7 +505,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: 11px;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
height: 2rem !important;
@ -553,6 +553,59 @@
font-size: 12px;
}
.bton_suppr {
background: transparent;
color: red;
border-radius: 5rem;
border: none;
text-align: center;
height: 2.5rem;
width: 40%;
margin-left: 10px;
margin-right: 10px;
min-width: 15rem;
}
.bton_enreg {
font-family: DM sans;
border-radius: 5rem;
background: #81BC3A !important;
text-align: center;
height: 2.5rem;
width: 40%;
color: white;
margin-left: 10px;
margin-right: 10px;
min-width: 15rem;
border: none;
}
.bton_edit {
border-radius: 5rem;
background: black !important;
text-align: center;
height: 2.5rem;
width: 40%;
color: white;
margin-left: 10px;
margin-right: 10px;
min-width: 15rem;
border: none;
}
.bton_annule {
border-radius: 5rem;
background: lightgray !important;
text-align: center;
height: 2.5rem;
width: 40%;
color: black;
margin-left: 10px;
margin-right: 10px;
min-width: 15rem;
border: none;
}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
@ -766,7 +819,7 @@
border: 1px solid #9cf;
color: #3b3e40;
font-family: "DM Sans", "sans-serif";
font-size: 11px;
font-size: 11px;
letter-spacing: 0.1rem;
font-weight: normal;
height: 2rem !important;
@ -813,6 +866,56 @@
font-size: 12px;
}
.bton_suppr {
background: transparent;
color: red;
border-radius: 5rem;
font-size: small;
text-align: center;
height: 2.5rem;
width: 65%;
margin-left: 10px;
margin-right: 10px;
border: none;
}
.bton_enreg {
font-family: DM sans;
border-radius: 5rem;
background: #81BC3A !important;
text-align: center;
height: 2.5rem;
width: 65%;
color: white;
margin-left: 10px;
margin-right: 10px;
border: none;
}
.bton_edit {
border-radius: 5rem;
background: black !important;
text-align: center;
height: 2.5rem;
width: 65%;
color: white;
margin-left: 10px;
margin-right: 10px;
border: none;
}
.bton_annule {
border-radius: 5rem;
background: lightgray !important;
text-align: center;
height: 2.5rem;
width: 65%;
color: black;
margin-left: 10px;
margin-right: 10px;
border: none;
}
}
@media only screen and (min-width: 1200px) {
@ -832,7 +935,7 @@
margin-bottom: 1.5rem !important;
}
.texte_area_adress {
@ -1094,8 +1197,58 @@
}
.bton_suppr {
background: transparent;
color: red;
border-radius: 5rem;
text-align: center;
height: 2.5rem;
width: 40%;
margin-left: 10px;
margin-right: 10px;
border: none;
}
.bton_enreg {
font-family: DM sans;
border-radius: 5rem;
background: #81BC3A !important;
text-align: center;
height: 2.5rem;
width: 40%;
color: white;
margin-left: 10px;
margin-right: 10px;
border: none;
}
.bton_edit {
border-radius: 5rem;
background: black !important;
text-align: center;
height: 2.5rem;
width: 40%;
color: white;
margin-left: 10px;
margin-right: 10px;
border: none;
}
.bton_annule {
border-radius: 5rem;
background: lightgray !important;
text-align: center;
height: 2.5rem;
width: 40%;
color: black;
margin-left: 10px;
margin-right: 10px;
border: none;
}
}
// end media
.css-mnn31 {