Browse Source

Bug d'affichage du nom d'utilisateur (personnes légales) dans les inscriptions des 7 derniers jours.

dev
Guillaume Bourgeois 4 years ago
parent
commit
4997af6a3d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/views/layouts/header.php

+ 1
- 1
backend/views/layouts/header.php View File

<?php foreach ($usersArray as $user): ?> <?php foreach ($usersArray as $user): ?>
<li> <li>
<a href="<?= Yii::$app->urlManagerBackend->createUrl(['user/update', 'id' => $user['user_id']]); ?>"> <a href="<?= Yii::$app->urlManagerBackend->createUrl(['user/update', 'id' => $user['user_id']]); ?>">
<h5><?= Html::encode($user['name'] . ' ' . $user['lastname']); ?>
<h5><?= Html::encode((isset($user['name_legal_person']) && strlen($user['name_legal_person'])) ? $user['name_legal_person'] : $user['name'] . ' ' . $user['lastname']); ?>
<small> <small>
<i class="fa fa-clock-o"></i> <?= date('d/m/Y à H:i', $user['created_at']); ?> <i class="fa fa-clock-o"></i> <?= date('d/m/Y à H:i', $user['created_at']); ?>
</small> </small>

Loading…
Cancel
Save