Add agent name to the view all and view open JO pages. #483 #1378

Merged
korina.cordero merged 1 commit from 483-cmb-agent-s-name-in-open-and-view-all into 472-cmb-release 2020-09-04 08:07:49 +00:00
3 changed files with 8 additions and 8 deletions

View file

@ -223,11 +223,11 @@ class CMBJobOrderHandler implements JobOrderHandlerInterface
$row['date_start'] = $date_start; $row['date_start'] = $date_start;
$row['date_finish'] = $date_finish; $row['date_finish'] = $date_finish;
$processor = $orow->getProcessedBy(); $creator = $orow->getCreatedBy();
if ($processor == null) if ($creator == null)
$row['processor'] = ''; $row['creator'] = '';
else else
$row['processor'] = $orow->getProcessedBy()->getFullName(); $row['creator'] = $orow->getCreatedBy()->getFullName();
$assignor = $orow->getAssignedBy(); $assignor = $orow->getAssignedBy();
if ($assignor == null) if ($assignor == null)

View file

@ -157,8 +157,8 @@
title: 'Status' title: 'Status'
}, },
{ {
field: 'processor', field: 'creator',
title: 'Dispatcher' title: 'Agent'
}, },
{ {
field: 'Actions', field: 'Actions',

View file

@ -152,8 +152,8 @@
title: 'Status' title: 'Status'
}, },
{ {
field: 'processor', field: 'creator',
title: 'Dispatcher' title: 'Agent'
}, },
{ {
field: 'Actions', field: 'Actions',