mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 08:14:52 +00:00
Don't show checkboxes next to closed tickets
This commit is contained in:
@@ -253,7 +253,7 @@ $user_active_assigned_tickets = intval($row['total_tickets_assigned']);
|
|||||||
<table class="table table-striped table-borderless table-hover">
|
<table class="table table-striped table-borderless table-hover">
|
||||||
<thead class="text-dark <?php if (!$num_rows[0]) { echo "d-none"; } ?>">
|
<thead class="text-dark <?php if (!$num_rows[0]) { echo "d-none"; } ?>">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="pr-0">
|
<td>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" id="selectAllCheckbox" type="checkbox" onclick="checkAll(this)">
|
<input class="form-check-input" id="selectAllCheckbox" type="checkbox" onclick="checkAll(this)">
|
||||||
</div>
|
</div>
|
||||||
@@ -374,10 +374,12 @@ $user_active_assigned_tickets = intval($row['total_tickets_assigned']);
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<tr class="<?php if(empty($ticket_updated_at)) { echo "text-bold"; }?>">
|
<tr class="<?php if(empty($ticket_updated_at)) { echo "text-bold"; }?>">
|
||||||
<td class="pr-0">
|
<td>
|
||||||
|
<?php if($ticket_status !== "Closed") { ?>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" name="ticket_ids[]" value="<?php echo $ticket_id ?>">
|
<input class="form-check-input" type="checkbox" name="ticket_ids[]" value="<?php echo $ticket_id ?>">
|
||||||
</div>
|
</div>
|
||||||
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="ticket.php?ticket_id=<?php echo $ticket_id; ?>">
|
<a href="ticket.php?ticket_id=<?php echo $ticket_id; ?>">
|
||||||
|
|||||||
Reference in New Issue
Block a user