24 lines
765 B
PHP
Executable File
24 lines
765 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Prestataire.php';
|
|
require_once 'Modele/Statistique.php';
|
|
require_once 'Modele/Police.php';
|
|
require_once 'Modele/Gestionconfiee.php';
|
|
|
|
class ControleurAjaxrequeteentetefacturejour extends Controleur {
|
|
private $prestataire;
|
|
|
|
public function __construct() {
|
|
$this->prestataire = new Prestataire();
|
|
$this->garant = new Gestionconfiee();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$prestataire_courant = $this->prestataire->getPrestataireCode($_SESSION['codePrestataire_C']);
|
|
$garants = $this->garant->getListe();
|
|
$polices = array();
|
|
|
|
$this->genererVueAjax(array('prestataire_courant' => $prestataire_courant,'garants' =>$garants, 'polices' =>$polices));
|
|
}
|
|
} |