Added responsible company name to unfinished terminations in Order/Index
This commit is contained in:
@@ -170,6 +170,11 @@ class Termination extends mfBaseModel {
|
||||
return $this->workflowitems;
|
||||
}
|
||||
|
||||
if($name == "lineworker") {
|
||||
$this->lineworker = new Address($this->getProperty("building")->lineworker_id);
|
||||
return $this->lineworker;
|
||||
}
|
||||
|
||||
if($name == "files") {
|
||||
$this->files = TerminationFileModel::search(["termination_id" => $this->id]);
|
||||
return $this->files;
|
||||
|
||||
Reference in New Issue
Block a user