mirror of
https://github.com/itflow-org/itflow
synced 2026-11-29 15:48:59 +00:00
Tickets modernization: list redesign with Open/Mine/Unassigned/Needs reply/Waiting/Overdue/Scheduled/Closed/All views, whose-move indicator, SLA and due badges, in-row status/priority/agent pickers, collapsible filters and phone layout; kanban board redesign with drag-to-resolve/reopen rules and dark mode; new ticket quick look modal; New Ticket modal with asset/contact prefill and already-open warning; Edit Ticket modal rework; recurring tickets list rework with pause/resume, raise now, plain-language schedules, next-run preview and bulk actions, cron skips paused and raises missed runs once; shared ticket tables on asset/contact/location/vendor/project pages; Also open card on ticket detail; portal waiting-on-your-reply status; merge limited to same client; closed tickets no longer editable from modals or API; consistent access checks across ticket modals, post handlers and ajax endpoints; new functions/ticket.php helpers; removed recurring_ticket_model.php; DB 2.8.5 adds recurring_ticket_paused_at and cleans orphaned recurring ticket rows
This commit is contained in:
@@ -465,8 +465,8 @@ function roundToNearest15Min($time) {
|
||||
|
||||
|
||||
function formatDuration($time) {
|
||||
// expects "HH:MM:SS"
|
||||
[$h, $m, $s] = array_map('intval', explode(':', $time));
|
||||
// expects "HH:MM:SS" - nothing logged (NULL, '') is 0s
|
||||
[$h, $m, $s] = array_map('intval', array_pad(explode(':', (string) $time), 3, 0));
|
||||
|
||||
$parts = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user