@php $user = auth()->user(); @endphp
{{-- @php
$CountNot= adminNotifications()->count() ;
@endphp --}}
{{-- {{$CountNot}} --}}
@if (adminUnNotifications() != 0)
{{ adminUnNotifications() }}
@endif
{{-- Mark all as read --}}
Today
@if (adminNotifications()->count() > 0) @foreach (adminNotifications() as $notification) {{-- --}}
@elseif ($notification->type == 'App\Notifications\Admin\NewPlanPurchaseNotification')
@elseif ($notification->type == 'App\Notifications\Admin\NewUserRegisteredNotification')
@endif
{{ $notification->data ? $notification->data['title'] : '-' }} {{ $notification->created_at->diffForHumans() }}