radiantproduction/Vue/Exclureservices/index.php
2026-07-15 13:29:46 +00:00

102 lines
4.1 KiB
PHP

<?php
$this->titre = "INTER-SANTE - "._("Exclure des services");
$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="Services exclus 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> <?= _("Services non exlus") ?> </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'> <?= _("Code") ?> </th>
<th style='text-align:center'> <?= _("Famille Acte") ?> </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 ($servicesnonexclus as $servicenonexclu):
$idFamilleActe = $servicenonexclu['idFamilleActe'];
$codeFamilleActe = $servicenonexclu['codeFamilleActe'];
?>
<tr valign="top">
<td align='center'> <?= $this->nettoyer($servicenonexclu['codeFamilleActe']) ?> </td>
<?php if (est_anglophone()): ?>
<td><?= $this->nettoyer($servicenonexclu['libelleEng']) ?></td>
<?php else: ?>
<td><?= $this->nettoyer($servicenonexclu['libelle']) ?></td>
<?php endif; ?>
<td align='center'> <input type="button" value="=>" onClick="javascript:ajouter_un_medecin_prestataire('<?=$codeFamilleActe?>');" ></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<div id="div_medecin_2" class="col-xs-5" >
<legend> <?= _("Services exlus") ?> </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 ($servicesexclus as $serviceexclu):
$idExclu = $serviceexclu['idExclu'];
$codeFamilleActe = $serviceexclu['codeFamilleActe'];
?>
<tr valign="top">
<td align='center'> <input type="button" value="<=" onClick="javascript:retirer_un_medecin_prestataire('<?=$codeFamilleActe?>');" ></td>
<td align='center'> <?= $this->nettoyer($serviceexclu['codeFamilleActe']) ?> </td>
<?php if (est_anglophone()): ?>
<td><?= $this->nettoyer($servicenonexclu['libelleEng']) ?></td>
<?php else: ?>
<td><?= $this->nettoyer($servicenonexclu['libelle']) ?></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>