116 lines
5.2 KiB
PHP
Executable File
116 lines
5.2 KiB
PHP
Executable File
<?php $this->titre = "INTER-SANTE - Livraison Médicaments";
|
|
$numeroBonOrdonnance = $_SESSION['p_numeroBonOrdonnance_C'];
|
|
$prestataireLivraison = $this->nettoyer($prescription['prestataireLivraison']);
|
|
$prestatairePrescription = $this->nettoyer($prescription['prestatairePrescription']);
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
<input style='text-align:center; font-size:11pt;' class="form-control" type="text"
|
|
value="<?= _("Livraison de médicaments") . " => " . _("Prestataire") . " : " . $prestataireLivraison . " => " . _("Feuille Maladie") . " : " . $_SESSION['p_numeroFeuilleMaladie_C'] ?>" readonly >
|
|
|
|
|
|
<table class="table table-responsive table-condensed" style='font-size:9pt;' >
|
|
<tbody>
|
|
<tr>
|
|
<td width="7%" > <?= _("No Ordonn") ?> </td>
|
|
<td width="10%"> <INPUT style='text-align:center; font-size:11pt; background-color:blue;color:white;' class="form-control" TYPE="text" id="numeroBonOrdonnance"
|
|
name="numeroBonOrdonnance" value="<?= $numeroBonOrdonnance ?>" readonly >
|
|
</td>
|
|
|
|
|
|
<td width="10%" align="center" > Date Prescr </td>
|
|
<td width="10%" > <INPUT class="form-control" TYPE="text" value="<?= dateLang($this->nettoyer($prescription['datePrescription'])) ?>" readonly style="text-align: center; font-size:9pt;" > </td>
|
|
|
|
<td width="7%" align="center"> <?= _("Médecin") ?> </td>
|
|
<td> <INPUT class="form-control" TYPE="text" value="<?= $this->nettoyer($prescription['medecinPrescription']) ?>" readonly style='font-size:9pt;'> </td>
|
|
|
|
<td width="7%" align="center"> <?= _("Tél Méd") ?> </td>
|
|
<td width="15%"> <INPUT class="form-control" TYPE="text" value="<?= $this->nettoyer($prescription['telephoneMedecin']) ?>" readonly style='font-size:9pt;'> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="alert alert-danger" style="height:38px; padding:5px;" >
|
|
<H4><?= _("Prescrit à").": ". $prestatairePrescription ?></H4>
|
|
</div>
|
|
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:9pt;'>
|
|
<thead>
|
|
<tr>
|
|
<th width="50%" > <?= _("Médicaments") ?> </th>
|
|
<th width="5%" style="text-align:center"> Forme </th>
|
|
<th width="10%" style="text-align:center"> <?= _("Prix Unitaire") ?> </th>
|
|
<th width="5%" style="text-align:center"> <?= _("Qté") ?> </th>
|
|
<th width="10%" style="text-align:center"> <?= _("Prix Total") ?> </th>
|
|
<th width="10%" style="text-align:center"> <?= _("T M") ?> </th>
|
|
<th width="10%" style="text-align:center"> <?= _("A Remb") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="4" style='text-align:center'> Total </td>
|
|
<td align='center'><?= format_N($this->nettoyer($prescription['prixManuel'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($prescription['montantTm'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($prescription['montantArembourser'])) ?></td>
|
|
</tr>
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
<?php foreach ($detaillivres as $detaillivre):
|
|
$idLivre=$this->nettoyer($detaillivre['id']);
|
|
$substituable = $this->nettoyer($detaillivre['substituable']);
|
|
$substitue = $this->nettoyer($detaillivre['substitue']);
|
|
$ajPharmacie = $this->nettoyer($detaillivre['ajPharmacie']);
|
|
$typeSysteme = $this->nettoyer($detaillivre['typeSysteme']);
|
|
$forme = $this->nettoyer($detaillivre['forme']);
|
|
if (est_anglophone()){
|
|
$forme = $this->nettoyer($detaillivre['formeEng']);
|
|
}
|
|
?>
|
|
<?php if($ajPharmacie=="1") : ?>
|
|
<tr valign="top" style="background-color: rgb(0, 142, 142);">
|
|
<?php else: ?>
|
|
<?php if($typeSysteme=="1") : ?>
|
|
<tr valign="top" style="background-color: red; color:white;">
|
|
<?php else: ?>
|
|
<tr valign="top">
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
<?php if($substitue=="1") : ?>
|
|
<td style="background-color: yellow;"> <?= $this->nettoyer($detaillivre['nomSubstitut']) ?> </td>
|
|
<?php else: ?>
|
|
<td> <?= $this->nettoyer($detaillivre['libelleMedicament']) ?> </td>
|
|
<?php endif; ?>
|
|
|
|
<td align='center'> <?= $forme ?> </td>
|
|
<td align='center'> <?= format_N($this->nettoyer($detaillivre['valeurActeManuel'])) ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($detaillivre['quantite']) ?> </td>
|
|
<td align='center'> <?= format_N($this->nettoyer($detaillivre['prixManuel'])) ?> </td>
|
|
<td align='center'> <?= format_N($this->nettoyer($detaillivre['montantTm'])) ?> </td>
|
|
<td align='center'> <?= format_N($this->nettoyer($detaillivre['montantArembourser'])) ?> </td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
<tr style='background-color:white'>
|
|
<td colspan="7" height="5"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div id="recap">
|
|
<table class="table table-responsive table-condensed" style='font-size:12pt;' >
|
|
<tbody>
|
|
<tr>
|
|
<td > <?= _("Dépas") ?> </td>
|
|
<td > <INPUT class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($prescription['fraisExclu'])) ?>" readonly style="text-align: center; font-size:12pt; color:red;" > </td>
|
|
|
|
<td align="center" > <?= _("Retenu") ?> </td>
|
|
<td > <INPUT class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($prescription['fraisRetenu'])) ?>" readonly style="text-align: center; font-size:12pt; color:blue;" > </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|