menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Remboursementclassiquepolice'); $this->facture = new Facture(); $this->police = new Police(); } public function index() { $idPolice = "0";//$_SESSION['idPolice_C']; $d1 = $_SESSION['dUneSemaineAvant_C']; $d2 = date('Y-m-d'); if($idPolice > "0"){ $factures = $this->facture->getfacturesclassiquepolice($idPolice, $d1, $d2); }else{ $factures = null; } $polices = $this->police->getListePoliceAvecBeneficiaire(); $this->genererVue(array('factures' => $factures, 'polices' => $polices, 'idPolice' => $idPolice)); } }