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

Create Post

@else
@endif