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

85 lines
3.0 KiB
PHP
Executable File

<?php
$this->titre = "INTER SANTE - Liste Médecins prestataire";
$codePrestataire = $this->nettoyer($prestataire['codePrestataire']);
$idPrestataire = $this->nettoyer($prestataire['id']);
$nomPrestataire = $this->nettoyer($prestataire['libelle']);
$nbreTotal = count($medecins);
if($nbreTotal < 10){
$nbreTotal = '0'.$nbreTotal;
}else{
$nbreTotal = format_N($nbreTotal);
}
?>
<script type="text/javascript">
</script>
<input class="sr-only" type="text" id="codePrestataire" name="codePrestataire" value="<?= $codePrestataire ?>" >
<input class="sr-only" type="text" id="idPrestataire" name="idPrestataire" value="<?= $idPrestataire ?>" >
<div id="div_liste">
<fieldset>
<legend> <?= _("Liste des Praticiens du prestataire") . " : " . $nomPrestataire ?> </legend>
<table style="margin: auto" class="table-responsive">
<tbody>
<td><input class="form-control" style="text-align: center; font-size:10pt;" type="text" id="nbreTotal" name="nbreTotal" value="Ligne Totale: <?= $nbreTotal; ?>" readonly> </td>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:9pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Code") ?> </th>
<th> <?= _("Nom") ?> </th>
<th> <?= _("Prénoms") ?> </th>
<th style='text-align:center'> <?= _("No Ordre") ?> </th>
<th style='text-align:center'><?= _("Genre") ?></th>
<td style='text-align:center'> <?= _("Corporation") ?> </td>
<td style='text-align:center'> <?= _("Spécialité") ?> </td>
<th style='text-align:center'> <?= _("Téléphone") ?> </th>
<th style='text-align:center'> E-mail </th>
</tr>
</thead>
<tbody>
<?php foreach ($medecins as $medecin):
$idMedecin =$this->nettoyer($medecin['idMedecin']);
$codeMedecin =$this->nettoyer($medecin['codeMedecin']);
$specialite = $this->nettoyer($medecin['libellespecialite']);
$corporation = $this->nettoyer($medecin['corporation']);
if (est_anglophone()){
$specialite = $this->nettoyer($medecin['libellespecialiteEng']);
$corporation = $this->nettoyer($medecin['corporationEng']);
}
?>
<tr valign="top">
<td align='center'> <?= $this->nettoyer($medecin['codeMedecin']) ?> </td>
<td><?= $this->nettoyer($medecin['nom']) ?></td>
<td><?= $this->nettoyer($medecin['prenoms']) ?></td>
<td align='center'><?= $this->nettoyer($medecin['noOrdreMedecin']) ?></td>
<td align='center'> <?= $this->nettoyer($medecin['sexe']) ?> </td>
<td align='center'><?= $corporation ?></td>
<td align='center'><?= $specialite ?></td>
<td align='center'> <?= $this->nettoyer($medecin['telephone']) ?> </td>
<td align='center'> <?= $this->nettoyer($medecin['email']) ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</fieldset>
</div>
<div id ="div_export_a">
</div>