@if ($user->portal)

{{ ucfirst($user->forename) }} {{ ucfirst($user->surname) }}

@if ($profile && $profile->company)

{{ ucfirst($profile->company) }}

@endif @if ($profile && $profile->position)

{{ ucfirst($profile->position) }}

@endif
@else

Anonymous Attendee

{{ $attendee->registration->company }}

@endif @if (!$same && $user) @if (!auth()->user()->sent_connections->contains(function($item, $key) use ($user) { return $item->from_user_id === auth()->user()->id && $item->to_user_id === $user->id; })) @else @endif @endif