35 lines
1.1 KiB
PHP
35 lines
1.1 KiB
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Prestationactes.php';
|
|
require_once 'Modele/Feuillemaladie.php';
|
|
|
|
class ControleurAjaxbtnavishospitalisation extends Controleur {
|
|
private $feuillemaladie;
|
|
private $prestation;
|
|
|
|
public function __construct() {
|
|
$this->feuillemaladie = new Feuillemaladie();
|
|
$this->prestation = new Prestationactes();
|
|
}
|
|
|
|
public function index() {
|
|
|
|
$codeGarantie = "HOS";
|
|
|
|
$datePrestation = $_SESSION['datePrestation'];
|
|
|
|
$numeroFeuilleMaladie = $_SESSION['p_numeroFeuilleMaladie_C'];
|
|
$codePrestataire = $_SESSION['p_codePrestataire_C'];
|
|
|
|
$idBeneficiaire = $_SESSION['p_idBeneficiaire_C'];
|
|
|
|
$feuillemaladie = $this->feuillemaladie->getfeuillemaladie($numeroFeuilleMaladie);
|
|
|
|
//highlight_string("<?php\n\$datas =\n" . var_export($situation, true) . ";\n>");
|
|
|
|
$prestations_total = $this->prestation->getactesmedicauxhospitalisation_total($numeroFeuilleMaladie, $codePrestataire);
|
|
|
|
$this->genererVueAjax(array('prestations_total' => $prestations_total));
|
|
}
|
|
|
|
} |