• @if(App::currentlocale() == 'ar') {{trans('lang.language')}} @else {{trans('lang.language')}} @endif
  • {{count(auth()->user()->unreadNotifications)}}
    {{trans('lang.notification')}} {{count(auth()->user()->unreadNotifications)}}
    @csrf
    @foreach(auth()->user()->unreadNotifications as $notification) type,'NewEmployeeApplication')) href="{{route('all_empapp')}}" @elseif(strpos($notification->type,'NewInterviewAppointment')) href="{{route('interview_form')}}" @elseif(strpos($notification->type,'NewApproval')|| strpos($notification->type,'RequestRejected') || strpos($notification->type,'RequestApproved')||strpos($notification->type,'LeaveRequestBack') ) href="{{$notification->data['url']}}" @elseif(strpos($notification->type,'AdminTaskNotification') ) href="{{$notification->data['url']}}" @elseif(strpos($notification->type,'OfficialFilesHR') ) href="{{$notification->data['url']}}" @elseif(strpos($notification->type,'HRDocumentsExpiry') ) href="{{$notification->data['url']}}" @elseif(strpos($notification->type,'ShipmentTicketNotification') ) href="{{$notification->data['url']}}" @elseif(strpos($notification->type,'NCRNotification') ) href="{{$notification->data['url']}}" @elseif(strpos($notification->type,'ActionItemNotification') ) href="{{$notification->data['url']}}" @else href="{{route('leave_application.show',$notification->data['app']['id'])}}" @endif class="readat dropdown-item py-3" data-id="{{$notification->id}}"> {{$notification->created_at->diffForHumans()}}
    @if(strpos($notification->type,'NewEmployeeApplication')) {{trans('lang.employment_application')}} @elseif(strpos($notification->type,'NewInterviewAppointment')) {{trans('lang.interview')}} @elseif(strpos($notification->type,'NewApproval')|| strpos($notification->type,'RequestRejected') || strpos($notification->type,'RequestApproved')||strpos($notification->type,'LeaveRequestBack')) {{$notification->data['title']}} @elseif(strpos($notification->type,'AdminTaskNotification')) {{trans('lang.admin_tasks')}} @elseif(strpos($notification->type,'OfficialFilesHR')) {{trans('lang.official_info')}} @elseif(strpos($notification->type,'HRDocumentsExpiry')) {{trans('lang.official_info')}} @elseif(strpos($notification->type,'ShipmentTicketNotification') ) {{trans('lang.you_have_new_request_for_shipment_ticket')}} @elseif(strpos($notification->type,'NCRNotification')) {{trans('lang.you_have_new_ncr')}} @elseif(strpos($notification->type,'ActionItemNotification')) {{trans('lang.you_have_action_item_from_ncr')}} @else {{trans('lang.leave_application')}} @endif
    {{$notification->data['message']}}
    @endforeach
    View all
  • @if(Auth::user()->img_path !=null) @else @endif {{Auth::user()->name }}
    {{Auth::user()->name }} {{trans('lang.profile')}}
    {{trans('lang.logout')}}
    @csrf
  • logo-small