From 8f79ad53a34375bba75c15fcbe6bf12173751b63 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 18 Feb 2026 11:55:26 +0000 Subject: [PATCH] a --- Modele/Carteassure.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Modele/Carteassure.php b/Modele/Carteassure.php index 90b6b967..ad4eccb5 100755 --- a/Modele/Carteassure.php +++ b/Modele/Carteassure.php @@ -277,11 +277,17 @@ class Carteassure extends Modele { public function revoquer_carte($idHtagcarte, $motifRevocation) { - $user = $_SESSION['login']; + $user = $_SESSION['login']; - $sql = 'CALL sp_confirmer_liste_carte_editee(?, ?, ?, ?);'; + $sql = 'CALL sp_revoquer_carte(?, ?, ?);'; - $this->executerRequete($sql, array($codeSociete, $idPolice, $user, $idSaisie)); + $this->executerRequete($sql, array($idHtagcarte, $user, $motifRevocation)); } - + + CALL sp_revoquer_carte +( + '19', -- p_idHtagcarte BIGINT, + 'kane', -- p_user VARCHAR(50), + 'TEST REVOCATION' -- p_motifRevocation VARCHAR(255) +); } \ No newline at end of file