@if(isset($user->id) && in_array($user->role, ['General', 'PI'])) @php $postId = (isset($post->id) && !empty($post->id)) ? '/' . $post->id : ''; @endphp @else
@endif @push('footerscript') @endpush