Homeparty online, Cron SEPA

This commit is contained in:
Kevin Adametz 2021-04-23 14:54:09 +02:00
parent 4979c12d9a
commit 87f3fd3c7e
41 changed files with 1140 additions and 189 deletions

View file

@ -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;
}
}
}