Merge branch 'master' of gitlab.com:jankstudio/resq
This commit is contained in:
commit
83518679ea
3 changed files with 10 additions and 3 deletions
|
|
@ -257,6 +257,8 @@ class JobOrderController extends BaseController
|
||||||
$row['status'] = $statuses[$orow->getStatus()];
|
$row['status'] = $statuses[$orow->getStatus()];
|
||||||
$row['flag_advance'] = $orow->isAdvanceOrder();
|
$row['flag_advance'] = $orow->isAdvanceOrder();
|
||||||
|
|
||||||
|
$row['processor'] = $orow->getProcessedBy()->getFullName();
|
||||||
|
|
||||||
// add crud urls
|
// add crud urls
|
||||||
$row['meta']['update_url'] = $this->generateUrl($tier_params['edit_route'], ['id' => $row['id']]);
|
$row['meta']['update_url'] = $this->generateUrl($tier_params['edit_route'], ['id' => $row['id']]);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -238,6 +238,11 @@ class User implements AdvancedUserInterface, Serializable
|
||||||
return $this->last_name;
|
return $this->last_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getFullName()
|
||||||
|
{
|
||||||
|
return $this->first_name . ' ' . $this->last_name;
|
||||||
|
}
|
||||||
|
|
||||||
public function setContactNumber($num)
|
public function setContactNumber($num)
|
||||||
{
|
{
|
||||||
$this->contact_num = $num;
|
$this->contact_num = $num;
|
||||||
|
|
|
||||||
|
|
@ -94,8 +94,8 @@
|
||||||
title: 'Status'
|
title: 'Status'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'owner',
|
field: 'processor',
|
||||||
title: 'Owner'
|
title: 'Processor'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'Actions',
|
field: 'Actions',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue