Agent Details
@if($agent->profilePicture)
{{ $agent->first_name }}
@else
{{ strtoupper(substr($agent->first_name, 0, 1) . substr($agent->last_name, 0, 1)) }}
@endif
{{ $agent->first_name }} {{ $agent->last_name }}

{{ $agent->email }}

{{ $agent->phone }}


Contact Information

Mobile: {{ $agent->mobile ?? 'Not provided' }}

Fax: {{ $agent->fax ?? 'Not provided' }}

Notification Preference: {{ ucfirst($agent->notification_preference) }}

Status

@if($agent->status == 'active') Active @else Inactive @endif


Address Information
@if($agent->address)

{{ $agent->address->address_line_1 }} @if($agent->address->address_line_2)
{{ $agent->address->address_line_2 }} @endif
{{ $agent->address->city ?? '' }}{{ $agent->address->city ? ', ' : '' }} {{ $agent->address->state ?? '' }} {{ $agent->address->zip ?? '' }}
{{ $agent->address->country ?? '' }}

@else

No address information available

@endif

Agency Information
@if($agent->agencies && count($agent->agencies) > 0)
    @foreach($agent->agencies as $agency)
  • {{ $agency->name }}
  • @endforeach
@else

No agency information available

@endif
Edit