24/02/23 - 2323
parent
99474812e8
commit
ffe6a057cc
|
@ -288,11 +288,11 @@ const Formation = (props) => {
|
||||||
<div className="div_row">
|
<div className="div_row">
|
||||||
|
|
||||||
<div className="div_row_gauche" style={{ "marginTop": "5px" }}>
|
<div className="div_row_gauche" style={{ "marginTop": "5px" }}>
|
||||||
{ props.formation.note && String(props.formation.note).length === 1 &&
|
{props.formation.note && String(props.formation.note).length === 1 &&
|
||||||
parseInt(String(props.formation.note)) <=5 &&
|
parseInt(String(props.formation.note)) <= 5 &&
|
||||||
|
|
||||||
<Rating name="half-rating-read" defaultValue={props.formation.note} precision={0.5} readOnly />
|
<Rating name="half-rating-read" defaultValue={props.formation.note} precision={0.5} readOnly />
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<div className="div_row_droite div_row_droite_cpf">
|
<div className="div_row_droite div_row_droite_cpf">
|
||||||
<div className="block_cpf">
|
<div className="block_cpf">
|
||||||
|
@ -321,7 +321,7 @@ const Formation = (props) => {
|
||||||
|
|
||||||
<div className="div_row row_formation_title">
|
<div className="div_row row_formation_title">
|
||||||
<p className="p_class training_title">
|
<p className="p_class training_title">
|
||||||
<b>
|
<b>
|
||||||
{String(parse(String(props.formation.title).replace(/(<([^>]+)>)/ig, ''))).substring(0, 100)}
|
{String(parse(String(props.formation.title).replace(/(<([^>]+)>)/ig, ''))).substring(0, 100)}
|
||||||
</b>
|
</b>
|
||||||
|
|
||||||
|
@ -340,11 +340,26 @@ const Formation = (props) => {
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
{String(props.formation.price).length != 9 && String(props.formation.price) !== String("0") &&
|
{String(props.formation.price).length != 9 && String(props.formation.price) !== String("0") && !props.formation.business_prices &&
|
||||||
<div className="training_price">{props.formation.price} € HT
|
<div className="training_price">{props.formation.price} € HT
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{String(props.formation.price).length != 9 && String(props.formation.price) !== String("0") && props.formation.business_prices &&
|
||||||
|
<div className="training_price">
|
||||||
|
<nav className="discounted_price">{String(props.formation.business_prices[0].discounted_price)} € HT</nav>
|
||||||
|
<nav className="training_price_barre">
|
||||||
|
{props.formation.price} € HT
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<nav className="discount_block"> (- {String(props.formation.business_prices[0].discount)} % )
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -367,7 +382,7 @@ const Formation = (props) => {
|
||||||
|
|
||||||
{props.formation.duration_unit &&
|
{props.formation.duration_unit &&
|
||||||
<div style={{ "width": "100%" }}>
|
<div style={{ "width": "100%" }}>
|
||||||
<div className="criteres ftion_tab_gauche">Durée
|
<div className="criteres ftion_tab_gauche">Durée
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{String(props.formation.duration_unit) === "heure" &&
|
{String(props.formation.duration_unit) === "heure" &&
|
||||||
|
@ -386,7 +401,7 @@ const Formation = (props) => {
|
||||||
{props.formation.duration} jr(s)
|
{props.formation.duration} jr(s)
|
||||||
</div>}
|
</div>}
|
||||||
|
|
||||||
{String(props.formation.duration_unit) === "mois" &&
|
{String(props.formation.duration_unit) === "mois" &&
|
||||||
<div className="criteres ftion_tab_droite">
|
<div className="criteres ftion_tab_droite">
|
||||||
{props.formation.duration} mois(s)
|
{props.formation.duration} mois(s)
|
||||||
</div>}
|
</div>}
|
||||||
|
|
|
@ -145,6 +145,7 @@ function Pricing() {
|
||||||
|
|
||||||
const [isaddprice, setisaddprice] = useState();
|
const [isaddprice, setisaddprice] = useState();
|
||||||
function handleAddPriceClick() {
|
function handleAddPriceClick() {
|
||||||
|
Clean_notification();
|
||||||
setisaddprice("1");
|
setisaddprice("1");
|
||||||
setiseditclientprice();
|
setiseditclientprice();
|
||||||
Desable_new_prices_fields();
|
Desable_new_prices_fields();
|
||||||
|
@ -411,7 +412,7 @@ function Pricing() {
|
||||||
|
|
||||||
function Record_new_Price() {
|
function Record_new_Price() {
|
||||||
Clean_notification();
|
Clean_notification();
|
||||||
|
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
const url = process.env.REACT_APP_API_URL + "myclass/api/add_business_price/";
|
const url = process.env.REACT_APP_API_URL + "myclass/api/add_business_price/";
|
||||||
|
|
||||||
|
@ -488,13 +489,14 @@ function Pricing() {
|
||||||
const [Update_Price_result, setUpdate_Price_result] = useState("");
|
const [Update_Price_result, setUpdate_Price_result] = useState("");
|
||||||
const [Update_Price_message, setUpdate_Price_message] = useState("");
|
const [Update_Price_message, setUpdate_Price_message] = useState("");
|
||||||
|
|
||||||
function Clean_notification(){
|
function Clean_notification() {
|
||||||
setRecord_new_Price_api("");
|
setRecord_new_Price_api("");
|
||||||
setRecord_new_Price_result("");
|
setRecord_new_Price_result("");
|
||||||
setRecord_new_Price_message("");
|
setRecord_new_Price_message("");
|
||||||
setDelete_Price_api("");
|
setDelete_Price_api("");
|
||||||
setUpdate_Price_api("");
|
setUpdate_Price_api("");
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function Update_Price() {
|
function Update_Price() {
|
||||||
|
@ -749,14 +751,22 @@ function Pricing() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function update_Price() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
function DataUpdated_exist_price() {
|
function DataUpdated_exist_price() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function cancel_update_price(){
|
||||||
|
|
||||||
|
setiseditclientprice();
|
||||||
|
setisaddprice();
|
||||||
|
Clean_notification();
|
||||||
|
|
||||||
|
GetAPrice_Data(currentlineprice_id);
|
||||||
|
setiseditprice(false);
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="pricing">
|
<div className="pricing">
|
||||||
|
|
||||||
|
@ -775,6 +785,7 @@ function Pricing() {
|
||||||
<div className="koUpdateData"> {Delete_Price_message}</div>}
|
<div className="koUpdateData"> {Delete_Price_message}</div>}
|
||||||
|
|
||||||
{String(iseditclientprice) === "1" && <div>
|
{String(iseditclientprice) === "1" && <div>
|
||||||
|
Modification du prix
|
||||||
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }} onChange={DataUpdated_exist_price}>
|
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }} onChange={DataUpdated_exist_price}>
|
||||||
|
|
||||||
<TextField
|
<TextField
|
||||||
|
@ -811,67 +822,77 @@ function Pricing() {
|
||||||
}}
|
}}
|
||||||
variant="standard"
|
variant="standard"
|
||||||
/>
|
/>
|
||||||
<div className="texte_area">
|
<div className="div_row">
|
||||||
Date Debut
|
<div className="div_row_gauche">
|
||||||
<DatePicker
|
<nav className="my_label"> Date Debut </nav>
|
||||||
name="sessiondatedebut"
|
<DatePicker
|
||||||
id="sessiondatedebut"
|
name="sessiondatedebut"
|
||||||
selected={SessionstartDate}
|
id="sessiondatedebut"
|
||||||
onChange={(date) => {
|
selected={SessionstartDate}
|
||||||
var date_du = new Date(moment(date, "DD/MM/YYYY")).setHours(8, 0, 0);
|
onChange={(date) => {
|
||||||
setSessionstartDate(date_du);
|
var date_du = new Date(moment(date, "DD/MM/YYYY")).setHours(8, 0, 0);
|
||||||
setsessionChanged(true);
|
setSessionstartDate(date_du);
|
||||||
}
|
setsessionChanged(true);
|
||||||
}
|
}
|
||||||
showTimeSelect={false}
|
}
|
||||||
filterTime={filterPassedTime_start}
|
showTimeSelect={false}
|
||||||
dateFormat="dd/MM/yyyy"
|
filterTime={filterPassedTime_start}
|
||||||
className="texte_area"
|
dateFormat="dd/MM/yyyy"
|
||||||
locale='fr-FR'
|
className="texte_area"
|
||||||
|
locale='fr-FR'
|
||||||
|
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="div_row_droite div_row_droite_adapt_date">
|
||||||
|
<nav className="my_label"> Date Fin </nav>
|
||||||
|
<DatePicker
|
||||||
|
name="sessiondatefin"
|
||||||
|
id="sessiondatefin"
|
||||||
|
selected={SessionendDate}
|
||||||
|
onChange={(date) => {
|
||||||
|
var date_au = new Date(moment(date, "DD/MM/YYYY")).setHours(8, 0, 0);
|
||||||
|
setSessionendDate(date_au);
|
||||||
|
setsessionChanged(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
showTimeSelect={false}
|
||||||
|
filterTime={filterPassedTime_end}
|
||||||
|
dateFormat="dd/MM/yyyy"
|
||||||
|
className="texte_area"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="texte_area"> Date Fin
|
|
||||||
<DatePicker
|
|
||||||
name="sessiondatefin"
|
|
||||||
id="sessiondatefin"
|
|
||||||
selected={SessionendDate}
|
|
||||||
onChange={(date) => {
|
|
||||||
var date_au = new Date(moment(date, "DD/MM/YYYY")).setHours(8, 0, 0);
|
|
||||||
setSessionendDate(date_au);
|
|
||||||
setsessionChanged(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
showTimeSelect={false}
|
|
||||||
filterTime={filterPassedTime_end}
|
|
||||||
dateFormat="dd/MM/yyyy"
|
|
||||||
className="texte_area"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
<div className="div_row">
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className="div_row">
|
<div className="div_row">
|
||||||
|
|
||||||
<div className="div_row_gauche">
|
<div className="div_row_gauche">
|
||||||
|
|
||||||
{iseditprice && <Button variant="contained" className="bton_envoyer" onClick={Update_Price}>Mettre à jour le prix
|
{iseditprice && <Button variant="contained" className="btn_enreg" onClick={Update_Price}>Mettre à jour le prix
|
||||||
</Button>}
|
</Button>}
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="div_row_droite">
|
<div className="div_row_droite div_row_droite_adapt_date">
|
||||||
|
|
||||||
{!iseditprice && <Button variant="contained" className="bton_fermer" onClick={EditPrice}>Editer
|
{!iseditprice && <Button variant="contained" className="btn_editer" onClick={EditPrice}>Editer
|
||||||
</Button>}
|
</Button>}
|
||||||
|
|
||||||
{iseditprice && <Button variant="contained" className="bton_envoyer" onClick={"cancel_update"}>Annuler les modifications
|
{iseditprice && <Button variant="contained" className="btn_editer" onClick={cancel_update_price}>Annuler les modifications
|
||||||
</Button>}
|
</Button>}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<div className="div_row">
|
||||||
|
<hr />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -883,112 +904,129 @@ function Pricing() {
|
||||||
<div className="koUpdateData"> {Record_new_Price_message}</div>}
|
<div className="koUpdateData"> {Record_new_Price_message}</div>}
|
||||||
|
|
||||||
{String(isaddprice) === "1" && <div>
|
{String(isaddprice) === "1" && <div>
|
||||||
|
Creation d'un nouveau prix client
|
||||||
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }} onChange={DataUpdated}>
|
<Box alignItems="left" sx={{ '& > :not(style)': { m: 1 }, width: '100%', }} onChange={DataUpdated}>
|
||||||
{GetClient_Linked_result && <div className="field_droite">
|
|
||||||
<select id="selected_client"
|
|
||||||
name="selected_client"
|
|
||||||
value={selectedlinked_client} onChange={changeselectedclient}
|
|
||||||
className="texte_area"
|
|
||||||
style={{
|
|
||||||
"width": "48%", "height": "3rem"
|
|
||||||
|
|
||||||
}}>
|
<div className="div_row">
|
||||||
<option value=""> Choisir </option>
|
<div className="div_row_gauche">
|
||||||
{GetClient_Linked_result.map((option) => (
|
<nav className="my_label"> Client </nav>
|
||||||
<option value={JSON.parse(option).recid}>{JSON.parse(option).nom}</option>
|
{GetClient_Linked_result && <div className="field_droite">
|
||||||
))}
|
<select id="selected_client"
|
||||||
</select>
|
name="selected_client"
|
||||||
</div>}
|
value={selectedlinked_client} onChange={changeselectedclient}
|
||||||
|
|
||||||
|
style={{
|
||||||
|
"width": "90%", "height": "3rem"
|
||||||
|
|
||||||
|
}}>
|
||||||
|
<option value=""> Choisir </option>
|
||||||
|
{GetClient_Linked_result.map((option) => (
|
||||||
|
<option value={JSON.parse(option).recid}>{JSON.parse(option).nom}</option>
|
||||||
|
))}
|
||||||
|
</select>
|
||||||
|
</div>}
|
||||||
|
</div>
|
||||||
|
<div className="div_row_droite div_row_droite_adapt_date">
|
||||||
|
|
||||||
<TextField
|
<TextField
|
||||||
label="Reduction (%)"
|
label="Reduction (%)"
|
||||||
name="new_discount"
|
name="new_discount"
|
||||||
id="new_discount"
|
id="new_discount"
|
||||||
className="texte_area"
|
|
||||||
value={new_discount_val}
|
value={new_discount_val}
|
||||||
onChange={Change_new_discount_val}
|
onChange={Change_new_discount_val}
|
||||||
sx={{ m: 1, width: '48%' }}
|
sx={{ m: 1, width: '90%' }}
|
||||||
InputProps={{
|
InputProps={{
|
||||||
startAdornment: (
|
startAdornment: (
|
||||||
<InputAdornment position="start">
|
<InputAdornment position="start">
|
||||||
<AccountCircle />
|
<AccountCircle />
|
||||||
</InputAdornment>
|
</InputAdornment>
|
||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
variant="standard"
|
variant="standard"
|
||||||
/>
|
style={{"marginLeft":"0px"}}
|
||||||
|
/>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className="texte_area">
|
|
||||||
Date Debut
|
|
||||||
<DatePicker
|
|
||||||
name="new_sessiondatedebut"
|
|
||||||
id="new_sessiondatedebut"
|
|
||||||
selected={New_SessionstartDate}
|
|
||||||
onChange={(date) => {
|
|
||||||
var date_du = new Date(moment(date, "DD/MM/YYYY")).setHours(8, 0, 0);
|
|
||||||
setNew_SessionstartDate(date_du);
|
|
||||||
setsessionChanged(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
showTimeSelect={false}
|
|
||||||
filterTime={filterPassedTime_start}
|
|
||||||
dateFormat="dd/MM/yyyy"
|
|
||||||
className="texte_area"
|
|
||||||
locale='fr-FR'
|
|
||||||
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div className="texte_area"> Date Fin
|
|
||||||
<DatePicker
|
|
||||||
name="new_sessiondatefin"
|
|
||||||
id="new_sessiondatefin"
|
|
||||||
selected={New_SessionendDate}
|
|
||||||
onChange={(date) => {
|
|
||||||
var date_au = new Date(moment(date, "DD/MM/YYYY")).setHours(8, 0, 0);
|
|
||||||
setNew_SessionendDate(date_au);
|
|
||||||
setsessionChanged(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
showTimeSelect={false}
|
|
||||||
filterTime={filterPassedTime_end}
|
|
||||||
dateFormat="dd/MM/yyyy"
|
|
||||||
className="texte_area"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className="div_row">
|
||||||
|
<div className="div_row_gauche">
|
||||||
|
<nav className="my_label"> Date Debut </nav>
|
||||||
|
|
||||||
|
<DatePicker
|
||||||
|
name="new_sessiondatedebut"
|
||||||
|
id="new_sessiondatedebut"
|
||||||
|
selected={New_SessionstartDate}
|
||||||
|
onChange={(date) => {
|
||||||
|
var date_du = new Date(moment(date, "DD/MM/YYYY")).setHours(8, 0, 0);
|
||||||
|
setNew_SessionstartDate(date_du);
|
||||||
|
setsessionChanged(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
showTimeSelect={false}
|
||||||
|
filterTime={filterPassedTime_start}
|
||||||
|
dateFormat="dd/MM/yyyy"
|
||||||
|
className="texte_area"
|
||||||
|
locale='fr-FR'
|
||||||
|
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div className="div_row_droite div_row_droite_adapt_date">
|
||||||
|
|
||||||
|
<nav className="my_label"> Date Fin </nav>
|
||||||
|
<DatePicker
|
||||||
|
name="new_sessiondatefin"
|
||||||
|
id="new_sessiondatefin"
|
||||||
|
selected={New_SessionendDate}
|
||||||
|
onChange={(date) => {
|
||||||
|
var date_au = new Date(moment(date, "DD/MM/YYYY")).setHours(8, 0, 0);
|
||||||
|
setNew_SessionendDate(date_au);
|
||||||
|
setsessionChanged(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
showTimeSelect={false}
|
||||||
|
filterTime={filterPassedTime_end}
|
||||||
|
dateFormat="dd/MM/yyyy"
|
||||||
|
className="texte_area"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
<div className="div_row">
|
||||||
|
</div>
|
||||||
<div className="div_row">
|
<div className="div_row">
|
||||||
|
|
||||||
<div className="div_row_gauche">
|
<div className="div_row_gauche">
|
||||||
|
|
||||||
<Button variant="contained" className="bton_envoyer" onClick={Record_new_Price}>Enregistrer le prix
|
<Button variant="contained" className="btn_enreg" onClick={Record_new_Price}>Enregistrer le prix
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="div_row_droite">
|
<div className="div_row_droite">
|
||||||
|
|
||||||
<Button variant="contained" className="bton_fermer" onClick={Close_Price_windows}>Fermer
|
<Button variant="contained" className="btn_editer" onClick={Close_Price_windows}>Fermer
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<div className="div_row">
|
||||||
|
<hr />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
<hr />
|
||||||
<div className="div_row">
|
<div className="div_row" style={{ "marginBottom": "0px", "marginTop": "1rem" }}>
|
||||||
<Button className="buton_add_price" onClick={handleAddPriceClick}> Ajouter un nouveau prix <AiOutlinePlusCircle /> </Button>
|
<Button className="buton_add_price" onClick={handleAddPriceClick}
|
||||||
|
> Ajouter un nouveau prix <AiOutlinePlusCircle /> </Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<h3> Mes prix client </h3>
|
Mes prix client
|
||||||
{String(menu) === String("default") && GetClienPrices_result && GetClienPrices_result.length > 0 && <div>
|
{String(menu) === String("default") && GetClienPrices_result && GetClienPrices_result.length > 0 && <div>
|
||||||
<div className="titre1">
|
<div className="titre1">
|
||||||
Les prix que vous accordez à vos clients
|
Les prix que vous accordez à vos clients
|
||||||
|
|
|
@ -1375,6 +1375,7 @@ const Recherche_new_v2 = () => {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
myurl = process.env.REACT_APP_API_URL + "myclass/api/recherche_text_simple/";
|
myurl = process.env.REACT_APP_API_URL + "myclass/api/recherche_text_simple/";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1384,7 +1385,7 @@ const Recherche_new_v2 = () => {
|
||||||
axios.post(myurl, form).then(res => {
|
axios.post(myurl, form).then(res => {
|
||||||
if (String(res.data.status) != String("false")) {
|
if (String(res.data.status) != String("false")) {
|
||||||
//console.log(" In test res.data.status = " + res.data.status);
|
//console.log(" In test res.data.status = " + res.data.status);
|
||||||
//console.log(" In test res.data.message = " + res.data.message);
|
console.log(" In test res.data.message = " + res.data.message);
|
||||||
setmyApiResponse("True");
|
setmyApiResponse("True");
|
||||||
setResult(res.data.message)
|
setResult(res.data.message)
|
||||||
|
|
||||||
|
@ -1443,15 +1444,16 @@ const Recherche_new_v2 = () => {
|
||||||
if (typeof (NewSearchText) === "undefined" || String(NewSearchText) === '') {
|
if (typeof (NewSearchText) === "undefined" || String(NewSearchText) === '') {
|
||||||
crit_SearchText = "";
|
crit_SearchText = "";
|
||||||
myurl = process.env.REACT_APP_API_URL + "myclass/api/get_all_class/";
|
myurl = process.env.REACT_APP_API_URL + "myclass/api/get_all_class/";
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
clearsearchtext();
|
clearsearchtext();
|
||||||
crit_SearchText = NewSearchText;
|
crit_SearchText = NewSearchText;
|
||||||
myurl = process.env.REACT_APP_API_URL + "myclass/api/recherche_text_simple/";
|
myurl = process.env.REACT_APP_API_URL + "myclass/api/recherche_text_simple/";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//alert(" crit_SearchText = " + crit_SearchText+" myurl = "+myurl);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var form = new FormData();
|
var form = new FormData();
|
||||||
form.append("search_text", crit_SearchText);
|
form.append("search_text", crit_SearchText);
|
||||||
|
@ -1496,7 +1498,8 @@ const Recherche_new_v2 = () => {
|
||||||
axios.post(myurl, form).then(res => {
|
axios.post(myurl, form).then(res => {
|
||||||
if (String(res.data.status) != String("false")) {
|
if (String(res.data.status) != String("false")) {
|
||||||
//console.log(" In test res.data.status = " + res.data.status);
|
//console.log(" In test res.data.status = " + res.data.status);
|
||||||
//console.log(" In DisplayXfirstClas res.data.message = " + res.data.message);
|
console.log(" In DisplayXfirstClas res.data.message = " + res.data.message);
|
||||||
|
|
||||||
setmyApiResponse("True");
|
setmyApiResponse("True");
|
||||||
setResult(res.data.message)
|
setResult(res.data.message)
|
||||||
// textInput.current.focus();
|
// textInput.current.focus();
|
||||||
|
|
|
@ -1361,6 +1361,59 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.aaatraining_price_barre {
|
||||||
|
color: #619e31;
|
||||||
|
font-size: 1rem;
|
||||||
|
font-family: "Quicksand", "Signika", sans-serif;
|
||||||
|
text-align: left;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
margin-bottom: 0.6rem !important;
|
||||||
|
font-family: 'Albert Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 800;
|
||||||
|
font-size: 18px;
|
||||||
|
line-height: 22px;
|
||||||
|
|
||||||
|
|
||||||
|
font-family: 'Albert Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 800;
|
||||||
|
font-size: 18px;
|
||||||
|
line-height: 22px;
|
||||||
|
/* identical to box height */
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-feature-settings: 'liga' off;
|
||||||
|
|
||||||
|
/* Deep Blue */
|
||||||
|
|
||||||
|
color: #0A043C;
|
||||||
|
|
||||||
|
|
||||||
|
/* Inside auto layout */
|
||||||
|
|
||||||
|
flex: none;
|
||||||
|
order: 2;
|
||||||
|
flex-grow: 0;
|
||||||
|
text-decoration: line-through;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.discounted_price {
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 20px;
|
||||||
|
color: #ff8c00;
|
||||||
|
}
|
||||||
|
|
||||||
|
.training_price_barre {
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 18px;
|
||||||
|
color: #647585;
|
||||||
|
text-decoration: line-through;
|
||||||
|
margin-left: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
.bton_inscris {
|
.bton_inscris {
|
||||||
position: relative;
|
position: relative;
|
||||||
background: red;
|
background: red;
|
||||||
|
@ -1524,5 +1577,13 @@
|
||||||
.row_formation_crit {
|
.row_formation_crit {
|
||||||
min-height: 10rem !important;
|
min-height: 10rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.discount_block{
|
||||||
|
font-weight: 400;
|
||||||
|
margin-left: 1rem;
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// end media
|
||||||
}
|
}
|
|
@ -1,179 +1,212 @@
|
||||||
.pricing {
|
.pricing {
|
||||||
@media only screen and (max-width: 600px) {
|
@media only screen and (max-width: 600px) {
|
||||||
.koUpdateData {
|
.koUpdateData {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
color: red;
|
color: red;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
|
||||||
.okUpdateData {
|
|
||||||
font-size: small;
|
|
||||||
color: green;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div_row {
|
|
||||||
float: left;
|
|
||||||
//border:0px solid black;
|
|
||||||
border-width: 0.01rem;
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div_row_gauche {
|
|
||||||
float: left;
|
|
||||||
//border:0px solid black;
|
|
||||||
border-width: 0.01rem;
|
|
||||||
width: 48%;
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div_row_droite {
|
|
||||||
float: right;
|
|
||||||
//border:0px solid black;
|
|
||||||
border-width: 0.01rem;
|
|
||||||
width: 48%;
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.okUpdateData {
|
||||||
@media only screen and (min-width: 601px) and (max-width: 991px) {
|
font-size: small;
|
||||||
/*style petites-moyennes tablettes */
|
color: green;
|
||||||
|
font-style: italic;
|
||||||
.koUpdateData {
|
|
||||||
font-size: small;
|
|
||||||
color: red;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.okUpdateData {
|
|
||||||
font-size: small;
|
|
||||||
color: green;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div_row {
|
|
||||||
float: left;
|
|
||||||
//border:0px solid black;
|
|
||||||
border-width: 0.01rem;
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div_row_gauche {
|
|
||||||
float: left;
|
|
||||||
//border:0px solid black;
|
|
||||||
border-width: 0.01rem;
|
|
||||||
width: 48%;
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div_row_droite {
|
|
||||||
float: right;
|
|
||||||
//border:0px solid black;
|
|
||||||
border-width: 0.01rem;
|
|
||||||
width: 48%;
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 992px) and (max-width: 1199px) {
|
.div_row {
|
||||||
.koUpdateData {
|
float: left;
|
||||||
font-size: small;
|
//border:0px solid black;
|
||||||
color: red;
|
border-width: 0.01rem;
|
||||||
font-style: italic;
|
width: 100%;
|
||||||
}
|
margin-bottom: 1rem;
|
||||||
.okUpdateData {
|
border-radius: 1rem;
|
||||||
font-size: small;
|
|
||||||
color: green;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div_row {
|
|
||||||
float: left;
|
|
||||||
//border:0px solid black;
|
|
||||||
border-width: 0.01rem;
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div_row_gauche {
|
|
||||||
float: left;
|
|
||||||
//border:0px solid black;
|
|
||||||
border-width: 0.01rem;
|
|
||||||
width: 48%;
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div_row_droite {
|
|
||||||
float: right;
|
|
||||||
//border:0px solid black;
|
|
||||||
border-width: 0.01rem;
|
|
||||||
width: 48%;
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.div_row_gauche {
|
||||||
@media only screen and (min-width: 1200px) {
|
float: left;
|
||||||
.koUpdateData {
|
//border:0px solid black;
|
||||||
font-size: small;
|
border-width: 0.01rem;
|
||||||
color: red;
|
width: 48%;
|
||||||
font-style: italic;
|
border-radius: 1rem;
|
||||||
}
|
|
||||||
.okUpdateData {
|
|
||||||
font-size: small;
|
|
||||||
color: green;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div_row {
|
|
||||||
float: left;
|
|
||||||
//border:0px solid black;
|
|
||||||
border-width: 0.01rem;
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div_row_gauche {
|
|
||||||
float: left;
|
|
||||||
//border:0px solid black;
|
|
||||||
border-width: 0.01rem;
|
|
||||||
width: 48%;
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div_row_droite {
|
|
||||||
float: right;
|
|
||||||
//border:0px solid black;
|
|
||||||
border-width: 0.01rem;
|
|
||||||
width: 48%;
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.buton_add_price{
|
|
||||||
border-radius: 5px;
|
|
||||||
font-size: small;
|
|
||||||
padding: 0.3rem;
|
|
||||||
width: 20%;
|
|
||||||
background: #81BC3A;
|
|
||||||
float: right;
|
|
||||||
margin-right: 10px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.texte_area{
|
|
||||||
width: 48% !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.div_row_droite {
|
||||||
|
float: right;
|
||||||
|
//border:0px solid black;
|
||||||
|
border-width: 0.01rem;
|
||||||
|
width: 48%;
|
||||||
|
border-radius: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
// End media
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media only screen and (min-width: 601px) and (max-width: 991px) {
|
||||||
|
/*style petites-moyennes tablettes */
|
||||||
|
|
||||||
|
.koUpdateData {
|
||||||
|
font-size: small;
|
||||||
|
color: red;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.okUpdateData {
|
||||||
|
font-size: small;
|
||||||
|
color: green;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.div_row {
|
||||||
|
float: left;
|
||||||
|
//border:0px solid black;
|
||||||
|
border-width: 0.01rem;
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
border-radius: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.div_row_gauche {
|
||||||
|
float: left;
|
||||||
|
//border:0px solid black;
|
||||||
|
border-width: 0.01rem;
|
||||||
|
width: 48%;
|
||||||
|
border-radius: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.div_row_droite {
|
||||||
|
float: right;
|
||||||
|
//border:0px solid black;
|
||||||
|
border-width: 0.01rem;
|
||||||
|
width: 48%;
|
||||||
|
border-radius: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 992px) and (max-width: 1199px) {
|
||||||
|
.koUpdateData {
|
||||||
|
font-size: small;
|
||||||
|
color: red;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.okUpdateData {
|
||||||
|
font-size: small;
|
||||||
|
color: green;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.div_row {
|
||||||
|
float: left;
|
||||||
|
//border:0px solid black;
|
||||||
|
border-width: 0.01rem;
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
border-radius: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.div_row_gauche {
|
||||||
|
float: left;
|
||||||
|
//border:0px solid black;
|
||||||
|
border-width: 0.01rem;
|
||||||
|
width: 48%;
|
||||||
|
border-radius: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.div_row_droite {
|
||||||
|
float: right;
|
||||||
|
//border:0px solid black;
|
||||||
|
border-width: 0.01rem;
|
||||||
|
width: 48%;
|
||||||
|
border-radius: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media only screen and (min-width: 1200px) {
|
||||||
|
.koUpdateData {
|
||||||
|
font-size: small;
|
||||||
|
color: red;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.okUpdateData {
|
||||||
|
font-size: small;
|
||||||
|
color: green;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.div_row {
|
||||||
|
float: left;
|
||||||
|
//border:0px solid black;
|
||||||
|
border-width: 0.01rem;
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 0px !important;
|
||||||
|
margin-top: 0px !important;
|
||||||
|
border-radius: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.div_row_gauche {
|
||||||
|
float: left;
|
||||||
|
//border:0px solid black;
|
||||||
|
border-width: 0.01rem;
|
||||||
|
width: 48%;
|
||||||
|
border-radius: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.div_row_droite {
|
||||||
|
float: right;
|
||||||
|
//border:0px solid black;
|
||||||
|
border-width: 0.01rem;
|
||||||
|
width: 48%;
|
||||||
|
border-radius: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.buton_add_price {
|
||||||
|
border-radius: 10rem;
|
||||||
|
padding: 0.3rem;
|
||||||
|
width: 20%;
|
||||||
|
background: #81BC3A;
|
||||||
|
float: right;
|
||||||
|
margin-right: 10px;
|
||||||
|
border: none;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.texte_area {
|
||||||
|
width: 48% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn_editer {
|
||||||
|
width: 15rem;
|
||||||
|
background-color: #212121 !important;
|
||||||
|
color: white;
|
||||||
|
border-radius: 10rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn_enreg {
|
||||||
|
width: 15rem;
|
||||||
|
background-color: green !important;
|
||||||
|
color: white;
|
||||||
|
border-radius: 10rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.my_label {
|
||||||
|
color: rgba(0, 0, 0, 0.6);
|
||||||
|
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: small;
|
||||||
|
line-height: 1.4375em;
|
||||||
|
letter-spacing: 0.00938em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.div_row_droite_adapt_date{
|
||||||
|
padding-left: 1rem;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// End media
|
||||||
}
|
}
|
Loading…
Reference in New Issue