{{ app()->getLocale() == 'en' ? 'Administration' : 'Administrasi' }} {{ app()->getLocale() == 'en' ? 'Team Control Center' : 'Pusat Kontrol Tim' }}

{{ __('ui.users') ?? (app()->getLocale() == 'en' ? 'Team Management' : 'Manajemen Tim') }}

{{ app()->getLocale() == 'en' ? 'Manage operatives, security clearances, and operational status.' : 'Kelola staf pelaksana, izin keamanan, dan status operasional.' }}

{{ $users->count() }} {{ app()->getLocale() == 'en' ? 'Total Operatives' : 'Total Staf' }}
{{ app()->getLocale() == 'en' ? 'Add New Operative' : 'Tambah Pelaksana' }}
@foreach($users as $user)
{{ $user->is_active ? (app()->getLocale() == 'en' ? 'Authorized' : 'Diizinkan') : (app()->getLocale() == 'en' ? 'Suspended' : 'Ditangguhkan') }}
@if($user->isOnline())
Online
@else
Offline
@endif
{{ $user->name }} @if($user->last_login_at && $user->last_login_at->isToday())
@endif

{{ $user->name }}

@if($user->two_factor_secret) @endif

{{ $user->email }}

{{ app()->getLocale() == 'en' ? 'Productivity' : 'Produktivitas' }}

{{ $user->invoices_count }} {{ app()->getLocale() == 'en' ? 'Invoices' : 'Faktur' }}

{{ app()->getLocale() == 'en' ? 'Status' : 'Status' }}

{{ $user->isOnline() ? (app()->getLocale() == 'en' ? 'Active Now' : 'Aktif Sekarang') : ($user->last_seen ? $user->last_seen->diffForHumans() : (app()->getLocale() == 'en' ? 'Never' : 'Tidak Pernah')) }}
{{ $user->role }}
@if($user->id !== auth()->id()) @endif
@endforeach
@include('livewire.modals.hak-akses-modal') @include('livewire.modals.keamanan-modal') @include('livewire.modals.nonaktifkan-modal')