prestation/Vue/Batchdroitsass/index.php
2025-12-01 18:54:33 +00:00

40 lines
1.5 KiB
PHP

<?php
$this->titre = "INTER-SANTE - droits utilisateurs assureur ou gestionnaire par batch";
?>
<script type="text/javascript">
</script>
<legend> <?= _("Gestion des droits utilisateurs assureur ou gestionnaire par batch") ?> </legend>
<div id="div_liste">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspeciale compact" style="font-size:10pt;">
<thead>
<tr>
<th style='text-align:center' width="10%">Code</th>
<th style='text-align:center' > <?= _("Libellé") ?> </th>
<th style='text-align:center' > <?= _("Vider => Supprime tous les droits") ?> </th>
<th style='text-align:center' > <?= _("Attribuer les droits de référence") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($profils as $profil):
$codeProfil = $profil['code'];
?>
<tr valign="top">
<td align='center'> <?= $this->nettoyer($profil['code']) ?> </td>
<td align='center'> <?= $this->nettoyer($profil['libelle']) ?> </td>
<td> <input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Vider") ?>" onClick="javascript:batch_vider_droits_profil_assureur('<?= $codeProfil ?>');"></td>
<td> <input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Attribuer") ?>" onClick="javascript:batch_atrtribuer_droits_reference_profil_assureur('<?= $codeProfil ?>');"></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<div id ="div_export_a">
</div>