@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->timezone)->format($global->date_format . ' ' . $global->time_format) }} @else -- @endif
@else
@lang('modules.employees.gender')
@lang('modules.employees.activity')
{{ $activity->created_at->format($global->time_format) }}