From 64cbebe020d75e7a10e0f17d19bd0b065c71b1d6 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sun, 29 Mar 2026 06:49:50 +0000 Subject: [PATCH] a --- Controleur/ControleurCreerpolice.php | 10 ++++++++++ Modele/Police.php | 7 ------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Controleur/ControleurCreerpolice.php b/Controleur/ControleurCreerpolice.php index 00eb3886..756c7e2b 100755 --- a/Controleur/ControleurCreerpolice.php +++ b/Controleur/ControleurCreerpolice.php @@ -207,6 +207,16 @@ class ControleurCreerpolice extends Controleur { $numeroPolice = $this->police->formaterNumeroPolice($annee,$dernierNumeroPolice); + var_dump + ( + array( + "annee" => $annee, + "dernierNumeroPolice" => $dernierNumeroPolice, + "numeroPolice" => $numeroPolice, + ) + ); + exit; + $idPolice = $this->police->ajouter($codeSociete, $idClient, $numeroClient, $numeroPolice, $numeroPoliceSociete, $codeTypeContrat, $dateEffet, $dateFin, $dateEcheance, $numeroAvenant, $codeTypeAvenant, $dateAvenant, $codeApporteur, $codeGestionnaire, $dateCre, $userCre, $codeEtatPolice, $codeFractionnement, $codePeriodicite, $tauxCommission, $primeFamille, $primeBeneficiaire, diff --git a/Modele/Police.php b/Modele/Police.php index a3f81592..db87bc96 100755 --- a/Modele/Police.php +++ b/Modele/Police.php @@ -185,13 +185,6 @@ class Police extends Modele { $gestionConfiee = (!empty($codeGcAssureur) && $codeGcAssureur !="AUC" ) ? "1" : "0"; -var_dump -( -array( -"numeroPolice" => $numeroPolice, -) -); -exit; $sql = 'CALL sp_creer_police(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ,? ,?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'; $resultat = $this->executerRequete($sql, array($codeSociete, $idClient, $numeroClient, $numeroPolice, $numeroPoliceSociete, $codeTypeContrat,