a
This commit is contained in:
26
Controleur/ControleurSyntheseconsopolice.php
Normal file
26
Controleur/ControleurSyntheseconsopolice.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Police.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
|
||||
class ControleurSyntheseconsopolice extends Controleur {
|
||||
private $sppolice;
|
||||
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue("Syntheseconsopolice");
|
||||
|
||||
$this->sppolice = new Police();
|
||||
}
|
||||
public function index()
|
||||
{
|
||||
$idPolice = $_SESSION['idPolice_C'];
|
||||
|
||||
$dj = date("Y-m-d");
|
||||
|
||||
$sppoliceentete = $this->sppolice->getRapportSpPoliceEntete($idPolice, $dj);
|
||||
|
||||
$this->genererVue(array('sppoliceentete' => $sppoliceentete));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user