Skip to content
Snippets Groups Projects
Commit 26f5a9e8 authored by Peter Rotich's avatar Peter Rotich
Browse files

Add note poster on ticket's mass processing.

parent 17b9bab5
Branches
Tags
No related merge requests found
...@@ -341,7 +341,7 @@ if($_POST && !$errors): ...@@ -341,7 +341,7 @@ if($_POST && !$errors):
foreach($_POST['tids'] as $k=>$v) { foreach($_POST['tids'] as $k=>$v) {
if(($t=Ticket::lookup($v)) && $t->isClosed() && @$t->reopen()) { if(($t=Ticket::lookup($v)) && $t->isClosed() && @$t->reopen()) {
$i++; $i++;
$t->logNote('Ticket Reopened', $note); $t->logNote('Ticket Reopened', $note, $thisstaff);
} }
} }
...@@ -361,7 +361,7 @@ if($_POST && !$errors): ...@@ -361,7 +361,7 @@ if($_POST && !$errors):
foreach($_POST['tids'] as $k=>$v) { foreach($_POST['tids'] as $k=>$v) {
if(($t=Ticket::lookup($v)) && $t->isOpen() && @$t->close()) { if(($t=Ticket::lookup($v)) && $t->isOpen() && @$t->close()) {
$i++; $i++;
$t->logNote('Ticket Closed', $note); $t->logNote('Ticket Closed', $note, $thisstaff);
} }
} }
...@@ -380,7 +380,7 @@ if($_POST && !$errors): ...@@ -380,7 +380,7 @@ if($_POST && !$errors):
foreach($_POST['tids'] as $k=>$v) { foreach($_POST['tids'] as $k=>$v) {
if(($t=Ticket::lookup($v)) && !$t->isOverdue() && $t->markOverdue()) { if(($t=Ticket::lookup($v)) && !$t->isOverdue() && $t->markOverdue()) {
$i++; $i++;
$t->logNote('Ticket Marked Overdue', $note); $t->logNote('Ticket Marked Overdue', $note, $thisstaff);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment