Home / @yield('breadcrumb')
    @php $notifications = App\Models\Notification::latest()->take(10)->get(); @endphp
  • {{count($notifications)}}
    • Notification
      • @foreach($notifications as $notification)
      • @if($notification->source === 'new_order') @elseif($notification->source === 'user_registration') @elseif($notification->source === 'withdrawal_request') @elseif($notification->source === 'investment_request') @elseif($notification->source === 'investment_refund_request') @endif
        {{$notification->header}}

        {{$notification->body}}

        {{$notification->created_at->diffForHumans()}}
        {{--
        --}}
      • @endforeach
    • {{--
    • --}}
    • {{Auth::guard('admin')->user()->name}} Admin
    • My Profile
    • Password
    • @csrf
      Log Out