@php $isAdmin = $isAdmin ?? (auth()->check() && strcasecmp(auth()->user()->role ?? '', 'Admin') === 0); @endphp @if ($isAdmin) @endif