@php $u = auth()->user(); $groups = \App\Support\PortalNav::for($u); seo()->noindex()->title(trim($__env->yieldContent('title', 'Portal')).' ยท '.\App\Support\PortalNav::label($u)); @endphp {!! seo()->head() !!} {!! page_css() !!} @stack('head')
{{ now()->format('l, d F Y') }}
@if($u->hasPermission('quotes.manage')) New quote@endif @php $unread = \App\Models\UserNotification::where('user_id', $u->id)->whereNull('read_at')->count(); @endphp @if($unread){{ $unread > 9 ? '9+' : $unread }}@endif @if($u->isStaff())@endif
@csrf
@include('partials.flash-portal') @hasSection('title')

@yield('title')

@hasSection('subtitle')

@yield('subtitle')

@endif
@hasSection('actions')
@yield('actions')
@endif
@endif @yield('content')
@stack('scripts')