35 lines
869 B
PHP
Executable File
35 lines
869 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Police.php';
|
|
|
|
|
|
class ControleurPagetmpoliceacte extends Controleur
|
|
{
|
|
private $menuvue;
|
|
private $police;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Pagetmpoliceacte');
|
|
|
|
$this->police = new Police();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$polices = $this->police->getListePoliceTarifAutre();
|
|
$tmpolice = $this->police->getTmpoliceacte();
|
|
|
|
$codeGarantie = "HOS";
|
|
$garanties = $this->police->getgarantiehospit($codeGarantie);
|
|
$chemin = $this->menuvue->getChemin('Pagetmpoliceacte');
|
|
|
|
$this->genererVue(array(
|
|
'polices' => $polices,
|
|
'tmpolice' => $tmpolice,
|
|
'garanties' => $garanties ,'chemin' => $chemin
|
|
|
|
));
|
|
}
|
|
} |