• logo
    @if($employee_data->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) @php $days = now()->diffInMinutes(\Carbon\Carbon::parse($n->created_at)); if($days > 1440) { $days = now()->diffInDays(\Carbon\Carbon::parse($n->created_at)) . ' Days'; } else if($days > 60) { $days = now()->diffInHours(\Carbon\Carbon::parse($n->created_at)) . ' Hrs '; } else { $days = $days . ' Mins'; } @endphp @if($key < 3) @if(isset($n->data['name']['title'])) @if($n->data['name']['title'] == 'Leave')
    {{$n->data['name']['title']}}

    {{$n->data['name']['msg']}}

    {{$days}}
    @elseif($n->data['name']['title'] == 'job sheet')
    {{$n->data['name']['title']}}

    {{$n->data['name']['msg']}}

    {{$days}}
    @elseif($n->data['name']['title'] == 'WFH')
    {{$n->data['name']['title']}}

    {{$n->data['name']['msg']}}

    {{$days}}
    @else
    {{$n->data['name']['title']}}

    {{$n->data['name']['msg']}}

    {{$days}}
    @endif @else
    @if(isset($n->data['name']['wishes'])) {{$n->data['name']['name']}}

    {{$n->data['name']['wishes']}}

    @endif
    {{$days}}
    @endif @endif @endforeach
    @if($user->unreadnotifications->count() > 3)

    View all

    @endif
  • @if($employee_data->profile_picture =='') @else @endif {{$employee_data->first_name}} {{$employee_data->last_name}}
    Profile
    @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'Super Admin')
    Switch to Admin
    @endif
    Change Password
    Lock Screen
    My Points
    Sign Out
@if(!Request::is('employee_dashboard')) @endif
    1. Dashboard
    2. Employee