@if($admin->departments->id == 10)
@endif
@if($user->unreadnotifications->count() == 0)
@else
@endif
Notifications
@if($user->unreadnotifications->count() > 0)
Clear All
@endif
@if($user->unreadnotifications->count() == 0)
No Notification Found
@endif
@foreach($user->unreadnotifications as $key => $n) @if($key < 3) @if(isset($n->data['name']['title'])) @if($n->data['name']['title'] == 'Leave Apply')
{{$n->data['name']['title']}}
{{$n->data['name']['msg']}}
@elseif($n->data['name']['title'] == 'Jobsheet Apply')
{{$n->data['name']['title']}}
{{$n->data['name']['msg']}}
@elseif($n->data['name']['title'] == 'suggestion')
{{$n->data['name']['title']}}
{{$n->data['name']['msg']}}
@elseif($n->data['name']['title'] == 'WFH Apply')
{{$n->data['name']['title']}}
{{$n->data['name']['msg']}}
@else
{{$n->data['name']['title']}}
{{$n->data['name']['msg']}}
@endif @else
@if(isset($n->data['name']['wishes'])) {{$n->data['name']['name']}}
Now
{{$n->data['name']['wishes']}} @endif
@endif @endif @endforeach
@if($user->unreadnotifications->count() > 3)
View all
@endif
@if($admin->profile_picture =='')
@else
@endif
{{$admin->first_name}} {{$admin->last_name}}
Profile
Switch to Employee
Change Password
Lock Screen
Sign Out
@if(!Request::is('admin_dashboard'))
Back
@endif
Dashboard