@yield('content')
@if(isset($datatable_enabled) || Session::has('datatable')) @endif @if(isset($select2_enabled) || Session::has('select2')) @endif @if(Session::has('summernote')) @endif @if(Session::has('toastr')) @endif @stack('styles') @php $unread = $total = 0; $notifications = $unreadnotifications = []; if(auth()->check()) { $unreadnotifications = auth()->user()->unreadnotifications; $notifications = auth()->user()->notifications; $total = $notifications->count(); $unread = $unreadnotifications->count(); } @endphp
@include('layouts.includes.header') @include('layouts.includes.sidebar')