72 lines
3.6 KiB
PHP
Executable File
72 lines
3.6 KiB
PHP
Executable File
<?php $this->titre = "INTER-SANTE - Prescription Médicaments";
|
|
$numeroBonOrdonnance = $prescription['numeroBonOrdonnance'];
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
<input style='text-align:center; font-size:11pt;' class="form-control" type="text" value= "<?= _("Informations sur la prescription") . " : " . $_SESSION['numeroPrescription_C']
|
|
. " => " . _("Prestataire") . " : " . $_SESSION['prestataire_C'] . " => " . _("Feuille Maladie") . " : " . $_SESSION['numeroFeuilleMaladie_C'] ?>" readonly >
|
|
|
|
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%" > <?= _("Date Prescription") ?> </td>
|
|
<td width="15%" > <INPUT class="form-control" TYPE="text" value="<?= dateLang($this->nettoyer($prescription['datePrescription'])) ?>" readonly style="text-align: center; font-size:10pt;" > </td>
|
|
|
|
<td width="10%" align="center"> <?= _("No Ordonnance") ?> </td>
|
|
<td width="15%" > <input class="form-control" style="text-align: center; font-size:10pt; background-color:blue;color:white;" type="number" id="numeroBon" name="numeroBon" value="<?= $numeroBonOrdonnance ?>" readonly > </td>
|
|
|
|
<td width="10%" align="center"> <?= _("Médecin") ?> </td>
|
|
<td> <INPUT class="form-control" TYPE="text" value="<?= $this->nettoyer($prescription['medecinPrescription']) ?>" readonly style='font-size:10pt;'> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div id="medicaments">
|
|
<legend> <?= _("Médicaments prescrits") ?> </legend>
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
|
|
<thead>
|
|
<tr>
|
|
<th width="60%"> <?= _("Libellé") ?> </th>
|
|
<th style="text-align:center"> <?= _("Instruct") ?> </th>
|
|
<th width="10%" style="text-align:center"> <?= _("Unité") ?> </th>
|
|
<th width="5%" style="text-align:center"> <?= _("Qtité") ?> </th>
|
|
<th style="text-align:center"> <?= _("Bon") ?> </th>
|
|
<th style="text-align:center"> <?= _("Rempl") ?> </th>
|
|
<th style="text-align:center"> <?= _("Livré par") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($detailprescriptions as $detailprescription):
|
|
$livre=$this->nettoyer($detailprescription['livre']);
|
|
$codePrestataireLivraison=$this->nettoyer($detailprescription['codePrestataireLivraison']);
|
|
$prestataireLivraison=$this->nettoyer($detailprescription['prestataireLivraison']);
|
|
$ajPharmacie = $this->nettoyer($detailprescription['ajPharmacie']);
|
|
?>
|
|
<?php if($ajPharmacie=="1") : ?>
|
|
<tr valign="top" style="background-color: rgb(0, 142, 142);">
|
|
<?php else: ?>
|
|
<tr valign="top">
|
|
<?php endif; ?>
|
|
<td> <?= $this->nettoyer($detailprescription['libelleMedicament']) ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($detailprescription['instructions']) ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($detailprescription['unite']) ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($detailprescription['quantite']) ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($detailprescription['numeroBonOrdonnance']) ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($detailprescription['numeroRemplacement']) ?> </td>
|
|
|
|
<?php if ($livre=="1") : ?>
|
|
<td> <input style="font-size:9pt;" class = "form-control btn btn-info" type="button" value="<?= $prestataireLivraison ?>" onClick="javascript:afficher_pharmacie_dec('<?= $numeroBonOrdonnance ?>','<?= $codePrestataireLivraison ?>');"> </td>
|
|
|
|
<?php else: ?>
|
|
<td> </td>
|
|
<?php endif; ?>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|