radiantproduction/Vue/Usersrhclient/index.php
2026-01-22 20:11:49 +00:00

69 lines
2.3 KiB
PHP
Executable File

<?php
$this->titre = "INTER SANTE - Utilisateurs RH";
$idClient = $this->nettoyer($client['idClient']);
$nomClient = $this->nettoyer($client['nom']);
?>
<input class="sr-only" type="text" id="idClient" value="<?= $idClient ?>">
<div id="div_liste">
<h1 class="text-primary"> <?= _("Utilisateurs Portail RH") ?> </h1>
<h5 >
<span ><?= $nomClient ?></span>
</h5>
<div >
<span>
<?= count($users) ?> <?= _("comptes") ?>
</span>
</div>
<div >
<div class="table-responsive">
<table class="table table-hover">
<thead class="table-light">
<tr >
<th><?= _("Identifiant") ?></th>
<th><?= _("Nom Complet") ?></th>
<th><?= _("Langue") ?></th>
<th><?= _("Profil / Rôle") ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($users as $user_client):
$idUtilisateur = $user_client['idUtilisateur'];
$codeUtilisateur = $user_client['codeUtilisateur'];
$actif = (int)$user_client['actif'];
$reInit = (int)$user_client['reInit'];
$codeLangue = $user_client['codeLangue'];
// Gestion multilingue du profil
$libelleProfil = est_anglophone() ? $user_client['profilEng'] : $user_client['profil'];
?>
<tr>
<td>
<?= $this->nettoyer($codeUtilisateur) ?>
</td>
<td>
<?= $this->nettoyer($user_client['utilisateur']) ?>
</td>
<td >
<?= strtoupper($codeLangue) ?>
</td>
<td>
<?= $this->nettoyer($libelleProfil) ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>