recette2
parent
12105500c1
commit
2ad11d67c4
|
@ -50,6 +50,8 @@ import ESignDiplayDignedDocument from "./pages/edigndiplaydigneddocument";
|
||||||
import SurveyDocument from "./pages/surveydocument";
|
import SurveyDocument from "./pages/surveydocument";
|
||||||
import UpdateAttendeeList from "./pages/updateattendeelist";
|
import UpdateAttendeeList from "./pages/updateattendeelist";
|
||||||
|
|
||||||
|
import AutomaticQuotation from "./pages/automaticquotation";
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
|
|
||||||
const [screenSizeh, getDimension] = useState({
|
const [screenSizeh, getDimension] = useState({
|
||||||
|
@ -126,6 +128,9 @@ function App() {
|
||||||
|
|
||||||
<Route path="/Survey/:survey_id/" exact component={SurveyDocument} />
|
<Route path="/Survey/:survey_id/" exact component={SurveyDocument} />
|
||||||
<Route path="/UpadateAttendeeList/:client_id/:session_id/:partner_owner_recid/" exact component={UpdateAttendeeList} />
|
<Route path="/UpadateAttendeeList/:client_id/:session_id/:partner_owner_recid/" exact component={UpdateAttendeeList} />
|
||||||
|
|
||||||
|
<Route path="/Automatic-Quotation/:partner_owner_recid/:objid" exact component={AutomaticQuotation} />
|
||||||
|
|
||||||
<Route component={NotFound} />
|
<Route component={NotFound} />
|
||||||
</Switch>
|
</Switch>
|
||||||
</BrowserRouter>
|
</BrowserRouter>
|
||||||
|
|
|
@ -618,7 +618,7 @@ const DisplayDetailClassAction = (props) => {
|
||||||
{(String(action).toLocaleLowerCase() === "inscription" || String(action).toLocaleLowerCase() === "information")
|
{(String(action).toLocaleLowerCase() === "inscription" || String(action).toLocaleLowerCase() === "information")
|
||||||
&& String(action).toLocaleLowerCase() !== "evaluation"
|
&& String(action).toLocaleLowerCase() !== "evaluation"
|
||||||
&& <div className="description detail_element" name='section_info'>
|
&& <div className="description detail_element" name='section_info'>
|
||||||
<Inscription_Information internal_url={classId} action={action} />
|
<Inscription_Information internal_url={classId} action={action} trainig_price={DetailTraining["price"]} />
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -626,7 +626,7 @@ const DisplayDetailClassAction = (props) => {
|
||||||
&& <div className="description detail_element" name='section_info'>
|
&& <div className="description detail_element" name='section_info'>
|
||||||
Zone evaluation : <button> fermer</button>
|
Zone evaluation : <button> fermer</button>
|
||||||
<br />
|
<br />
|
||||||
<Inscription_Information internal_url={classId} action={"evaluation"} eval_token={action} />
|
<Inscription_Information internal_url={classId} action={"evaluation"} eval_token={action} trainig_price={DetailTraining["price"]}/>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -322,9 +322,11 @@ function Inscription_Information(props) {
|
||||||
|
|
||||||
|
|
||||||
CheckEvaluationToken();
|
CheckEvaluationToken();
|
||||||
setclass_sales_price(props.trainig_price);
|
// setclass_sales_price(props.trainig_price);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setclass_sales_price(props.trainig_price);
|
||||||
GetCurrentClass_trainingsession();
|
GetCurrentClass_trainingsession();
|
||||||
GetListOpco();
|
GetListOpco();
|
||||||
|
|
||||||
|
@ -528,6 +530,9 @@ function Inscription_Information(props) {
|
||||||
formData.append('prenom_requester', prenom_requester);
|
formData.append('prenom_requester', prenom_requester);
|
||||||
formData.append('nb_person_info', nb_person_info);
|
formData.append('nb_person_info', nb_person_info);
|
||||||
|
|
||||||
|
formData.append('class_sales_price', class_sales_price);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
formData.append('is_company', is_company);
|
formData.append('is_company', is_company);
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,64 @@
|
||||||
|
import React, { useState, useEffect } from "react";
|
||||||
|
import Navigation from "../components/Navigation";
|
||||||
|
import bannerimg2 from "./../mysy_img/MYSY-LOGO-BLUE.png";
|
||||||
|
import ok_png from "./../mysy_img/Ok_PNG.png";
|
||||||
|
import { Helmet } from "react-helmet";
|
||||||
|
import Footer from "./../components/Fotter";
|
||||||
|
import Header from "./../components/Header";
|
||||||
|
import { useParams } from 'react-router-dom'
|
||||||
|
|
||||||
|
const Automaticquotation = () => {
|
||||||
|
|
||||||
|
const { objid , partner_owner_recid} = useParams();
|
||||||
|
|
||||||
|
const [tempo, settempo] = useState(".");
|
||||||
|
setInterval(check, 2300);
|
||||||
|
|
||||||
|
/*
|
||||||
|
window.setTimeout(function () {
|
||||||
|
window.location.href = process.env.REACT_APP_BASE_URL
|
||||||
|
}, 7000);
|
||||||
|
|
||||||
|
*/
|
||||||
|
function check() {
|
||||||
|
var val = tempo + " .";
|
||||||
|
//alert(" val = "+val);
|
||||||
|
settempo(val);
|
||||||
|
|
||||||
|
}
|
||||||
|
return (
|
||||||
|
<div className="notfound">
|
||||||
|
<div>
|
||||||
|
<Navigation />
|
||||||
|
</div>
|
||||||
|
<Helmet>
|
||||||
|
<title>MySy Training, Emargement</title>
|
||||||
|
<meta name="description" content="Nous sommes une base de données uniquement dediée aux formations et tutoriels" />
|
||||||
|
<meta name="robots" content="index,follow" />
|
||||||
|
<meta name="title" content="Trouver des Formations.Acces libre.Qualité top" />
|
||||||
|
<link rel="canonical" href={`${process.env.REACT_APP_BASE_URL}` + "/Emargement"} />
|
||||||
|
|
||||||
|
</Helmet>
|
||||||
|
<Header />
|
||||||
|
|
||||||
|
|
||||||
|
<div className="div_mobile">
|
||||||
|
<div className="nom_prenom"> Votre devis est en cours de création <img src={ok_png} className="img_ok"/> </div>
|
||||||
|
<div className="nom_prenom">
|
||||||
|
<div>
|
||||||
|
Vous allez être redirigé vers le moteur de recherche dans quelques secondes. {tempo}
|
||||||
|
|
||||||
|
objid = {objid}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="pieddepage">
|
||||||
|
<Footer />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Automaticquotation;
|
Loading…
Reference in New Issue