24 lines
742 B
PHP
Executable File
24 lines
742 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Ententeprealable.php';
|
|
|
|
class ControleurAjaxordonnancebeneficiaire extends Controleur
|
|
{
|
|
private $ententeprealable;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->ententeprealable = new Ententeprealable();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$numeroFeuilleMaladie = $this->requete->getParametreFormulaire("numeroFeuilleMaladie");
|
|
|
|
$prescription = $this->ententeprealable->getprescription($numeroFeuilleMaladie);
|
|
$detailprescriptions = $this->ententeprealable->getdetailprescription($numeroFeuilleMaladie);
|
|
|
|
$this->genererVueAjax(array('detailprescriptions' => $detailprescriptions,
|
|
'prescription' => $prescription));
|
|
}
|
|
} |