mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 11:57:25 +00:00
Archive clients, ticket replies, accounts and SLAs and restore anything without an Are you sure prompt, with Undo added for ticket replies and accounts, real plurals and bold counts in bulk messages, and flashAlert for asset and contact note messages
This commit is contained in:
@@ -184,7 +184,7 @@ function dispatchQueue($tab, array $filters = []) {
|
||||
'agent_name' => (string) $row['user_name'],
|
||||
'age' => timeAgo($row['ticket_created_at']),
|
||||
'minutes' => ticketScheduleMinutes($row['ticket_schedule'], $row['ticket_schedule_end']),
|
||||
'booked' => $row['ticket_schedule'] ? date('D M j', strtotime(timezoneToView($row['ticket_schedule']))) : '',
|
||||
'booked' => $row['ticket_schedule'] ? date('D, M j', strtotime(timezoneToView($row['ticket_schedule']))) : '',
|
||||
];
|
||||
}
|
||||
return ['tab' => $tab, 'counts' => $counts, 'tickets' => $tickets];
|
||||
@@ -332,7 +332,7 @@ function dispatchContactTickets($ticket_id) {
|
||||
'subject' => (string) $other['ticket_subject'],
|
||||
'status' => (string) $other['ticket_status_name'],
|
||||
'agent' => (string) ($other['user_name'] ?? ''),
|
||||
'booked' => $other['ticket_schedule'] ? date('D M j', strtotime(timezoneToView($other['ticket_schedule']))) : '',
|
||||
'booked' => $other['ticket_schedule'] ? date('D, M j', strtotime(timezoneToView($other['ticket_schedule']))) : '',
|
||||
'url' => ticketUrl($other['ticket_id'], $other['ticket_client_id']),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user