@php $isAuth = request()->routeIs('login') || request()->routeIs('verification.*'); @endphp @if($isAuth)
P
PMS
Property Suite
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @yield('content')
@else
@include('components.notification-bell') @auth
@csrf
@endauth
U
@php $cp = session('current_project_id'); @endphp @if(!$cp)
No project selected. Go to Projects and set a current project before creating records.
@endif @if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @yield('content')
@endif