@extends('layouts.app',['path'=>'employee']) @section('title', 'Employees - HRMS') @section('content') @can('employee.read|employee.create|employee.update|employee.delete|employee.view_detail')
@include('partials.new_alerts')

Total Employee

{{ $total_employees }}

Active

{{ $total_active_employees }}

InActive

{{ $total_inactive_employees }}

Employee List
Clear Filters
{{-- --}} @foreach ($employees as $employee) @endforeach
Employee ID Name Designation Joining Date Email Phone Status Actions
@if($employee['employee_no']!==null) @can('employee.view_detail') @endcan

{{ $employee['employee_no'] }}

@can('employee.view_detail')
@endcan
@endif
@can('employee.view_detail') @endcan @if($employee['profile_image']) img @else img @endif @can('employee.view_detail') @endcan

@can('employee.view_detail') @endcan {{ $employee['name'] }} @can('employee.view_detail') @endcan

{{ $employee['department']['name']??'' }}
{{ $employee['designation']['name']??'' }} {{ formatDisplayDate($employee['date_of_joining']) }} {{ $employee['personal_email'] ?? $employee['official_email'] }} {{ $employee['phone'] }} @if($employee['status'] ) Active @else Inactive @endif
@can('employee.view_detail') @endcan @if(!$employee['isRootUser']) @can('employee.delete') @endcan @endif @can('employee.send_invitation') @if(!$employee['isUserSetPasswordAlready'] && !$employee['is_exit']) @endif @endcan
Employees Grid
@foreach ($employees as $employee)
{{-- --}}
{{ $employee['name'] }}
{{ $employee['designation']['name']??'' }}
Emp NO
{{ $employee['employee_no'] }}
Joining Date
{{ formatDisplayDate($employee['date_of_joining']) }}
Status
@if($employee['status']) Active @else Inactive @endif
@endforeach
@endcan @endsection