num active clients on menu

show number of active clients um side menu
This commit is contained in:
Hugo Sampaio
2024-05-06 13:25:30 -03:00
parent de7d68b659
commit ec94071167
2 changed files with 10 additions and 1 deletions

View File

@@ -20,7 +20,12 @@
<li class="nav-item">
<a href="clients.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "clients.php") { echo "active"; } ?>">
<i class="nav-icon fas fa-user-friends"></i>
<p>Clients</p>
<p>
Clients
<?php if ($num_active_clients) { ?>
<span class="right badge text-light"><?php echo $num_active_clients; ?></span>
<?php } ?>
</p>
</a>
</li>
<?php if ($session_user_role >= 2 && $config_module_enable_ticketing == 1) { ?>