Adjust ticket count in header & side-nav to reflect open ticket count including working/onhold tickets

This commit is contained in:
Marcus Hill
2022-02-14 20:29:04 +00:00
parent 81a6b349ad
commit 799ba40731
2 changed files with 5 additions and 8 deletions

View File

@@ -134,8 +134,8 @@
<p>
Tickets
<?php
if($num_tickets > 0){ ?>
<span class="right badge badge-light"><?php echo $num_tickets; ?></span>
if($num_active_tickets > 0){ ?>
<span class="right badge badge-light"><?php echo $num_active_tickets; ?></span>
<?php } ?>
</p>
</a>