show bar on html

This commit is contained in:
Hugo Sampaio 2024-05-16 11:01:34 -03:00
parent edf9371ffa
commit d4da95a6f1
1 changed files with 6 additions and 0 deletions

View File

@ -435,6 +435,12 @@ $user_active_assigned_tickets = intval($row['total_tickets_assigned']);
<!-- Ticket Subject -->
<td>
<a href="ticket.php?ticket_id=<?php echo $ticket_id; ?>"><?php echo $ticket_subject; ?></a>
<?php if($task_count) { ?>
<div class="progress mt-2" style="height: 20px;">
<div class="progress-bar" style="width: <?php echo $tasks_completed_percent; ?>%;"><?php echo $completed_task_count; ?> / <?php echo $task_count; ?></div>
</div>
<?php } ?>
</td>
<!-- Ticket Contact -->