diff --git a/app/Models/ClientContact.php b/app/Models/ClientContact.php index c2a7e340fc84..04307dce367e 100644 --- a/app/Models/ClientContact.php +++ b/app/Models/ClientContact.php @@ -351,5 +351,12 @@ class ClientContact extends Authenticatable implements HasLocalePreference return config('ninja.react_url')."/#/clients/{$this->client->hashed_id}"; } + public function showRff(): bool + { + if (\strlen($this->first_name) === 0 || \strlen($this->last_name) === 0 || \strlen($this->email) === 0) { + return true; + } + return false; + } }