126 lines
5.8 KiB
PHP
Executable File
126 lines
5.8 KiB
PHP
Executable File
<?php $this->titre = "INTER-SANTE - Séances de physiothérapie";
|
|
$numeroBonKine = $_SESSION['p_numeroBonKine_C'];
|
|
$numeroBonSeance = $this->nettoyer($prescription['numeroBonSeance']);
|
|
$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= "Informations sur les séances de physiothérapie
|
|
=> Prestataire : <?= $prestataireLivraison ?> => Feuille Soins : <?= $numeroBonSeance ?>" 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="numeroBonKine"
|
|
name="numeroBonKine" value="<?= $numeroBonKine ?>" 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-responsive table-condensed" style='font-size:10pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%" > Prescription </td>
|
|
<td colspan="5"> <INPUT class="form-control" TYPE="text" value="<?= $this->nettoyer($prescription['libelleActePrescription']) ?>" readonly style='font-size:10pt;'>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td> <?= _("Nb Prescrits") ?> </td>
|
|
<td width="24%" > <input class="form-control" style="text-align: center; font-size:10pt;" type="number" id="nbSeance" name="nbSeance" value="<?= $this->nettoyer($prescription['nbSeance']) ?>" readonly > </td>
|
|
|
|
<td width="10%" align="center"> <?= _("Nb Effectués") ?> </td>
|
|
<td width="24%" > <input class="form-control" style="text-align: center; font-size:10pt;" type="number" id="nbLivre" name="nbLivre" value="<?= $this->nettoyer($prescription['nbLivre']) ?>" readonly > </td>
|
|
|
|
<td width="10%" align="center"> <?= _("Nb Restant") ?> </td>
|
|
<td > <input class="form-control" style="text-align: center; font-size:10pt;" type="number" id="nbRestant" name="nbRestant" value="<?= $this->nettoyer($prescription['nbRestant']) ?>" readonly > </td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:9pt;'>
|
|
<thead>
|
|
<tr>
|
|
<th width="50%" > <?= _("Actes") ?> </th>
|
|
<th width="10%" style="text-align:center"> <?= _("Valeur") ?> </th>
|
|
<th width="5%" style="text-align:center"> <?= _("Qté") ?> </th>
|
|
<th width="10%" style="text-align:center"> <?= _("Frais") ?> </th>
|
|
<th width="10%" style="text-align:center"> <?= _("T M") ?> </th>
|
|
<th width="10%" style="text-align:center"> <?= _("A Remb") ?> </th>
|
|
<th width="5%" style="text-align:center"> <?= _("Bon") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="3" style='text-align:center'> Total </td>
|
|
<td align='center'><?= format_N($this->nettoyer($prescription['fraisReel'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($prescription['montantTm'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($prescription['montantArembourser'])) ?></td>
|
|
<td> </td>
|
|
</tr>
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
|
|
<?php foreach ($detaillivres as $detaillivre):
|
|
$ententePrealable = $this->nettoyer($detaillivre['ententePrealable']);
|
|
$typeSysteme = $this->nettoyer($detaillivre['typeSysteme']);
|
|
?>
|
|
|
|
<?php if($typeSysteme=="1") : ?>
|
|
<tr valign="top" style="background-color: red; color:white;">
|
|
<?php else: ?>
|
|
<tr valign="top">
|
|
<?php endif; ?>
|
|
<td> <?= $this->nettoyer($detaillivre['libelleActeSeance']) ?> </td>
|
|
<td align='center'> <?= format_N($this->nettoyer($detaillivre['valeurActe'])) ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($detaillivre['quantite']) ?> </td>
|
|
<td align='center'> <?= format_N($this->nettoyer($detaillivre['fraisReel'])) ?> </td>
|
|
<td align='center'> <?= format_N($this->nettoyer($detaillivre['montantTm'])) ?> </td>
|
|
<td align='center'> <?= format_N($this->nettoyer($detaillivre['montantArembourser'])) ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($detaillivre['numeroBonKine']) ?> </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>
|