{{ $canManage ? __('modules.workers.title') : __('modules.workers.teamTitle') }}

{{ $canManage ? __('employeeCenter.description') : __('modules.workers.teamDescription') }}

@if($canManage)@endif
@if($notice)
{{ __('users.toast.'.$notice) }}
@endif
@foreach([['users','total',$rows->count()],['check-check','active',$rows->filter->isActive()->count()],['ban','inactive',$rows->reject->isActive()->count()]] as [$icon,$key,$value])

{{ __('employeeCenter.'.$key) }}

{{ $value }}

@endforeach

{{ __('modules.workers.directoryTitle') }}

@if($canManage)@endif @foreach($rows as $row) @if($canManage)@endif @endforeach
{{ __('employeeCenter.user') }}{{ __('users.role') }}{{ __('users.status') }}{{ __('users.actions') }}
{{ $row->initials() }}
{{ $row->name }}{{ $row->email }}{{ __('users.username') }}: {{ $row->username() }}
{{ $row->role->label() }} {{ $row->isActive() ? __('users.active') : __('users.inactive') }}

{{ __('users.empty') }}

@if($canManage) @endif @if($canManage && $modal) @include('livewire._employee-modal') @endif