17/08/23 - 17h

recette2
cherif 2023-08-17 17:03:05 +02:00
parent fd627df4c0
commit 8225272a9e
25 changed files with 3770 additions and 400 deletions

View File

@ -1553,7 +1553,8 @@ function Abonnement(props) {
{String(testval) === String("false") && <div className="koUpdateData"> Impossible de modifier les informations </div>}
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required

View File

@ -1826,7 +1826,8 @@ const AddClassManual = (props) => {
</div>
<Box
&nbsp;
<Box
component="form"
sx={{
'& .MuiTextField-root': { m: 1, width: '25ch' },

View File

@ -1470,7 +1470,8 @@ function CheckOut(props) {
{String(addfacturationinfo_api) === String("false") || String(addfacturationinfo_response) === String("0") &&
<div className="koUpdateData"> Impossible de modifier les informations de facturation </div>}
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required
@ -1793,7 +1794,8 @@ function CheckOut(props) {
</div>
</div>
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required
@ -1865,7 +1867,8 @@ function CheckOut(props) {
<div className="titre1" onClick={menu_sepa}> Prélèvement par virement SEPA</div>
{String(menumodepayement) === String("sepa") && <div>
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required
@ -1951,7 +1954,8 @@ function CheckOut(props) {
<img src={img_paypal} className="img_payment_chekout" />
</div>
</div>
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required
@ -2023,7 +2027,8 @@ function CheckOut(props) {
<div className="titre1" onClick={menu_sepa}> Prélèvement par virement SEPA</div>
{String(menumodepayement) === String("sepa") && <div>
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required

View File

@ -3756,8 +3756,6 @@ const DisplayPartnerSession = (props) => {
}
{<div className="div_row" style={{ "border": "None", "color": "orange", "textAlign": "center" }}>
<div className="div_row_gauche" style={{ "textAlign": 'left', 'marginLeft': '15px' }}>
@ -3783,7 +3781,8 @@ const DisplayPartnerSession = (props) => {
<div style={{ "border": "None" }}>
<div style={{ height: 500, width: '100%', paddingRight: '1px' }}>
<Box
&nbsp;
<Box
sx={{
height: 500,
width: '100%',
@ -4019,7 +4018,7 @@ const DisplayPartnerSession = (props) => {
</div>
<div >
<div>
{String(submenu) === String("detail_session") && <div style={{ "border": "None" }}>

File diff suppressed because it is too large Load Diff

View File

@ -107,7 +107,7 @@ const DistplayPartnerTraningsPage = (props) => {
})
.then((data) => data.json())
.then((data) => {
//console.log('GetAllClass_WOfilter : Success:', data['message'], "data['status'] = ", data['status']);
console.log('GetAllClass_WOfilter : Success:', data['message'], "data['status'] = ", data['status']);
setTableData(data['message']);
setRows(data['message']);
@ -165,7 +165,7 @@ const DistplayPartnerTraningsPage = (props) => {
})
.then((data) => data.json())
.then((data) => {
//console.log('Success:', data['message'], "data['status'] = ", data['status']);
console.log('Success:', data['message'], "data['status'] = ", data['status']);
setTableData(data['message']);
setRows(data['message']);
if (String(data['status']) === String("false")) {
@ -256,7 +256,7 @@ const DistplayPartnerTraningsPage = (props) => {
renderCell: (cellValues) => {
return (
<Button style={{ "marginLeft": "auto", "marginRight": "auto", "cursor":"pointer" }}
<Button style={{ "marginLeft": "auto", "marginRight": "auto", "cursor": "pointer" }}
onClick={(event) => {
handleClickManagement(event, cellValues);
@ -274,7 +274,7 @@ const DistplayPartnerTraningsPage = (props) => {
renderCell: (cellValues) => {
return (
<Button style={{ "marginLeft": "auto", "marginRight": "auto", "cursor":"pointer" }}
<Button style={{ "marginLeft": "auto", "marginRight": "auto", "cursor": "pointer" }}
onClick={(event) => {
Visualiser(event, cellValues);
@ -292,7 +292,7 @@ const DistplayPartnerTraningsPage = (props) => {
renderCell: (cellValues) => {
return (
<Button style={{ "marginLeft": "auto", "marginRight": "auto", "cursor":"pointer" }}
<Button style={{ "marginLeft": "auto", "marginRight": "auto", "cursor": "pointer" }}
onClick={(event) => {
handleClick(event, cellValues);
@ -315,7 +315,7 @@ const DistplayPartnerTraningsPage = (props) => {
<Popup
trigger={<Button style={{ "marginLeft": "auto", "marginRight": "auto", "cursor":"pointer" }}
trigger={<Button style={{ "marginLeft": "auto", "marginRight": "auto", "cursor": "pointer" }}
onClick={(event) => {
handlepush_to_lms(event, cellValues);
@ -1149,16 +1149,23 @@ const DistplayPartnerTraningsPage = (props) => {
</div>}
<div className="div_row"> &nbsp; </div>
<div style={{ height: "850px", "width":"100%"}}>
<div style={{ height: "850 px", "width": "100%" }}>
{String(myApiResponse) === "False" && <div className='koUpdateData'>
Impossible de traiter la demande
</div>}
{String(myApiResponse) === "True" &&
<div style={{ height: 800, width: '100%', paddingRight: '1px' }}>
{String(myApiResponse) === "True" && <div style={{ height: "800px", width: '100%', paddingRight: '1px' }}>
&nbsp;
<Box
sx={{
height: 700,
height: "700px",
width: '100%',
paddingRight: '2px',
'& .cell--published': {

View File

@ -662,6 +662,7 @@ function Inscription_Information(props) {
String(action).toLocaleLowerCase() === "inscription" &&
String(AnnulerFction_status) !== "1" && <div>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
{String(RecordData_status) === "false" && <div className="koUpdateData">
{RecordData_message}
@ -683,11 +684,11 @@ function Inscription_Information(props) {
<option value={JSON.parse(formation).formation_session_id} style={{"height":"3rem", "borderRadius":"0px"}}>
<option value={JSON.parse(formation).formation_session_id} style={{ "height": "3rem", "borderRadius": "0px" }}>
{(JSON.parse(formation).session_ondemande) === "1" && " A la Demande - "}
{( !JSON.parse(formation).session_ondemande || JSON.parse(formation).session_ondemande === "0" ) &&
(JSON.parse(formation).date_debut).substring(0, 10)+ " au "+ (JSON.parse(formation).date_fin).substring(0, 10)}
{(!JSON.parse(formation).session_ondemande || JSON.parse(formation).session_ondemande === "0") &&
(JSON.parse(formation).date_debut).substring(0, 10) + " au " + (JSON.parse(formation).date_fin).substring(0, 10)}
{/*(JSON.parse(formation).date_debut).substring(0, 10)} au {(JSON.parse(formation).date_fin).substring(0, 10)*/} -
{(JSON.parse(formation).distantiel) === "1" && " A Distance - "}
@ -715,8 +716,9 @@ function Inscription_Information(props) {
</Box>
{mysession && <Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
{mysession &&
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<TextField
required
label="Nom"
@ -802,6 +804,7 @@ function Inscription_Information(props) {
<div style={{ "width": "10%" }}> &nbsp;</div>
<div className="titre1_aide_finance"> Nous vous aidons à financer la formation</div>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<div className="select-container" style={{ "marginBottom": "1rem" }}>
<div className="field_gauche">
@ -820,7 +823,9 @@ function Inscription_Information(props) {
</Box>
<div style={{ "width": "100%" }}> &nbsp;</div>
{monfinancement && String(monfinancement) !== "perso" &&
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<div className="select-container">
<div className="field_gauche">
Choisir votre centre de rattachement

View File

@ -712,9 +712,9 @@ const Partner = (props) => {
{String(menu) === "mes_sessions" && <div className="sousmenu_selected" onClick={DiplaySessionList} ><FcFlowChart className="icone_menu" /> MES SESSIONS</div>}
<hr className="my_hr" />
{/*{String(menu) !== "mes_stagiaires" && <div className="sousmenu" onClick={DiplayStagiaireList} > <FcReading className="icone_menu" /> MES STAGIAIRES </div>}
{String(menu) !== "mes_stagiaires" && <div className="sousmenu" onClick={DiplayStagiaireList} > <FcReading className="icone_menu" /> MES STAGIAIRES </div>}
{String(menu) === "mes_stagiaires" && <div className="sousmenu_selected" onClick={DiplayStagiaireList} ><FcReading className="icone_menu" /> MES STAGIAIRES</div>}
<hr className="my_hr" /> */}
<hr className="my_hr" />
{String(menu) !== "abonnement" && <div className="sousmenu" onClick={Abonnement_func} > <FcKey className="icone_menu" /> ABONNEMENT </div>}
{String(menu) === "abonnement" && <div className="sousmenu_selected" onClick={Abonnement_func} > <FcKey className="icone_menu" /> ABONNEMENT </div>}
@ -743,7 +743,7 @@ const Partner = (props) => {
{String(menu) === "mes_clients" && <div className="sousmenu_selected" onClick={mes_clients_func}> &nbsp;&nbsp; <FcBusinesswoman className="icone_menu" />&nbsp;MES CLIENTS</div>}
</div>
{/*<div>
<div>
<hr className="my_hr" />
{String(menu) !== "mes_devis" && <div className="sousmenu" onClick={"mes_devis_func"}>&nbsp;&nbsp;<FcCandleSticks className="icone_menu" />&nbsp;MES DEVIS</div>}
{String(menu) === "mes_devis" && <div className="sousmenu_selected" onClick={"mes_devis_func"}> &nbsp;&nbsp; <FcCandleSticks className="icone_menu" />&nbsp;MES DEVIS</div>}
@ -759,7 +759,7 @@ const Partner = (props) => {
<hr className="my_hr" />
{String(menu) !== "mes_facture" && <div className="sousmenu" onClick={"mes_cmd_func"}>&nbsp;&nbsp;<FcKindle className="icone_menu" />&nbsp;MES FACTURES</div>}
{String(menu) === "mes_facture" && <div className="sousmenu_selected" onClick={"mes_cmd_func"}> &nbsp;&nbsp; <FcCollect FcKindle="icone_menu" />&nbsp;MES FACTURES</div>}
</div>*/}
</div>
<div class="separator"> Espace E-Learning </div>

View File

@ -310,7 +310,7 @@ const Partner_Client = (props) => {
<div className="titre1"> Liste des clients</div>
<div className="div_row">
<div style={{ height: 500, width: '100%' }}>
<div style={{ height: "500px", width: '100%' }}>
<div className="div_row">
<Button variant="outlined" onClick={submenu_import_part_client_mass} className="detail_class_submenu bton_add_menuclient" style={{
@ -345,9 +345,10 @@ const Partner_Client = (props) => {
/>
</div>
<Box
&nbsp;
<Box
sx={{
height: 500,
height: "500px",
width: '100%',
paddingRight: '1px',
'& .cell--presentiel': {

View File

@ -292,7 +292,8 @@ function Partner_Invoicing_Data(props) {
{String(RecordData_api) === String("false") && <div className="koUpdateData"> Impossible de modifier les informations </div>}
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required

View File

@ -632,7 +632,8 @@ const Partner_Securite_Data = (props) => {
La mise à jour été faite
</div>
}
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 } }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 } }}>
{/*<FormControl sx={{ m: 1, width: '90%' }} size="small" className="texte_area_passwd">
<Label>Mot de passe actuel</Label>
@ -962,7 +963,8 @@ const Partner_Securite_Data = (props) => {
}
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 } }} >
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 } }} >
{/*<FormControl sx={{ m: 1, width: '90%' }} variant="standard" size="small" className="texte_area_passwd">
<Label>Clé de rattachement actuelle</Label>

View File

@ -280,7 +280,8 @@ function PaymentMethode(props) {
</div>
</div>
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required
@ -356,7 +357,8 @@ function PaymentMethode(props) {
<div className="titre1" onClick={menu_sepa}> Prélèvement par virement SEPA</div>
{String(menu) === String("sepa") && <div>
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required
@ -405,7 +407,8 @@ function PaymentMethode(props) {
Pour confirmer le changement, veuillez entrer votre mot de passe et votre clé sécrete <br />
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<FormControl sx={{ m: 1, width: '45%' }} variant="standard" size="small" className="texte_area_passwd">
<InputLabel htmlFor="outlined-adornment-password">Mot de passe</InputLabel>

View File

@ -268,7 +268,8 @@ function PaymentMethodeNoConnect(props) {
</div>
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required
@ -334,7 +335,8 @@ function PaymentMethodeNoConnect(props) {
Pour confirmer le changement, veuillez entrer votre mot de passe et votre clé sécrete <br />
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<FormControl sx={{ m: 1, width: '100%' }} variant="standard" size="small" className="texte_area_passwd carte_cle_pass">
<InputLabel htmlFor="outlined-adornment-password">Mot de passe</InputLabel>

View File

@ -247,7 +247,8 @@ function PaymentMethodeNoConnect(props) {
</div>
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required
@ -315,7 +316,8 @@ function PaymentMethodeNoConnect(props) {
<div className="titre1" onClick={menu_sepa}> Prélèvement par virement SEPA</div>
{String(menu) === String("sepa") && <div>
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required

View File

@ -828,7 +828,8 @@ function Pricing() {
{String(iseditclientprice) === "1" && <div>
Modification du prix
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }} onChange={DataUpdated_exist_price}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }} onChange={DataUpdated_exist_price}>
<TextField
required
@ -950,7 +951,8 @@ function Pricing() {
{String(isaddprice) === "1" && <div>
Creation d'un nouveau prix client
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }} onChange={DataUpdated}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }} onChange={DataUpdated}>
<div className="div_row">
<div className="div_row_gauche">

View File

@ -241,7 +241,8 @@ function ResetUserPwd() {
</div>
<nav className="title"> Reinitialisation du mot de passe </nav>
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 } }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 } }}>
<br />

View File

@ -628,7 +628,8 @@ function SignUp() {
{String(menucompte) === String("partner") && <div style={{ "textAlign": "left" }}>
<div className="titre1"> Contact Principal </div>
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField

View File

@ -670,7 +670,8 @@ Cette fonction recuperer les stats des TOP 5 formations sur la periode saisie pa
<div className="div_mobile">
<Box
&nbsp;
<Box
sx={{
height: 300,
width: '100%',
@ -763,7 +764,8 @@ Cette fonction recuperer les stats des TOP 5 formations sur la periode saisie pa
<div style={{ height: 500, width: '100%' }}>
<Box sx={{
&nbsp;
<Box sx={{
height: 300,
width: '100%',
'& .cold': {

View File

@ -1620,7 +1620,8 @@ function UpdateParnterInfo() {
}
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }} onChange={DataUpdated}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }} onChange={DataUpdated}>
<TextField
required
@ -2180,7 +2181,8 @@ function UpdateParnterInfo() {
La mise à jour été faite
</div>
}
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 } }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 } }}>
<FormControl sx={{ m: 1, width: '90%' }} variant="standard" size="small" className="texte_area_passwd">
<Label>Mot de passe actuel</Label>

View File

@ -270,7 +270,8 @@ function UpdateUserGoals(props) {
{String(recorddata_api) === String("false") && <div className="koUpdateData"> {recorddata_api_message} </div>}
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}
onChange={updateBox} >
<TextField

View File

@ -515,7 +515,8 @@ function UpdateUserInfo() {
}
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required
@ -723,7 +724,8 @@ function UpdateUserInfo() {
La mise à jour été faite
</div>
}
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 } }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 } }}>
<FormControl sx={{ m: 1, width: '90%' }} variant="standard" size="small" className="texte_area_passwd">
<InputLabel htmlFor="outlined-adornment-password"></InputLabel>

View File

@ -216,7 +216,8 @@ function UpdateUserProfil(props) {
{String(recorddata_api) === String("false") && <div className="koUpdateData"> {recorddata_api_message} </div>}
<Box
&nbsp;
<Box
component="form"
sx={{
'& .MuiTextField-root': { m: 1, width: '25ch' },

View File

@ -245,7 +245,8 @@ function UpgradeToPro() {
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
&nbsp;
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }}>
<TextField
required

File diff suppressed because it is too large Load Diff

View File

@ -71,6 +71,6 @@
@import "./components/partnerinvoicingdata";
@import "./components/displaypartnersession";
@import "./components/partner_client_securite_data";
@import "./components/displaypartnerstagiaire";
@import "./components/global_mysy_css";