@extends('layouts.master') @section('title','Employees') @section('action','Lists') @section('button') @can('create_employee') @endcan @endsection @section('main-content')
@include('admin.section.flash_message') @include(('admin.users.common.breadcrumb'))
@can('show_detail_employee') @endcan @canany(['edit_employee','delete_employee','change_password','force_logout']) @endcanany @forelse($users as $key => $value) @can('show_detail_employee') @endcan @canany(['edit_employee','delete_employee','change_password','force_logout']) @endcanany @empty @endforelse
#Full Name Address Email Designation Department Role Shift WorkPlace Is ActiveAction

{{ucfirst($value->name)}}

({{ucfirst($value?->role?->name) ?? 'N/A'}})
{{ucfirst($value->address)}} {{$value->email}} {{($value->post) ? ucfirst($value->post->post_name):'N/A'}} {{($value->department) ? ucfirst($value->department->dept_name):'N/A'}} {{($value->role) ? ucfirst($value->role->name):'N/A'}} {{($value->officeTime) ? ucfirst($value->officeTime->shift):'N/A'}} {{($value->workspace_type == \App\Models\User::FIELD) ? 'Field':'Office'}}

No records found!

{{$users->appends($_GET)->links()}}
@include('admin.users.common.password') @endsection @section('scripts') @include('admin.users.common.scripts') @endsection