This commit is contained in:
KONE SOREL 2026-01-13 18:50:30 +00:00
parent 6c972c4679
commit 8bf339c9c9

View File

@ -23,8 +23,7 @@
<th class="ps-4" width="12%"><?= _("Login") ?></th>
<th width="18%"><?= _("Utilisateur") ?></th>
<th class="text-center" width="5%"><?= _("Langue") ?></th>
<th class="text-center"><?= _("Accès Actes") ?></th>
<th class="text-center"><?= _("Accès Pathos") ?></th>
<th class="text-center"><?= _("Profil") ?></th>
<th class="text-center"><?= _("Compte") ?></th>
<th class="text-center pe-4"><?= _("Actions") ?></th>
</tr>
@ -37,7 +36,12 @@
$actVisible = (int)$user_client['actVisible'];
$AffectionVisible = (int)$user_client['AffectionVisible'];
$reInit = (int)$user_client['reInit'];
$codeLangue = $user_client['codeLangue'];
$codeLangue = $user_client['codeLangue'];
$profil = $user_client['profil'];
if (est_anglophone()){
$profil = $user_client['profilEng'];
}
?>
<tr>
<td class="ps-4">
@ -55,19 +59,9 @@
</td>
<td class="text-center">
<div class="form-check form-switch d-inline-block">
<input class="form-switch-custom input-switch-actes" type="checkbox" role="switch"
<?= ($actVisible === 1) ? 'checked' : '' ?>
onClick="gerer_acces_actes_client('<?= $codeUtilisateur ?>', '<?= $actVisible ?>');">
</div>
</td>
<td class="text-center">
<div class="form-check form-switch d-inline-block">
<input class="form-switch-custom input-switch-affections" type="checkbox" role="switch"
<?= ($AffectionVisible === 1) ? 'checked' : '' ?>
onClick="gerer_acces_affection_client('<?= $codeUtilisateur ?>', '<?= $AffectionVisible ?>');">
</div>
<span class="badge bg-secondary-subtle text-dark border font-monospace px-2 py-1">
<?= $profil ?>
</span>
</td>
<td class="text-center">