@if ($countryManager) @php $user = $countryManager->user @endphp @php $picture = 'profile.png' @endphp @if ( $user->thumb && file_exists(asset("storage/users/{$user->thumb}"))) @php $picture = $user->thumb @endphp @endif
@lang("content.name")
{{ $user->first_name." ".$user->last_name }}
Level
{{ $countryManager->level }}
@if ($reportees && count($reportees)) @foreach($reportees as $each) @if (!$each || !$each->user) @continue @endif @php $reportee = $each->user @endphp @php $picture = 'profile.png' @endphp @if ( $reportee->thumb && file_exists(asset("storage/users/{$reportee->thumb}"))) @php $picture = $reportee->thumb @endphp @endif
{{ $reportee->first_name." ".$reportee->last_name }}
{{--
Level
{{ $each->organizationLevel->level }}
--}}
@endforeach @endif
@endif