29 lines
1.0 KiB
PHP
29 lines
1.0 KiB
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Seance_temp.php';
|
|
require_once 'Modele/Prestationactes.php';
|
|
|
|
class ControleurAjaxprixseancesea extends Controleur {
|
|
|
|
public function __construct() {
|
|
$this->prescription = new Seance_temp();
|
|
$this->prestation = new Prestationactes();
|
|
}
|
|
|
|
public function index() {
|
|
$codeActe = $this->requete->getParametreFormulaire("codeActe");
|
|
$quantite = $this->requete->getParametreFormulaire("quantite", "numerique");
|
|
|
|
$this->prescription->modifierseancesea($codeActe, $quantite);
|
|
|
|
$codePrestataire = $_SESSION['codePrestataire_C'];
|
|
$numeroFeuilleMaladie = $_SESSION['numeroFeuilleMaladie_C'];
|
|
$numeroBonKine = $_SESSION['numeroBonKine_C'];
|
|
|
|
$prescription = $this->prescription->getprescription_sea($numeroBonKine);
|
|
|
|
$garantieadherent_temp = $this->prestation->afficher_garantieadherent_temp();
|
|
|
|
$this->genererVueAjax(array('prescription' => $prescription, 'garantieadherent_temp' => $garantieadherent_temp));
|
|
}
|
|
} |