mirror of
https://github.com/itflow-org/itflow
synced 2026-11-24 21:37:28 +00:00
Ticket statuses: When the client replies can move a ticket to another status, a Client responded one say, on the built-in statuses as well as your own, falling back to Open when that status is switched off and cleared when it is deleted; a status can count as the first response when an agent moves a ticket nobody has answered into it, quietly or after emailing the contact and watchers a ticket assigned message kept as a public note, counted only when someone got it; the message is set under Messages to clients in Settings Tickets with the canned response placeholders; database 3.7.3 adds ticket_status_reply_status_id, ticket_status_first_response and config_ticket_assigned_message; 26.11.9 changelog entries
This commit is contained in:
@@ -117,6 +117,8 @@ function ticketChangeAssignee($ticket_id, $assigned_to) {
|
||||
// Update ticket & insert reply
|
||||
mysqli_query($mysqli, "UPDATE tickets SET ticket_assigned_to = $assigned_to, ticket_status = '$ticket_status' WHERE ticket_id = $ticket_id");
|
||||
syncTicketSlaClock($ticket_id);
|
||||
// New to Open, when Open counts as the first response (functions/ticket_status.php)
|
||||
ticketStatusMovedByAgent($ticket_id, $row['ticket_status'], $ticket_status);
|
||||
|
||||
mysqli_query($mysqli, "INSERT INTO ticket_replies SET ticket_reply = '$ticket_reply', ticket_reply_type = 'Internal', ticket_reply_time_worked = '00:00:00', ticket_reply_by = $session_user_id, ticket_reply_ticket_id = $ticket_id");
|
||||
|
||||
@@ -188,6 +190,7 @@ function ticketChangeStatus($ticket_id, $status_id) {
|
||||
syncTicketSlaClock($ticket_id);
|
||||
|
||||
logTicketHistory($ticket_id, "$session_name set the status to $status_name");
|
||||
ticketStatusMovedByAgent($ticket_id, $row['ticket_status'], $status_id);
|
||||
|
||||
logAudit("Ticket", "Edit", "$session_name set the status of $ticket_prefix$ticket_number to $status_name", $client_id, $ticket_id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user