@extends('portal_pages.layouts.master') @section('content')
@if (session()->has('success'))
@if (is_array(session('success')))
    @foreach (session('success') as $message)
  • {{ $message }}
  • @endforeach
@else {{ session('success') }} @endif
@endif
@foreach ($all_employees as $all_emps) @endforeach
Employee ID Name Email Mobile Join Date Role Status Action
{{ $all_emps->user_id }}

{{ $all_emps->full_name }} {{ isset($all_emps->designation->des_title) ? $all_emps->designation->des_title : "Please add Designation" }}

{{ isset($all_emps->userinfo->email) ? $all_emps->userinfo->email : 'N/A' }} {{ $all_emps->persnol_number }} {{ isset($all_emps->userinfo->created_at) ? $all_emps->userinfo->created_at : 'N/A' }} {{ $all_emps->status == 1 ? 'Active' : 'InActive' }}
@endsection