@vite('resources/css/app.css') @include('Admin.sidebar')

Employee

Export
@if ($errors->any())
{{ $errors->first('error') }}
@endif
@foreach($users as $user) @endforeach
Profile Name Position Date Created Date updated View Action
@if($user->profile != null) User Profile Picture @else User Profile Picture @endif {{$user->employee_name }}
{{$user->email}}
@if ($user->employee_type === 'Top_Management') Top Management @elseif ($user->employee_type === 'OperationAdmin') Admin Operation @elseif (($user->permissions->contains('permission', 'front-end') || $user->permissions->contains('permission', 'back-end')) && $user->employee_type === 'OperationEmployee') Developer @elseif ($user->permissions->contains('permission', 'designer')) Designer @else {{ $user->employee_type }} @endif {{ \Carbon\Carbon::parse($user->created_at)->format('F j, Y g:i A') }} {{ \Carbon\Carbon::parse($user->updated_at)->format('F j, Y g:i A') }} view projects
@include('Admin.modal')