08/12/2023 - 22h30
parent
51440ee010
commit
c3244bf5c1
|
@ -2549,8 +2549,51 @@ const Config_Documents = (props) => {
|
||||||
|
|
||||||
{String(partner_document_data_edit_mode) !== "1" && <div className="div_row_gauche" style={{ "textAlign": 'left', 'marginLeft': '15px' }}>
|
{String(partner_document_data_edit_mode) !== "1" && <div className="div_row_gauche" style={{ "textAlign": 'left', 'marginLeft': '15px' }}>
|
||||||
|
|
||||||
<Button variant="contained" className="bton_enreg" onClick={Get_Default_Original_Partner_Document_Data}>Réinitialiser avec le modèle d'origine
|
|
||||||
|
<Popup
|
||||||
|
trigger={
|
||||||
|
<Button variant="contained" className="bton_enreg" >Réinitialiser avec le modèle d'origine
|
||||||
</Button>
|
</Button>
|
||||||
|
}
|
||||||
|
modal
|
||||||
|
nested
|
||||||
|
position="center center"
|
||||||
|
>
|
||||||
|
|
||||||
|
{close => (
|
||||||
|
<div>
|
||||||
|
<button className="gest_close" onClick={close}>
|
||||||
|
×
|
||||||
|
</button>
|
||||||
|
<div className="gest_header"> MySy Information </div>
|
||||||
|
<div className="gest_content">
|
||||||
|
{' '}
|
||||||
|
<font color="red"> Toutes vos modifications seront perdues.
|
||||||
|
<b> Confirmer la réinitialisation du document.</b> </font>
|
||||||
|
</div>
|
||||||
|
<div className="gest_actions">
|
||||||
|
<div style={{ "width": "45%", "float": "left" }}>
|
||||||
|
<button className="gest_bton_popup" onClick={(event) => {
|
||||||
|
Get_Default_Original_Partner_Document_Data();
|
||||||
|
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>
|
||||||
|
|
||||||
</div>}
|
</div>}
|
||||||
|
|
||||||
|
@ -2700,7 +2743,7 @@ const Config_Documents = (props) => {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="div_row">
|
<div className="div_row">
|
||||||
<Button className="bton_enreg" onClick={add_one_selected_fields} style={{ "margin": "1rem", minWidth: '50%' }}
|
<Button className="bton_enreg" onClick={add_one_selected_fields} style={{ "margin": "1rem", minWidth: '15rem' }}
|
||||||
>Ajouter le Champ Choisi
|
>Ajouter le Champ Choisi
|
||||||
|
|
||||||
</Button>
|
</Button>
|
||||||
|
|
|
@ -1924,6 +1924,10 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
setsubmenu("detail_session");
|
setsubmenu("detail_session");
|
||||||
|
|
||||||
await sleep(5);
|
await sleep(5);
|
||||||
|
|
||||||
|
setdisplay_detail_stagiaire("1");
|
||||||
|
addOneParticipant();
|
||||||
|
|
||||||
/*if (!edit_session_form) {
|
/*if (!edit_session_form) {
|
||||||
desableSessionFields();
|
desableSessionFields();
|
||||||
}
|
}
|
||||||
|
@ -2730,6 +2734,39 @@ const DisplayPartnerStagiaires = (props) => {
|
||||||
else
|
else
|
||||||
form.append("price", "");
|
form.append("price", "");
|
||||||
|
|
||||||
|
|
||||||
|
//---
|
||||||
|
|
||||||
|
if (p_detail_adresse)
|
||||||
|
form.append("adresse", p_detail_adresse);
|
||||||
|
else
|
||||||
|
form.append("adresse", "");
|
||||||
|
|
||||||
|
if (p_detail_code_postal)
|
||||||
|
form.append("code_postal", p_detail_code_postal);
|
||||||
|
else
|
||||||
|
form.append("code_postal", "");
|
||||||
|
|
||||||
|
|
||||||
|
if (p_detail_ville)
|
||||||
|
form.append("ville", p_detail_ville);
|
||||||
|
else
|
||||||
|
form.append("ville", "");
|
||||||
|
|
||||||
|
|
||||||
|
if (p_detail_pays)
|
||||||
|
form.append("pays", p_detail_pays);
|
||||||
|
else
|
||||||
|
form.append("pays", "");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//---
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (p_detail_mode_fin)
|
if (p_detail_mode_fin)
|
||||||
form.append("modefinancement", p_detail_mode_fin);
|
form.append("modefinancement", p_detail_mode_fin);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue