From 2ad11d67c443d86ae803270e41703b5e2001effb Mon Sep 17 00:00:00 2001 From: cherif Date: Wed, 15 May 2024 19:51:59 +0200 Subject: [PATCH] hh --- src/App.js | 5 ++ src/components/Create_Automatic_Quotation.js | 0 .../DisplayDetailClass_new_Action.js | 4 +- src/components/Inscription_Information.js | 7 +- src/pages/automaticquotation.js | 64 +++++++++++++++++++ 5 files changed, 77 insertions(+), 3 deletions(-) create mode 100644 src/components/Create_Automatic_Quotation.js create mode 100644 src/pages/automaticquotation.js diff --git a/src/App.js b/src/App.js index e7b4150..3a72fcc 100644 --- a/src/App.js +++ b/src/App.js @@ -50,6 +50,8 @@ import ESignDiplayDignedDocument from "./pages/edigndiplaydigneddocument"; import SurveyDocument from "./pages/surveydocument"; import UpdateAttendeeList from "./pages/updateattendeelist"; +import AutomaticQuotation from "./pages/automaticquotation"; + function App() { const [screenSizeh, getDimension] = useState({ @@ -126,6 +128,9 @@ function App() { + + + diff --git a/src/components/Create_Automatic_Quotation.js b/src/components/Create_Automatic_Quotation.js new file mode 100644 index 0000000..e69de29 diff --git a/src/components/DisplayDetailClass_new_Action.js b/src/components/DisplayDetailClass_new_Action.js index b61ed91..38a12cf 100644 --- a/src/components/DisplayDetailClass_new_Action.js +++ b/src/components/DisplayDetailClass_new_Action.js @@ -618,7 +618,7 @@ const DisplayDetailClassAction = (props) => { {(String(action).toLocaleLowerCase() === "inscription" || String(action).toLocaleLowerCase() === "information") && String(action).toLocaleLowerCase() !== "evaluation" &&
- +
} @@ -626,7 +626,7 @@ const DisplayDetailClassAction = (props) => { &&
Zone evaluation :
- +
} diff --git a/src/components/Inscription_Information.js b/src/components/Inscription_Information.js index 7d17782..6c19934 100644 --- a/src/components/Inscription_Information.js +++ b/src/components/Inscription_Information.js @@ -322,9 +322,11 @@ function Inscription_Information(props) { CheckEvaluationToken(); - setclass_sales_price(props.trainig_price); + // setclass_sales_price(props.trainig_price); } + + setclass_sales_price(props.trainig_price); GetCurrentClass_trainingsession(); GetListOpco(); @@ -528,6 +530,9 @@ function Inscription_Information(props) { formData.append('prenom_requester', prenom_requester); formData.append('nb_person_info', nb_person_info); + formData.append('class_sales_price', class_sales_price); + + formData.append('is_company', is_company); diff --git a/src/pages/automaticquotation.js b/src/pages/automaticquotation.js new file mode 100644 index 0000000..bd6adb7 --- /dev/null +++ b/src/pages/automaticquotation.js @@ -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 ( +
+
+ +
+ + MySy Training, Emargement + + + + + + +
+ + +
+
Votre devis est en cours de création
+
+
+ Vous allez être redirigé vers le moteur de recherche dans quelques secondes. {tempo} + + objid = {objid} +
+
+
+
+
+ + +
+ ) +} + +export default Automaticquotation; \ No newline at end of file