Brought back scheduled tickets to the side navs and some minor adjustments to scheduled tickets

This commit is contained in:
johnnyq
2023-02-25 00:18:47 -05:00
parent 57b9552ab5
commit 7805a8ee45
3 changed files with 39 additions and 16 deletions

View File

@@ -144,7 +144,7 @@
<?php if ($config_module_enable_ticketing == 1) { ?>
<li class="nav-item">
<a href="client_tickets.php?client_id=<?php echo $client_id; ?>" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "client_tickets.php" || basename($_SERVER["PHP_SELF"]) == "client_scheduled_tickets.php") { echo "active"; } ?>">
<a href="client_tickets.php?client_id=<?php echo $client_id; ?>" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "client_tickets.php") { echo "active"; } ?>">
<i class="nav-icon fas fa-life-ring"></i>
<p>
Tickets
@@ -161,6 +161,22 @@
</p>
</a>
</li>
<li class="nav-item">
<a href="client_scheduled_tickets.php?client_id=<?php echo $client_id; ?>" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "client_scheduled_tickets.php") { echo "active"; } ?>">
<i class="nav-icon fas fa-clock"></i>
<p>
Schedule Ticket
<?php
if ($num_scheduled_tickets > 0) { ?>
<span class="right badge badge-light"><?php echo $num_scheduled_tickets; ?></span>
<?php } ?>
</p>
</a>
</li>
<?php } ?>
<li class="nav-item">