30 lines
1.1 KiB
PHP
Executable File
30 lines
1.1 KiB
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Prestationactes_temp.php';
|
|
|
|
class ControleurAjaxverifierfacturephacons 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_pha($numeroDecompte, $idFacture);
|
|
|
|
$prestations_total = $this->prestations->getprestationsfeuille_temp_total();
|
|
|
|
$this->genererVueAjax(array('facture_pop' => $facture_pop, 'prestations' => $prestations, 'prestations_total' => $prestations_total));
|
|
}
|
|
}
|