@php $editEmployeePermission = user()->permission('edit_employees'); @endphp
{{ !is_null($employee->employeeDetail) && !is_null($employee->employeeDetail->designation) ? ucwords($employee->employeeDetail->designation->name) : '' }} • {{ isset($employee->employeeDetail) && !is_null($employee->employeeDetail->department) && !is_null($employee->employeeDetail->department) ? ucwords($employee->employeeDetail->department->team_name) : '' }}
@if ($employee->status == 'active')@lang('app.lastLogin') @if (!is_null($employee->last_login)) {{ $employee->last_login->timezone(global_setting()->timezone)->format(global_setting()->date_format . ' ' . global_setting()->time_format) }} @else -- @endif
@else
@lang('modules.employees.gender')
@lang('modules.employees.activity')
{{ $activity->created_at->timezone(global_setting()->timezone)->format(global_setting()->time_format) }}