08/07/23 - 20h
parent
890d977dbe
commit
fe5e71477a
|
@ -189,8 +189,8 @@ const ButtonHilight = () => {
|
||||||
|
|
||||||
function part_logout_confirmation() {
|
function part_logout_confirmation() {
|
||||||
/* si c'est une connexion partner qui est active */
|
/* si c'est une connexion partner qui est active */
|
||||||
alert(" deccc");
|
//alert(" deccc");
|
||||||
console.log(" ### AVANNN deconnexion iciiii");
|
//console.log(" ### AVANNN deconnexion iciiii");
|
||||||
if (typeof (stored_part) != "undefined") {
|
if (typeof (stored_part) != "undefined") {
|
||||||
console.log(" ### deconnexion iciiii");
|
console.log(" ### deconnexion iciiii");
|
||||||
setpartCookie("tokenmysypart", "", { path: '/' });
|
setpartCookie("tokenmysypart", "", { path: '/' });
|
||||||
|
|
|
@ -887,7 +887,7 @@ const DisplayDetailClass_new_v2 = (props) => {
|
||||||
//console.log(" In GetCurrentClass_trainingsession res.data.status = " + res.data.status);
|
//console.log(" In GetCurrentClass_trainingsession res.data.status = " + res.data.status);
|
||||||
//console.log(" In GetCurrentClass_trainingsession res.data.message r_class = " + res.data.message);
|
//console.log(" In GetCurrentClass_trainingsession res.data.message r_class = " + res.data.message);
|
||||||
|
|
||||||
if (String(res.data.status) === "true") {
|
if (String(res.data.status) === String("true") ) {
|
||||||
//console.log(" In GetCurrentClass_trainingsession res.data.status = " + res.data.status);
|
//console.log(" In GetCurrentClass_trainingsession res.data.status = " + res.data.status);
|
||||||
//console.log(" In GetCurrentClass_trainingsession res.data.message r_class = " + res.data.message);
|
//console.log(" In GetCurrentClass_trainingsession res.data.message r_class = " + res.data.message);
|
||||||
setGetCurrentClass_api("true");
|
setGetCurrentClass_api("true");
|
||||||
|
|
|
@ -798,7 +798,7 @@ function GestionAdministrative(props) {
|
||||||
|
|
||||||
axios.post(myurl, form).then(res => {
|
axios.post(myurl, form).then(res => {
|
||||||
|
|
||||||
if (res.data.status === String("true")) {
|
if (String(res.data.status) === String("true")) {
|
||||||
//console.log(" In GetCurrentClass res.data.status = " + res.data.status);
|
//console.log(" In GetCurrentClass res.data.status = " + res.data.status);
|
||||||
//console.log(" In GetCurrentClass res.data.message r_class = " + res.data.message);
|
//console.log(" In GetCurrentClass res.data.message r_class = " + res.data.message);
|
||||||
setGetCurrentClass_api("true");
|
setGetCurrentClass_api("true");
|
||||||
|
@ -849,6 +849,19 @@ function GestionAdministrative(props) {
|
||||||
form.append("session_id", localsessionid);
|
form.append("session_id", localsessionid);
|
||||||
form.append("status", "0");
|
form.append("status", "0");
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
/!\ : Cette fonction a besoin d'un token actif
|
||||||
|
*/
|
||||||
|
|
||||||
|
if (String(stored_cookie) === String("")) {
|
||||||
|
alert(" La session n'est plus valide");
|
||||||
|
history.push("/Connexion");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/GetAllClassStagiaire/";
|
var myurl = process.env.REACT_APP_API_URL + "myclass/api/GetAllClassStagiaire/";
|
||||||
|
|
||||||
fetch(myurl,
|
fetch(myurl,
|
||||||
|
@ -1042,6 +1055,17 @@ function GestionAdministrative(props) {
|
||||||
form.append("session_id", localsessionid);
|
form.append("session_id", localsessionid);
|
||||||
form.append("status", "1");
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/GetAllClassStagiaire/";
|
var myurl = process.env.REACT_APP_API_URL + "myclass/api/GetAllClassStagiaire/";
|
||||||
|
|
||||||
fetch(myurl,
|
fetch(myurl,
|
||||||
|
@ -1054,16 +1078,16 @@ function GestionAdministrative(props) {
|
||||||
//console.log(' GetListeInscrit : Success:', data['message'], "data['status'] = ", data['status']);
|
//console.log(' GetListeInscrit : Success:', data['message'], "data['status'] = ", data['status']);
|
||||||
setGetListePreinscrit_insc_result(data['message']);
|
setGetListePreinscrit_insc_result(data['message']);
|
||||||
setRows_insc(data['message']);
|
setRows_insc(data['message']);
|
||||||
if (String(data['status']) === String("false")) {
|
if (String(data['status']) === String("true")) {
|
||||||
//console.log("erreur rrrr:" + data['status'])
|
//console.log("erreur rrrr:" + data['status'])
|
||||||
setGetListePreinscrit_insc_api("false");
|
setGetListePreinscrit_insc_api("true");
|
||||||
|
|
||||||
} else if (String(data['status']) === String("Err_Connexion")) {
|
} else if (String(data['status']) === String("Err_Connexion")) {
|
||||||
alert('Erreur: ' + data['message']);
|
alert('Erreur: ' + data['message']);
|
||||||
history.push("/Connexion");
|
history.push("/Connexion");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
setGetListePreinscrit_insc_api("true");
|
setGetListePreinscrit_insc_api("false");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1089,6 +1113,17 @@ function GestionAdministrative(props) {
|
||||||
form.append("class_internal_url", internal_url);
|
form.append("class_internal_url", internal_url);
|
||||||
form.append("session_id", localsessionid);
|
form.append("session_id", localsessionid);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
/!\ : Cette fonction a besoin d'un token actif
|
||||||
|
*/
|
||||||
|
|
||||||
|
if (String(stored_cookie) === String("")) {
|
||||||
|
alert(" La session n'est plus valide ");
|
||||||
|
history.push("/Connexion");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/GetTableauEmargement/";
|
var myurl = process.env.REACT_APP_API_URL + "myclass/api/GetTableauEmargement/";
|
||||||
|
|
||||||
fetch(myurl,
|
fetch(myurl,
|
||||||
|
@ -1136,6 +1171,17 @@ function GestionAdministrative(props) {
|
||||||
form.append("token", stored_cookie);
|
form.append("token", stored_cookie);
|
||||||
form.append("session_id", localsessionid);
|
form.append("session_id", localsessionid);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
/!\ : Cette fonction a besoin d'un token actif
|
||||||
|
*/
|
||||||
|
|
||||||
|
if (String(stored_cookie) === String("")) {
|
||||||
|
alert(" La session n'est plus valide ");
|
||||||
|
history.push("/Connexion");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/GetListEvaluation_Session/";
|
var myurl = process.env.REACT_APP_API_URL + "myclass/api/GetListEvaluation_Session/";
|
||||||
|
|
||||||
fetch(myurl,
|
fetch(myurl,
|
||||||
|
@ -1187,6 +1233,21 @@ function GestionAdministrative(props) {
|
||||||
const [selectedsession_date_du, setselectedsession_date_du] = useState(new Date());
|
const [selectedsession_date_du, setselectedsession_date_du] = useState(new Date());
|
||||||
const [selectedsession_date_au, setselectedsession_date_au] = useState(new Date());
|
const [selectedsession_date_au, setselectedsession_date_au] = useState(new Date());
|
||||||
function handleChangeSession(event) {
|
function handleChangeSession(event) {
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
/!\ : Cette fonction a besoin d'un token actif
|
||||||
|
*/
|
||||||
|
|
||||||
|
//form.append("token","K3cw63eKokKSbV4spjQ48SUNnfy80yrXfA");
|
||||||
|
const stored_cookie = getCookie('tokenmysypart');
|
||||||
|
if (String(stored_cookie) === String("")) {
|
||||||
|
alert(" La session n'est plus valide ");
|
||||||
|
history.push("/Connexion");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
setreduction_session("0");
|
setreduction_session("0");
|
||||||
setsessionChanged(false);
|
setsessionChanged(false);
|
||||||
clearSessionFields();
|
clearSessionFields();
|
||||||
|
|
|
@ -285,7 +285,7 @@ function PaymentMethode(props) {
|
||||||
<TextField
|
<TextField
|
||||||
required
|
required
|
||||||
|
|
||||||
label="Nom inscrit sur la carte"
|
label="Nom inscrit sur la carte "
|
||||||
name="nom_carte"
|
name="nom_carte"
|
||||||
value={(JSON.parse(props.mypaymentmode).nom_carte)}
|
value={(JSON.parse(props.mypaymentmode).nom_carte)}
|
||||||
className="texte_area"
|
className="texte_area"
|
||||||
|
|
|
@ -276,6 +276,7 @@ function PaymentMethodeNoConnect(props) {
|
||||||
label="Nom inscrit sur la carte"
|
label="Nom inscrit sur la carte"
|
||||||
name="nom_carte"
|
name="nom_carte"
|
||||||
className="texte_area_carte"
|
className="texte_area_carte"
|
||||||
|
|
||||||
sx={{ m: 1, width: '95%' }}
|
sx={{ m: 1, width: '95%' }}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
background: "#ECEFF1";
|
background: "#ECEFF1";
|
||||||
color: black;
|
color: black;
|
||||||
float: left;
|
float: left;
|
||||||
|
margin-bottom: 1rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.texte_area_adress {
|
.texte_area_adress {
|
||||||
|
@ -210,6 +211,7 @@
|
||||||
background: "#ECEFF1";
|
background: "#ECEFF1";
|
||||||
color: black;
|
color: black;
|
||||||
float: left;
|
float: left;
|
||||||
|
margin-bottom: 1rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.texte_area_adress {
|
.texte_area_adress {
|
||||||
|
@ -380,6 +382,7 @@
|
||||||
background: "#ECEFF1";
|
background: "#ECEFF1";
|
||||||
color: black;
|
color: black;
|
||||||
float: left;
|
float: left;
|
||||||
|
margin-bottom: 1rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.texte_area_adress {
|
.texte_area_adress {
|
||||||
|
@ -550,6 +553,7 @@
|
||||||
background: "#ECEFF1";
|
background: "#ECEFF1";
|
||||||
color: black;
|
color: black;
|
||||||
float: left;
|
float: left;
|
||||||
|
margin-bottom: 1rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.texte_area_adress {
|
.texte_area_adress {
|
||||||
|
@ -681,6 +685,14 @@
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root{
|
||||||
|
padding-left: 10px !important;
|
||||||
|
padding-right: 10px !important;
|
||||||
|
}
|
||||||
|
.css-o9k5xi-MuiInputBase-root-MuiOutlinedInput-root{
|
||||||
|
height: 3rem !important;
|
||||||
|
margin-bottom: 1rem !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.css-1ptx2yq-MuiInputBase-root-MuiInput-root{
|
.css-1ptx2yq-MuiInputBase-root-MuiInput-root{
|
||||||
|
|
|
@ -299,6 +299,8 @@
|
||||||
font-family: "verdana", "Quicksand", "Signika", sans-serif;
|
font-family: "verdana", "Quicksand", "Signika", sans-serif;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
padding-left: 0;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.div_row_create_account:hover {
|
.div_row_create_account:hover {
|
||||||
|
@ -682,7 +684,7 @@
|
||||||
float: center;
|
float: center;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
border-width: 0.01rem;
|
border-width: 0.01rem;
|
||||||
width: 22rem;
|
width: 23rem;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
|
@ -693,11 +695,13 @@
|
||||||
font-family: "verdana", "Quicksand", "Signika", sans-serif;
|
font-family: "verdana", "Quicksand", "Signika", sans-serif;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
padding-left: 0;
|
||||||
|
letter-spacing: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.div_row_create_account:hover {
|
.div_row_create_account:hover {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.div_centre {
|
.div_centre {
|
||||||
|
@ -1261,7 +1265,7 @@
|
||||||
float: center;
|
float: center;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
border-width: 0.01rem;
|
border-width: 0.01rem;
|
||||||
width: 22rem;
|
width: 23rem;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
|
@ -1272,11 +1276,13 @@
|
||||||
font-family: "verdana", "Quicksand", "Signika", sans-serif;
|
font-family: "verdana", "Quicksand", "Signika", sans-serif;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
padding-left: 0;
|
||||||
|
letter-spacing: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.div_row_create_account:hover {
|
.div_row_create_account:hover {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.div_centre {
|
.div_centre {
|
||||||
|
@ -1897,7 +1903,7 @@
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
//border: 1px solid black;
|
//border: 1px solid black;
|
||||||
border-width: 0.01rem;
|
border-width: 0.01rem;
|
||||||
width: 22rem;
|
width: 23rem;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
|
@ -1908,11 +1914,13 @@
|
||||||
font-family: "verdana", "Quicksand", "Signika", sans-serif;
|
font-family: "verdana", "Quicksand", "Signika", sans-serif;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
padding-left: 0;
|
||||||
|
letter-spacing: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.div_row_create_account:hover {
|
.div_row_create_account:hover {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.connect {
|
.connect {
|
||||||
|
|
|
@ -1709,7 +1709,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.css-1yq5fb3-MuiButtonBase-root-MuiIconButton-root{
|
.css-1yq5fb3-MuiButtonBase-root-MuiIconButton-root{
|
||||||
margin-right: 1rem !important;
|
margin-right: 10px !important;
|
||||||
padding: 0px !important;
|
padding: 0px !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1718,4 +1718,12 @@
|
||||||
max-height: 2.5rem !important;
|
max-height: 2.5rem !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.css-i4bv87-MuiSvgIcon-root{
|
||||||
|
font-size: medium !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.css-1laqsz7-MuiInputAdornment-root{
|
||||||
|
padding-right: 10px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue