Mails etc. in Lead finish

This commit is contained in:
Kevin Adametz 2021-05-11 17:07:20 +02:00
parent 66ca252bfa
commit b362b93bca
45 changed files with 1460 additions and 418 deletions

View file

@ -153,6 +153,11 @@ class Customer extends Model
{
return $this->hasMany(Lead::class);
}
public function getSalutation(){
return $this->salutation_id == 1 ? 'Herr' : 'Frau';
}
public function fullName()
{
if ($this->firstname) {