From 11f0192dd70a1447215b798d173a2920041045d3 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Sat, 18 Apr 2026 16:02:26 +0000 Subject: [PATCH] saze --- Js/fonctions.js | 9 ++++----- Modele/Mouvementassure.php | 2 +- Vue/gabarit.php | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index a2edd82..6d09d2f 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -7290,12 +7290,11 @@ function confirmer_correction(idMvt, idBeneficiaire) success: function(data) { const msg = "Validation reinitialisée avec succès !"; const msgEng = "Validation successfully reset!"; - alert_ebene(msg, msgEng); - /* - setTimeout(() => { + + alert_ebene(msg, msgEng).then(() => { + // Ce code ne s’exécute qu’après clic sur OK modifier_beneficiaire(idBeneficiaire); - }, 200); - */ + }); }, complete: function() { diff --git a/Modele/Mouvementassure.php b/Modele/Mouvementassure.php index bd1bb75..deeff80 100644 --- a/Modele/Mouvementassure.php +++ b/Modele/Mouvementassure.php @@ -29,7 +29,7 @@ class Mouvementassure extends Modele { { $user = $_SESSION['codeUtilisateur']; - $sql = 'call sp_mouvement_rh_reinitvalidation(?);'; + $sql = 'call sp_mouvement_rh_reinitvalidation(?, ?);'; $this->executerRequete($sql, array($idMvt, $user)); } diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 4ddd18e..0e3b509 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -710,7 +710,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +