Added stuff to order form
This commit is contained in:
@@ -75,6 +75,11 @@ class Termination extends mfBaseModel {
|
||||
public function getProperty($name) {
|
||||
if($this->$name == null) {
|
||||
|
||||
if($name == "status") {
|
||||
$this->status = TerminationstatusModel::getOne($this->status_id);
|
||||
return $this->status;
|
||||
}
|
||||
|
||||
$classname = ucfirst($name);
|
||||
$idfield = $name."_id";
|
||||
$this->$name = new $classname($this->$idfield);
|
||||
|
||||
Reference in New Issue
Block a user