menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue("Facturerpolice"); $this->beneficiaire = new Beneficiaire(); $this->college = (new Collegepolice())->getListe($_SESSION['idPolice_C']); $this->avenant = new Avenant(); } public function index() { $this->beneficiaire->initfacturationpolice(); $dateDebut = $_SESSION['dateEffet_C']; $dateFin = dateJourSql(); $avenants = $this->avenant->getAvenantAfacturer($dateDebut,$dateFin); $beneficiaires = $this->beneficiaire->afficherDetailFacturationPrime(); $total_a_facturer = $this->beneficiaire->affichertotalfacturationpoliceprime(); $this->genererVue(array('college' => $this->college, 'avenants' => $avenants, 'beneficiaires' => $beneficiaires, 'total_a_facturer' => $total_a_facturer)); } }