This commit is contained in:
KANE LAZENI 2026-02-18 11:55:26 +00:00
parent 3708c7c084
commit 8f79ad53a3

View File

@ -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)
);
}