39 lines
1.2 KiB
PHP
39 lines
1.2 KiB
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Police.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Quittance.php';
|
|
|
|
class ControleurAdherents extends Controleur {
|
|
private $police;
|
|
|
|
|
|
|
|
public function __construct()
|
|
{
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue("Adherents");
|
|
|
|
$this->police = new Police();
|
|
$this->quittance = new Quittance();
|
|
|
|
$_SESSION['modeDevis'] = "0";
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$type = $this->police->getListeTypeGarant();
|
|
|
|
$polices = $this->police->getListepolices();
|
|
|
|
$etat = $this->police->getetat();
|
|
|
|
// $beneficiaire = $this->police->getListebeneficiaire(); // Mis en commentaire le 24/03/2025 par KANE
|
|
$beneficiaire = array();
|
|
|
|
// $this->genererVue(array('police' => $police, 'quittances' => $quittances, 'totalquittance' => $totalquittance));
|
|
// $this->genererVue(array( 'polices' => $polices, 'typegc' => $type, 'etat' => $etat, 'beneficiaire' => $beneficiaire ));
|
|
$this->genererVue(array( 'polices' => $polices, 'typegc' => $type, 'etat' => $etat));
|
|
}
|
|
|
|
} |