Added more Roles (address types)

This commit is contained in:
Frank Schubert
2021-06-22 21:41:06 +02:00
parent b41a28f1dc
commit 29e894ebd5
7 changed files with 49 additions and 20 deletions

View File

@@ -21,6 +21,13 @@ class Address extends mfBaseModel {
}
public function getCompanyOrName() {
if($this->company) {
return $this->company;
}
return $this->getFullName();
}
private function loadAddresstypes() {
if(!$this->id) {
return false;