20 lines
569 B
PHP
20 lines
569 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Detailprescription.php';
|
|
|
|
class ControleurAjaxdetailordonnance extends Controleur {
|
|
|
|
public function __construct() {
|
|
$this->detailprescription = new Detailprescription();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$numeroBonOrdonnance = $_SESSION['numeroBonOrdonnance_C'];
|
|
|
|
$detailprescriptions = $this->detailprescription->getdetailprescription_pha($numeroBonOrdonnance);
|
|
|
|
$this->genererVueAjax(array('detailprescriptions' => $detailprescriptions));
|
|
}
|
|
|
|
} |