production/Vue/Ajaxdiagnosticsbeneficiaireentente/index.php
2025-12-01 16:12:12 +00:00

45 lines
1.5 KiB
PHP
Executable File

<?php
$actVisible = $_SESSION['actVisible'];
?>
<div id="div_dianostics">
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:10pt;">
<thead class="table-dark">
<tr>
<th width="15%" style="text-align:center"> Date </th>
<th style='text-align:center'> <?= _("Prestataire") ?> </th>
<th style='text-align:center'> <?= _("Médecin") ?> </th>
<th style="text-align:center"> Diagnostic </th>
</tr>
</thead>
<tbody>
<?php foreach ($diagnostics as $diagnostic):
$idDiagnostic = $this->nettoyer($diagnostic['id']);
$supprime = $this->nettoyer($diagnostic['supprime']);
$codeAffection = $this->nettoyer($diagnostic['codeAffection']);
$medecin = $this->nettoyer($diagnostic['medecin']);
$prestataire = $this->nettoyer($diagnostic['prestataire']);
if (isset($_SESSION['lang']) && $_SESSION['lang']=="en_US")
{
$libelleAffection = $this->nettoyer($diagnostic['libelleAffectionEng'])." => ".$codeAffection;
}
else
{
$libelleAffection = $this->nettoyer($diagnostic['libelleAffection'])." => ".$codeAffection;
}
?>
<tr valign="top">
<td align='center'><?= dateheureLang($this->nettoyer($diagnostic['dateSysteme']), $_SESSION['lang']) ?></td>
<td align='center'> <?= $prestataire ?> </td>
<td align='center'> <?= $medecin ?> </td>
<td align='center'> <?= $libelleAffection ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>