Display owner in job order list
This commit is contained in:
parent
2ee41da273
commit
1d0aaa211a
2 changed files with 7 additions and 0 deletions
|
|
@ -257,6 +257,8 @@ class JobOrderController extends BaseController
|
|||
$row['status'] = $statuses[$orow->getStatus()];
|
||||
$row['flag_advance'] = $orow->isAdvanceOrder();
|
||||
|
||||
$row['owner'] = $orow->getProcessedBy()->getFullName();
|
||||
|
||||
// add crud urls
|
||||
$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;
|
||||
}
|
||||
|
||||
public function getFullName()
|
||||
{
|
||||
return $this->first_name . ' ' . $this->last_name;
|
||||
}
|
||||
|
||||
public function setContactNumber($num)
|
||||
{
|
||||
$this->contact_num = $num;
|
||||
|
|
|
|||
Loading…
Reference in a new issue