41 lines
1.1 KiB
PHP
Executable File
41 lines
1.1 KiB
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
|
|
require_once 'Modele/Prestataire.php';
|
|
require_once 'Modele/Periode.php';
|
|
require_once 'Modele/Exercice.php';
|
|
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
|
|
class ControleurDemandesteglementcpt extends Controleur
|
|
{
|
|
// private $reglement;
|
|
|
|
private $prestataire;
|
|
private $periode;
|
|
private $exercice;
|
|
|
|
private $menuvue;
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Demandesteglementcpt');
|
|
// $this->reglement = new Reglement();
|
|
|
|
$this->prestataire = new Prestataire();
|
|
$this->periode = (new Periode)->getListe();
|
|
$this->exercice = (new Exercice())->getListe();
|
|
|
|
$this->periode2 = (new Periode)->getListe();
|
|
$this->exercice2 = (new Exercice())->getListe();
|
|
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']);
|
|
|
|
$this->genererVue(array('periode' => $this->periode, 'exercice' => $this->exercice,
|
|
'periode2' => $this->periode2, 'exercice2' => $this->exercice2));
|
|
}
|
|
}
|