31 lines
845 B
PHP
Executable File
31 lines
845 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
|
|
require_once 'Modele/Typeapporteur.php';
|
|
require_once 'Modele/Police.php';
|
|
|
|
class ControleurAssuranceindividuelle extends Controleur
|
|
{
|
|
private $typeapporteur;
|
|
private $police;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Assuranceindividuelle');
|
|
|
|
$this->typeapporteur = new Typeapporteur();
|
|
$this->police = new Police();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$idPolice = $_SESSION['idPolice_C'];
|
|
|
|
$typeapporteurs = $this->typeapporteur->getTypeapporteursCommercial();
|
|
|
|
$nb_non_facturees = $this->police->fn_primes_non_facturees_police($idPolice);
|
|
|
|
$this->genererVue(array('typeapporteurs' => $typeapporteurs, 'nb_non_facturees' => $nb_non_facturees));
|
|
}
|
|
} |