@php $headerBgColor = \App\Http\Helpers\SettingHelper::get('sidebar_bg_color', '#ffffff'); $headerBgColorDark = \App\Http\Helpers\SettingHelper::get('sidebar_bg_color_dark', '#111827'); @endphp
@php $_sidebarLogo = \App\Http\Helpers\SettingHelper::get('sidebar_logo', 'dynaweb4/img/logo.png'); $_sidebarLogoUrl = str_starts_with($_sidebarLogo, 'dynaweb4/') ? asset($_sidebarLogo) : Storage::url($_sidebarLogo); @endphp Logo
@php use App\Models\Backend\ContentFeedbackMain; $pendingCount = ContentFeedbackMain::whereIn('status', ['PENDING', 'READ'])->count(); @endphp
Notification
@if($pendingCount > 0) @php $pendingFeedbacks = ContentFeedbackMain::whereIn('status', ['PENDING', 'READ']) ->orderBy('created_at', 'desc') ->take(5) ->get(); @endphp @else

No new notifications

@endif View All Notification
@php use App\Models\Backend\BackendUser; $user = BackendUser::find(auth()->id()); @endphp
@if($user->profile_picture) {{ $user->username }} @else
{{ strtoupper(substr($user->first_name ?? $user->username ?? 'U', 0, 1)) }}
@endif
{{ $user->last_name ?? '-' }}
{{ ($user?->first_name ?? '-') . ' ' . ($user?->last_name ?? '-') }} {{ $user->email ?? '-' }}
@csrf