@if(isset(\Auth::user()->id) && in_array(\Auth::user()->role, ['General', 'PI']))

{{\Auth::user()->full_name}}{{(config('app.env') == 'local') ? '-'.\Auth::user()->role : ''}}

@if(\Auth::user()->role == 'General') @php $pi = explode(' ' ,\Auth::user()->investigator_name); $pi = $pi[1] ?? $pi[0]; @endphp

{{$pi}} Laboratory

@endif

{{\Auth::user()->position}}

{{\Auth::user()->research_name}}

{{\Auth::user()->short_bio}}

@endif @push('footerscript') @endpush