radiantassure/Vue/Ajaxfactureconsassure/feuillemaladie.php
2025-12-07 09:35:13 +00:00

127 lines
5.3 KiB
PHP
Executable File

<div id="div_facture_detail">
<?php
$codeTypeAffection = $this->nettoyer($feuillemaladie['codeTypeAffection']);
$codeAffection = $this->nettoyer($feuillemaladie['codeAffection']);
if (isset($_SESSION['lang']) && $_SESSION['lang']=="en_US")
{
$libelleAffection = $this->nettoyer($feuillemaladie['libelleAffectionEng']);
}
else
{
$libelleAffection = $this->nettoyer($feuillemaladie['libelleAffection']);
}
?>
<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:9pt;">
<tbody>
<tr>
<td width="7%"> No Feuille </td>
<td width="13%"> <INPUT style="font-size:9pt;" 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:9pt;" class="form-control" value="<?= dateFr($this->nettoyer($feuillemaladie['dateConsultation'])) ?>" readonly></td>
<td width="7%" style='text-align:center'> Prestataire </td>
<td width="25%" ><INPUT style="font-size:9pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['prestataire']) ?>" readonly></td>
<td width="7%" style='text-align:center'> Medecin </td>
<td><INPUT style="font-size:9pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['medecinConsultation']) ?>" readonly></td>
</tr>
<tr>
<td > Bon Cons </td>
<td><INPUT style="font-size:9pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroBonConsultation']) ?>" readonly></td>
<td style='text-align:center'> Bon Ordon </td>
<td><INPUT style="font-size:9pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>" readonly></td>
<td style='text-align:center'> Bon Hospit </td>
<td><INPUT style="font-size:9pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroBonHospitalisation']) ?>" readonly></td>
<td style='text-align:center'> Bon Opt </td>
<td><INPUT style="font-size:9pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroBonOptique']) ?>" readonly></td>
</tr>
<tr>
<td > Bon Exam </td>
<td><INPUT style="font-size:9pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroBonExamen']) ?>" readonly></td>
<td style='text-align:center'> Bon Kine </td>
<td><INPUT style="font-size:9pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroBonKine']) ?>" readonly></td>
<td style='text-align:center'> Chambre </td>
<td><INPUT style="font-size:9pt;" class="form-control" value="<?= $this->nettoyer($feuillemaladie['numeroChambre']) ?>" readonly></td>
<td style='text-align:center'> Rais Cons </td>
<td><INPUT style="font-size:9pt;" 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['lang']) && $_SESSION['lang']=="en_US")
{
$libelleAffection = $this->nettoyer($diagnostic['libelleAffectionEng'])." => ".$codeAffection;
}
else
{
$libelleAffection = $this->nettoyer($diagnostic['libelleAffection'])." => ".$codeAffection;
}
/*
$AffectionVisible = $_SESSION['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>