radiantproduction/Vue/Majmedecinsprestataire/index.php

102 lines
4.4 KiB
PHP

<?php
$this->titre = "INTER-SANTE - Liste Médecins prestataire";
$codePrestataire = $this->nettoyer($prestataire['codePrestataire']);
$idPrestataire = $this->nettoyer($prestataire['id']);
$nomPrestataire = $this->nettoyer($prestataire['libelle']);
?>
<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 ?>" >
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<tbody>
<tr valign="top">
<td align='center' width="60%" ><INPUT style="font-size:12pt;" class="form-control" TYPE="text" value="Liste des Médecins du prestataire : <?= $nomPrestataire ?> " disabled ></td>
<td align='center'> <button type="button" style="font-size:10pt;" class="form-control btn btn-primary" onclick="javascript:afficher_medecins_prestataire();" > <?= _("Actualiser...") ?> </button> </td>
</tr>
</tbody>
</table>
<div id="div_medecins_prestataire">
<div class="row">
<div id="div_medecin_1" class="col-xs-7" >
<legend> <?= _("Médecins Disponibles") ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("No Méd") ?> </th>
<th style='text-align:center'> <?= _("Nom") ?> </th>
<th style='text-align:center'> <?= _("Prénoms") ?> </th>
<th style='text-align:center'> <?= _("Spécialité") ?> </th>
<th style='text-align:center'> => </th>
</tr>
<tr>
<th colspan="5"> <button type="button" style="font-size:8pt;" class="form-control btn btn-primary" onclick="javascript:ajouter_tous_medecins_prestataire();" > <?= _("Ajouter tous"). " ==>" ?> </button> </th>
</tr>
</thead>
<tbody>
<?php foreach ($medecinsnonaccessibles as $medecinsnonaccessible):
$idMedecin = $medecinsnonaccessible['idMedecin'];
$codeMedecin = $medecinsnonaccessible['codeMedecin'];
?>
<tr valign="top">
<td align='center'> <?= $this->nettoyer($medecinsnonaccessible['noOrdreMedecin']) ?> </td>
<td><?= $this->nettoyer($medecinsnonaccessible['nom']) ?></td>
<td><?= $this->nettoyer($medecinsnonaccessible['prenoms']) ?></td>
<?php if (est_anglophone()): ?>
<td><?= $this->nettoyer($medecinsnonaccessible['specialite']) ?></td>
<?php else: ?>
<td><?= $this->nettoyer($medecinsnonaccessible['specialiteEng']) ?></td>
<?php endif; ?>
<td align='center'> <input type="button" value="=>" onClick="javascript:ajouter_un_medecin_prestataire('<?=$codeMedecin?>');" ></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<div id="div_medecin_2" class="col-xs-5" >
<legend> <?= _("Médecins du prestataire") ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th style='text-align:center'> <= </th>
<th style='text-align:center'> <?= _("No Méd") ?> </th>
<th style='text-align:center'> <?= _("Nom") ?> </th>
<th style='text-align:center'> <?= _("Prénoms") ?> </th>
</tr>
<tr>
<td colspan="4"> <button type="button" style="font-size:8pt;" class="form-control btn btn-danger" onclick="javascript:retirer_tous_medecins_prestataire();" > <?= "<== " . _("Retirer tous les réseaux") ?> </button> </td>
</tr>
</thead>
<tbody>
<?php foreach ($medecinsaccessibles as $medecinsaccessible):
$idMedecin = $medecinsaccessible['idMedecin'];
$codeMedecin = $medecinsaccessible['codeMedecin'];
?>
<tr valign="top">
<td align='center'> <input type="button" value="<=" onClick="javascript:retirer_un_medecin_prestataire('<?=$codeMedecin?>');" ></td>
<td align='center'> <?= $this->nettoyer($medecinsaccessible['noOrdreMedecin']) ?> </td>
<td><?= $this->nettoyer($medecinsaccessible['nom']) ?></td>
<td><?= $this->nettoyer($medecinsaccessible['prenoms']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>