diff --git a/Controleur/ControleurCreeravenant.php b/Controleur/ControleurCreeravenant.php index 9f28449..d2e06f8 100644 --- a/Controleur/ControleurCreeravenant.php +++ b/Controleur/ControleurCreeravenant.php @@ -46,6 +46,10 @@ class ControleurCreeravenant extends Controleur { else if($codeTypeAvenant=="INC") { + $this->police->creeravenant($idPolice, $codeTypeAvenant, $motifavenant, $dateAvenant); + + $this->police->getContexteAjaxPolice($idPolice); + $this->rediriger("Listeadherent"); } }