a
This commit is contained in:
parent
85ebc1643a
commit
a761c37e61
|
|
@ -218,7 +218,7 @@ class ControleurAjaximporterlisteassure extends Controleurrequete
|
||||||
public function traiterlignesimportees()
|
public function traiterlignesimportees()
|
||||||
{
|
{
|
||||||
$idPolice = $_SESSION['idPolice_C'];
|
$idPolice = $_SESSION['idPolice_C'];
|
||||||
$avenants = $this->avenant->getAvenant($idPolice);
|
$avenants = $this->avenant->getAvenantClient($idPolice);
|
||||||
|
|
||||||
$this->genererVueAjax(array('avenants' => $avenants));
|
$this->genererVueAjax(array('avenants' => $avenants));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,15 @@ class Avenant extends Modele {
|
||||||
|
|
||||||
public function getAvenant($idPolice)
|
public function getAvenant($idPolice)
|
||||||
{
|
{
|
||||||
// $sql = 'call sp_avenants_police(?)';
|
$sql = 'call sp_avenants_police(?)';
|
||||||
|
|
||||||
|
$resultat = $this->executerRequete($sql, array($idPolice));
|
||||||
|
|
||||||
|
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getAvenantClient($idPolice)
|
||||||
|
{
|
||||||
$sql = 'call sp_avenants_police_client(?)';
|
$sql = 'call sp_avenants_police_client(?)';
|
||||||
|
|
||||||
$resultat = $this->executerRequete($sql, array($idPolice));
|
$resultat = $this->executerRequete($sql, array($idPolice));
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
$this->titre = "Intersanté - Médicaments soumis à entente préalable";
|
$this->titre = "Intersanté - Mouvements sur les assurés";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<input class="form-control" style="text-align: center; font-size:10pt;" type="text" id="nbligne" name="nbligne" value="MEDICAMENTS SOUMIS A ENTENTE PREALABLE" readonly>
|
<input class="form-control" style="text-align: center; font-size:10pt;" type="text" id="nbligne" name="nbligne" value="ENTREES SORTIE DES ASSURES" readonly>
|
||||||
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user