prestation/Controleur/ControleurAjaxsituationproformahospit.php
2026-07-09 11:49:31 +00:00

33 lines
1.0 KiB
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Detailtarifacte.php';
require_once 'Modele/Garantiesbaremepriseencharge.php';
class ControleurAjaxsituationproformahospit extends Controleur {
private $acte;
private $garantie;
public function __construct() {
$this->acte = new Detailtarifacte();
$this->garantie = new Garantiesbaremepriseencharge();
}
public function index()
{
$codeActe = $this->requete->getParametreFormulaire("codeActe");
$datePrestation = $this->requete->getParametreDate("datePrestation");
$idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire");
$codeGarantie = "HOS";
$this->garantie->getsourcebaremegarantienew($idBeneficiaire, $codeGarantie, $datePrestation);
$statut = $this->garantie->getstatutproformahospit($idBeneficiaire, $codeActe, $codeGarantie, $datePrestation);
echo "après getstatutproformahospit";
exit();
$this->genererVueAjax(array('statut' => $statut));
}
}