$user->hasFunction('president'),
'text-primary' => $user->hasAnyFunction(['secretary', 'events', 'doctors', 'pvg']),
'text-secondary' => $user->functions->isEmpty(),
])>
@if( !$user->profilePhoto && ($user->role->is_pvg_member || $user->role->is_hlc_member))
@else
@endif
@if($user->functions->isNotEmpty())
{{ $user->functions->pluck('name')->implode(', ') }}
@endif
{{-- treinamento --}}
@can('user-confidential')
@if( ($user->role->is_hlc_member && !$user->colih_training) || ($user->role->is_pvg_member && !$user->gvp_training) )
@if($user->city || ($user->congregation && $user->congregation->city))
{{ $user->city ? $user->city->city : (($user->congregation) ? ($user->congregation->city ? $user->congregation->city->city : ''):'') }}
{!! $user->state ? '('.$user->state->uf.')' : '(cong)' !!}
@else
@endif
@if($user->region && $data['isMultipleRegions'])
{{$user->region->name}}
@endif
{{-- hospitais --}}
@if($user->hospitals)
@foreach($user->hospitals as $hosp)
@if ($loop->first)
@endif
{{$hosp->hospital->nameOrNickname }}{{!$loop->last ? ', ': ''}}
@endforeach
@endif