Added edit indication to workflow

This commit is contained in:
Frank Schubert
2021-08-30 20:55:21 +02:00
parent fc9e943466
commit aa05334ce2
8 changed files with 185 additions and 97 deletions

View File

@@ -24,12 +24,17 @@ class Address extends mfBaseModel {
}
public function getCompanyOrName() {
public function getCompanyOrName($returnParent = false) {
if($returnParent && $this->parent_id) {
return $this->getProperty("parent")->getCompanyOrName(true);
}
if($this->company) {
return $this->company;
}
return $this->getFullName();
}
public function loadAddresstypes() {