Homeparty online, Cron SEPA
This commit is contained in:
parent
13fb2cfe98
commit
36872100c6
41 changed files with 1140 additions and 189 deletions
|
|
@ -218,4 +218,12 @@ class UserAccount extends Model
|
|||
return isset($this->notice[$key]) ? $this->notice[$key] : false;
|
||||
}
|
||||
|
||||
public function getPhoneNumber(){
|
||||
if($this->phone && $this->phone !== ""){
|
||||
return ($this->pre_phone ? $this->pre_phone->phone : '')." ".$this->phone;
|
||||
}
|
||||
if($this->mobil && $this->mobil !== ""){
|
||||
return ($this->pre_mobil ? $this->pre_mobil->phone : '')." ".$this->mobil;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue