navbar brand
{{--
--}}
    • Messages Mark all as read
    • @php $userNotifications = App\Models\UserNotification::where('is_admin_read',0)->latest()->take(6)->get(); $notiCount = App\Models\UserNotification::where('is_admin_read',0)->count(); @endphp
    • Img Profile
      Jimmy Denis How are you ? 5 minutes ago
      Img Profile
      Chad Ok, Thanks ! 12 minutes ago
      Img Profile
      Jhon Doe Ready for the meeting today... 12 minutes ago
      Img Profile
      Talha Hi, Apa Kabar ? 17 minutes ago
    • See all messages
  • {{$notiCount}}
    • @if($userNotifications->count() > 0)
      You have {{$userNotifications->count()}} new notification
      @endif
    • @if($userNotifications->count() > 0) @foreach($userNotifications as $noti) @php $redirectUrl = '#'; if($noti->type == 9){ $redirectUrl = route('admin.tickets.index'); }elseif($noti->type == 1){ $redirectUrl = route('admin.orders'); }elseif($noti->type == 10){ $redirectUrl = route('admin.user.details',$noti->user->id); }else{ $redirectUrl = route('admin.notification.index'); } @endphp
      Img Profile
      {{$noti->user->name ?? $noti->user->email}} {{ $noti->title }} {{ $noti->created_at->diffForHumans() }}
      @endforeach @else

      No Notification

      @endif
    • See all notifications
  • Quick Actions Shortcuts
    Settings
    Users
    Reports
    Banners
    Orders
    Packages
  • ...
    Hi, {{auth()->user()->name}}
    • image profile

      {{auth()->user()->name}}

      {{auth()->user()->email}}

    • My Profile
      Logout