32 lines
1.2 KiB
PHP
32 lines
1.2 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['p_codePrestataire_C'];
|
|
$numeroFeuilleMaladie = $_SESSION['p_numeroFeuilleMaladie_C'];
|
|
$numeroBonKine = $_SESSION['p_numeroBonKine_C'];
|
|
|
|
$prescription = $this->prescription->getprescription_sea($numeroBonKine);
|
|
|
|
$garantieadherent_temp = $this->prestation->afficher_garantieadherent_temp();
|
|
|
|
$limite_beneficiaire = $this->prestation->getLimitesBeneficiaireTemp();
|
|
|
|
$this->genererVueAjax(array('prescription' => $prescription, 'garantieadherent_temp' => $garantieadherent_temp,
|
|
'limite_beneficiaire' => $limite_beneficiaire));
|
|
}
|
|
} |