diff --git a/app/Models/Member.php b/app/Models/Member.php index 1aed47fe..3163f842 100644 --- a/app/Models/Member.php +++ b/app/Models/Member.php @@ -242,19 +242,6 @@ class Member extends Model ); } - protected function name(): Attribute - { - if ($this->relationLoaded('person')) { - return Attribute::make( - get: fn () => $this->person->name ?? ($this->name ?? null) - ); - } else { - return Attribute::make( - get: fn () => $this->name ?? null - ); - } - } - protected function maritalStatus(): Attribute { if ($this->relationLoaded('person')) {