136 lines
5.8 KiB
PHP
Executable File
136 lines
5.8 KiB
PHP
Executable File
<div id="div_facture_detail">
|
|
<?php
|
|
$actVisible = $_SESSION['p_actVisible'];
|
|
|
|
$codeTypeAffection = $this->nettoyer($feuillemaladie['codeTypeAffection']);
|
|
|
|
$codeAffection = $this->nettoyer($feuillemaladie['codeAffection']);
|
|
|
|
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
|
|
{
|
|
$libelleAffection = $this->nettoyer($feuillemaladie['libelleAffectionEng']);
|
|
$raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultationEng']);
|
|
}
|
|
else
|
|
{
|
|
$libelleAffection = $this->nettoyer($feuillemaladie['libelleAffection']);
|
|
$raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultation']);
|
|
}
|
|
|
|
$AffectionVisible = $_SESSION['p_AffectionVisible'];
|
|
|
|
if($AffectionVisible!="1")
|
|
{
|
|
$libelleAffection = $codeAffection;
|
|
}
|
|
?>
|
|
|
|
<input style='text-align:center; font-size:11pt; background-color:green;color:white;' class="form-control" type="text" value= "<?= _("Informations sur la consultation") ?>" disabled >
|
|
|
|
<table class="table table-responsive table-condensed" style="font-size:7pt;">
|
|
<tbody>
|
|
<tr>
|
|
<td width="7%"> <?= _("No Feuille") ?> </td>
|
|
<td width="13%"> <INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroFeuilleMaladie']) ?>" readonly></td>
|
|
|
|
<td width="7%" style='text-align:center'> <?= _("Date Consul") ?> </td>
|
|
<td width="10%" ><INPUT style="font-size:7pt;" class="form-control" value="<?= dateLang($this->nettoyer($feuillemaladie['dateConsultation'])) ?>" readonly></td>
|
|
|
|
<td width="7%" style='text-align:center'> <?= _("Prestataire") ?> </td>
|
|
<td width="25%" ><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['prestataire']) ?>" readonly></td>
|
|
|
|
<td width="7%" style='text-align:center'> <?= _("Medecin") ?> </td>
|
|
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['medecinConsultation']) ?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td > <?= _("Bon Cons") ?> </td>
|
|
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroBonConsultation']) ?>" readonly></td>
|
|
|
|
<td style='text-align:center'> <?= _("Bon Phar") ?> </td>
|
|
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>" readonly></td>
|
|
|
|
<td style='text-align:center'> <?= _("Bon Hospit") ?> </td>
|
|
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroBonHospitalisation']) ?>" readonly></td>
|
|
|
|
<td style='text-align:center'> <?= _("Bon Opt") ?> </td>
|
|
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroBonOptique']) ?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td > <?= _("Bon Exam") ?> </td>
|
|
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroBonExamen']) ?>" readonly></td>
|
|
|
|
<td style='text-align:center'> <?= _("Bon Kine") ?> </td>
|
|
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroBonKine']) ?>" readonly></td>
|
|
|
|
<td style='text-align:center'> <?= _("Chambre") ?> </td>
|
|
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroChambre']) ?>" readonly></td>
|
|
|
|
<td style='text-align:center'> <?= _("Rais Cons") ?> </td>
|
|
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['raisonconsultation']) ?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Affection") ?> </td>
|
|
<td colspan="7">
|
|
<INPUT style='font-size:10pt; text-align:center;' class="form-control" TYPE="text" value="<?= $libelleAffection ?>" readonly >
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:9pt;">
|
|
<thead>
|
|
<tr>
|
|
<th rowspan="2" width="15%" style="text-align:center"> Date </th>
|
|
<th rowspan="2" style="text-align:center"> Diagnostic </th>
|
|
<th rowspan="2" width="15%" style="text-align:center"> User </th>
|
|
<th colspan="2" style='text-align:center'> <?= _("Suppression") ?> </th>
|
|
</tr>
|
|
<tr>
|
|
<th style="text-align:center"> User </th>
|
|
<th style="text-align:center"> Date </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($diagnostics as $diagnostic):
|
|
$idDiagnostic = $this->nettoyer($diagnostic['id']);
|
|
$supprime = $this->nettoyer($diagnostic['supprime']);
|
|
|
|
$codeAffection = $this->nettoyer($diagnostic['codeAffection']);
|
|
|
|
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
|
|
{
|
|
$libelleAffection = $this->nettoyer($diagnostic['libelleAffectionEng'])." => ".$codeAffection;
|
|
}
|
|
else
|
|
{
|
|
$libelleAffection = $this->nettoyer($diagnostic['libelleAffection'])." => ".$codeAffection;
|
|
}
|
|
|
|
$AffectionVisible = $_SESSION['p_AffectionVisible'];
|
|
if($AffectionVisible!="1")
|
|
{
|
|
$libelleAffection = $codeAffection;
|
|
}
|
|
?>
|
|
<?php if($supprime=='1'): ?>
|
|
<tr valign="top" style="background-color: red;color:white;">
|
|
<?php else: ?>
|
|
<tr valign="top">
|
|
<?php endif; ?>
|
|
<td align='center'><?= dateheureLang($this->nettoyer($diagnostic['dateSysteme'])) ?></td>
|
|
<td align='center'> <?= $libelleAffection ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($diagnostic['codeUtilisateur']) ?> </td>
|
|
|
|
<td align='center'> <?= $this->nettoyer($diagnostic['userSuppression']) ?> </td>
|
|
<td align='center'><?= dateheureLang($this->nettoyer($diagnostic['heueSuppression'])) ?></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|