@php $user = auth()->user(); $isDirector = $user?->isDirector(); @endphp