prestation/Controleur/ControleurAjaxactesexclus.php
2025-12-05 10:42:46 +00:00

26 lines
884 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Ententeprealable.php';
class ControleurAjaxactesexclus extends Controleur {
private $ententeprealable;
public function __construct() {
$this->ententeprealable = new Ententeprealable();
}
public function index()
{
$codePrestataire = $this->requete->getParametreFormulaire("codePrestataire");
$codeReponseAutorisation = $this->requete->getParametreFormulaire("codeReponseAutorisation");
$_SESSION['codePrestataire_C'] = $codePrestataire;
$debut = $this->requete->getParametreDate("debut");
$fin = $this->requete->getParametreDate("fin");
$ententeprealables = $this->ententeprealable->getActesExclus($codePrestataire, $codeReponseAutorisation, $debut, $fin);
$this->genererVueAjax(array('ententeprealables' => $ententeprealables));
}
}