From 75df8c2f47bbcb90026a59269a55697ee5e3521f Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Tue, 28 Jul 2026 23:31:31 +0000 Subject: [PATCH] a --- Controleur/ControleurAjaxprixseancesea.php | 4 -- Js/fonctions.js | 60 ++++++++++++++++++++++ Vue/Ajaxprixseancesea/index.php | 40 ++++++--------- Vue/Ajaxprixseancesea/raffraichir.php | 40 ++++++--------- Vue/gabarit.php | 2 +- 5 files changed, 95 insertions(+), 51 deletions(-) diff --git a/Controleur/ControleurAjaxprixseancesea.php b/Controleur/ControleurAjaxprixseancesea.php index 64d3c27..53c65e8 100755 --- a/Controleur/ControleurAjaxprixseancesea.php +++ b/Controleur/ControleurAjaxprixseancesea.php @@ -92,8 +92,6 @@ class ControleurAjaxprixseancesea extends Controleur { { $this->feuille->maj_otp($idOtpFacturePrestation, '9'); // incorrect } - - $this->executerAction("raffraichir"); } } @@ -102,8 +100,6 @@ class ControleurAjaxprixseancesea extends Controleur { $codeTypeFacture = "SEA"; $otpValue = mt_rand(100000, 999999); $this->feuille->envoyer_otp($codeTypeFacture, $otpValue); - - $this->executerAction("raffraichir"); } diff --git a/Js/fonctions.js b/Js/fonctions.js index 0d4a801..de3720a 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -29202,3 +29202,63 @@ function init_prolongation_hospit() function handlehistoriqueproformahospitalisation() { listerproformahospitalisation(); } + +function ajax_envoyer_code_otp_sea() +{ + alert("ajax_envoyer_code_otp_sea"); + return; + + $("#infosacte").html('
' + '
'); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxprixseancesea/envoyerotp/", + type : 'post', + error: function(errorData) { + }, + success: function(data) { + }, + complete: function() { + ajaxprixseancesea_raffraichir(); + } + }); +} + +function ajax_verifier_code_otp_sea() +{ + alert("ajax_verifier_code_otp_sea"); + return; + + $("#infosacte").html('
' + '
'); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxprixseancesea/confirmerotp/", + type : 'post', + error: function(errorData) { + }, + success: function(data) { + }, + complete: function() { + ajaxprixseancesea_raffraichir(); + } + }); +} + +function ajaxprixseancesea_raffraichir() +{ + alert("ajaxprixseancesea_raffraichir"); + return; + + // $("#infosacte").html('
' + '
'); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxprixseancesea/raffraichir/", + type : 'post', + error: function(errorData) { + }, + success: function(data) { + $("#infosacte").html(data); + }, + complete: function() { + } + }); +} diff --git a/Vue/Ajaxprixseancesea/index.php b/Vue/Ajaxprixseancesea/index.php index dd4fceb..0854bbd 100755 --- a/Vue/Ajaxprixseancesea/index.php +++ b/Vue/Ajaxprixseancesea/index.php @@ -171,29 +171,23 @@ Index => NAMOGO ?>
- -
- - - - - - - - - - - - - - - - - - -
" /> " /> " />
-
- + + + + + + + + + + + + + + + + +
" /> " /> " />
diff --git a/Vue/Ajaxprixseancesea/raffraichir.php b/Vue/Ajaxprixseancesea/raffraichir.php index f12fd37..a3c1acc 100755 --- a/Vue/Ajaxprixseancesea/raffraichir.php +++ b/Vue/Ajaxprixseancesea/raffraichir.php @@ -171,29 +171,23 @@ raffraichir => KANE ?>
- -
- - - - - - - - - - - - - - - - - - -
" /> " /> " />
-
- + + + + + + + + + + + + + + + + +
" /> " /> " />
diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 645b35f..90a9e44 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -885,7 +885,7 @@ - +