Added more Roles (address types)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user