37 lines
887 B
PHP
Executable File
37 lines
887 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Client.php';
|
|
|
|
|
|
class ControleurPagetmsouscripteuracte extends Controleur
|
|
{
|
|
private $menuvue;
|
|
private $client;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Pagetmsouscripteuracte');
|
|
|
|
$this->client = new Client();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$clients = $this->client->getListeClient();
|
|
$tmclient = $this->client->getTmclientacte();
|
|
|
|
$codeGarantie = 'HOS';
|
|
|
|
$garanties = $this->client->getgarantiehospit($codeGarantie);
|
|
$chemin = $this->menuvue->getChemin('Pagetmsouscripteuracte');
|
|
|
|
|
|
$this->genererVue(array(
|
|
'clients' => $clients,
|
|
'tmclient' => $tmclient,
|
|
'garanties' => $garanties ,'chemin' => $chemin
|
|
|
|
));
|
|
}
|
|
} |