garant/Controleur/ControleurAjaxprixseancesea.php
2025-12-05 10:57:03 +00:00

29 lines
1.0 KiB
PHP
Executable File

<?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));
}
}