Import initial du projet Production
This commit is contained in:
29
Controleur/ControleurAjaxverifierfacturepha.php
Normal file
29
Controleur/ControleurAjaxverifierfacturepha.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Prestationactes_temp.php';
|
||||
|
||||
class ControleurAjaxverifierfacturepha 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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user