33 lines
678 B
PHP
33 lines
678 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Seance_temp.php';
|
|
|
|
class ControleurAjaxdetailseance extends Controleur {
|
|
private $seance;
|
|
|
|
public function __construct() {
|
|
$this->seance = new Seance_temp();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$this->genererVueAjax();
|
|
}
|
|
|
|
public function enregistrerseance()
|
|
{
|
|
$codeGestionBon = $this->requete->getParametreFormulaire("codeGestionBon");
|
|
|
|
$this->seance->enregistrerseance($codeGestionBon);
|
|
|
|
}
|
|
|
|
public function majprestationactes()
|
|
{
|
|
$codeTypePrestation = "SEA";
|
|
|
|
$this->seance->majprestationactes($codeTypePrestation);
|
|
|
|
}
|
|
|
|
} |