mirror of
https://github.com/itflow-org/itflow
synced 2026-09-21 14:11:17 +00:00
Ticket SLA: Fix on hold to pause only after first reply, show resolved closed and onhold as fixed on paused sla in the list
This commit is contained in:
@@ -22,6 +22,9 @@ while ($row = mysqli_fetch_assoc($status_sql)) {
|
||||
'name' => escapeHtml($row['ticket_status_name']),
|
||||
'color' => escapeHtml($row['ticket_status_color']),
|
||||
'pauses_sla' => intval($row['ticket_status_pauses_sla']),
|
||||
// Resolved pauses the clock by finishing the ticket rather than parking it, so
|
||||
// the header marker would be noise on that column (Closed is not a column here)
|
||||
'show_sla_pause' => intval($row['ticket_status_pauses_sla']) && $status_id != 4,
|
||||
'tickets' => array()
|
||||
);
|
||||
}
|
||||
@@ -105,7 +108,7 @@ $kanban = array_values($statuses);
|
||||
<div class="kanban-column-header" style="border-top-color: <?= $column['color'] ?>">
|
||||
<span class="kanban-column-name"><?= $column['name'] ?></span>
|
||||
<span class="badge rounded-pill bg-secondary ms-1"><?= count($column['tickets']) ?></span>
|
||||
<?php if ($column['pauses_sla']) { ?>
|
||||
<?php if ($column['show_sla_pause']) { ?>
|
||||
<i class="fas fa-fw fa-pause text-secondary ms-1" title="The resolution SLA clock is paused in this status"></i>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user