prestation/Vue/Optiqueconsben/index.php
2025-12-01 18:54:33 +00:00

56 lines
2.0 KiB
PHP

<?php
$this->titre = "INTER-SANTE - Prescription Optique";
$numeroBonOptique = $optique['numeroBonOptique'];
$numeroOptique = $optique['numeroOptique'];
$_SESSION['p_numeroBonOptique_C'] = $numeroBonOptique;
$_SESSION['p_numeroOptique_C'] = $numeroOptique;
?>
<script type="text/javascript">
</script>
<input style='text-align:center; font-size:11pt;' class="form-control" type="text"
value= "<?= _("Livraison de verres et de montures") . " => " . _("Feuille Maladie") . " : " . $_SESSION['p_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($optique['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;" type="number" id="numeroBon" name="numeroBon" value="<?= $numeroBonOptique ?>" readonly > </td>
<td width="10%" align="center"> <?= _("Médecin") ?> </td>
<td> <INPUT class="form-control" TYPE="text" value="<?= $this->nettoyer($optique['medecinPrescription']) ?>" readonly style='font-size:10pt;'> </td>
</tr>
</tbody>
</table>
<div id="verres">
<legend> <?= _("Verres prescrits") ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
<thead>
<tr>
<th width="90%"> <?= _("Libellé") ?> </th>
<th width="10%" style="text-align:center"> <?= _("Qté") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($detailoptiques as $detailoptique):
?>
<tr valign="top">
<td> <?= $this->nettoyer($detailoptique['libelleOptique']) ?> </td>
<td align='center'> <?= $this->nettoyer($detailoptique['quantite']) ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>