prestation/Controleur/ControleurAjaxverifierfactureopt.php
2025-12-05 10:42:46 +00:00

32 lines
1.1 KiB
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Prestationactes_temp.php';
class ControleurAjaxverifierfactureopt extends Controleur {
private $prestations;
public function __construct() {
$this->prestations = new Prestationactes_temp();
}
public function index()
{
$numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie");
$idFacture = $this->requete->getParametreFormulaire("idFacture");
$numeroDecompte = $this->requete->getParametreFormulaire("numeroDecompte");
$_SESSION['numeroFeuilleMaladie_C'] = $numeroFeuilleMaladie;
$_SESSION['idFacture_C'] = $idFacture;
$facture_pop = $this->prestations->get_facture_decompte();
$prestations = $this->prestations->getprestationsfeuille_temp_opt($numeroDecompte, $idFacture);
$prestations_total = $this->prestations->getprestationsfeuille_temp_total();
$this->genererVueAjax(array('facture_pop' => $facture_pop, 'prestations' => $prestations, 'prestations_total' => $prestations_total));
}
}