prestation/Vue/Ajaxparamhabilitationass/afficherattributionprofilassureur.php
2025-12-05 10:42:46 +00:00

61 lines
2.4 KiB
PHP
Executable File

<div id="div_utilisateur_profil">
<div class="row">
<div id="div_utilisateur_profil_1" class="col-7" >
<legend> <?= _("Utilisateurs hors du profil") ?> </legend>
<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'> <?= _("Nom Utilisateur") ?> </th>
<th style='text-align:center'> Login </th>
<th style='text-align:center'> <?= _("Profil") ?> </th>
<th style='text-align:center'> => </th>
</tr>
<tr>
<th colspan="4"> <button type="button" style="font-size:10pt;" class="form-control btn btn-primary" onclick="javascript:ajouter_tous_utilisateur_profil_ass();" > <?= _("Ajouter tous"). " ==>" ?> </button> </th>
</tr>
</thead>
<tbody>
<?php foreach ($utilisateurs_hors_profil as $utilisateur_hors_profil):
$codeUtilisateur = $utilisateur_hors_profil['codeUtilisateur'];
?>
<tr valign="top">
<td align='center'><?= $this->nettoyer($utilisateur_hors_profil['nomUtilisateur']) ?></td>
<td align='center'><?= $this->nettoyer($utilisateur_hors_profil['codeUtilisateur']) ?></td>
<td align='center'><?= $this->nettoyer($utilisateur_hors_profil['codeProfil']) ?></td>
<td align='center'> <input type="button" value="=>" onClick="javascript:ajouter_un_utilisateur_profil_ass('<?=$codeUtilisateur?>');" ></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<div id="div_utilisateur_profil_2" class="col-5" >
<legend> <?= _("Utilisateurs du profil") ?> </legend>
<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'> <?= _("Nom Utilisateur") ?> </th>
<th style='text-align:center'> Login </th>
</tr>
</thead>
<tbody>
<?php foreach ($utilisateurs_profil as $utilisateur_profil):
$codeUtilisateur = $utilisateur_profil['codeUtilisateur'];
?>
<tr valign="top">
<td align='center'><?= $this->nettoyer($utilisateur_profil['nomUtilisateur']) ?></td>
<td align='center'><?= $this->nettoyer($utilisateur_profil['codeUtilisateur']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>