{{-- --}} {{ config('app.name', 'Laravel') }}
@stack('pageTitle') {{-- Dashboard --}}
    {{--
  • --}}
  • {{--
  • --}} {{--
  • --}}
  • {{--
  • --}} {{--
  • Notification

    • image
      Dr sultads Send you Photo
      29 July 2020 - 02:26 PM
    • KG
      Resport created successfully
      29 July 2020 - 02:26 PM
    • Reminder : Treatment Time!
      29 July 2020 - 02:26 PM
    • image
      Dr sultads Send you Photo
      29 July 2020 - 02:26 PM
    • KG
      Resport created successfully
      29 July 2020 - 02:26 PM
    • Reminder : Treatment Time!
      29 July 2020 - 02:26 PM
    See all notifications
  • --}} {{--
    • 10 minutes ago
      Youtube, a video-sharing website, goes live $500.
    • 20 minutes ago
      New order placed #XF-2356.

      Quisque a consequat ante Sit amet magna at volutapt...

    • 30 minutes ago
      john just buy your product Sell $250
    • 15 minutes ago
      StumbleUpon is acquired by eBay.
    • 20 minutes ago
      Mashable, a news website and blog, goes live.
    • 20 minutes ago
      Mashable, a news website and blog, goes live.
  • --}}
  • @php $unreadCount = auth()->user()->unreadNotifications()->count(); @endphp {{ $unreadCount > 99 ? '99+' : $unreadCount }}

    {{ __('labels.notification') }}

      @php $notifications = auth()->user()->unreadNotifications()->limit(20)->get(); @endphp @forelse($notifications as $notification) @php $data = is_array($notification->data) ? $notification->data : (array) $notification->data; @endphp @if(!empty($data['title'])) @php $notifUrl = $data['data']['url'] ?? null; @endphp
    • info
      {{ $data['title'] }}
      @if(!empty($data['message']))

      {{ $data['message'] }}

      @endif {{ $notification->created_at?->format('d.m.Y H:i') }}
    • @endif @empty
    • {{ __('labels.no_notifications') }}
    • @endforelse
  • {{--
  • --}}
    • {{ auth()->user()->name }}

      {{-- Admin --}}
    Profile {{ __('labels.message') }} {{-- Notification --}} {{-- Settings --}}
    @csrf