@php $isAdmin = strtolower(auth()->user()->role->role) == 'admin'; $selectedId = old('location_id', auth()->user()->location_id); @endphp {{-- Bootstrap add --}}