License compliance dashboard
{{-- Top metrics cards --}}
@if($activeTab == 'licensee')
Total Licensee Users
{{ $metrics['licensee']['total'] ?? 0 }}
Active Licensee Users
{{ $metrics['licensee']['active'] ?? 0 }}
Inactive Licensee Users
{{ $metrics['licensee']['inactive'] ?? 0 }}
@endif @if($activeTab == 'lsa')
Total LSA Users
{{ $metrics['lsa']['total'] ?? 0 }}
Active LSA Users
{{ $metrics['lsa']['active'] ?? 0 }}
Inactive LSA Users
{{ $metrics['lsa']['inactive'] ?? 0 }}
@endif
{{ $this->getTabs()[$activeTab] ?? 'Users' }}
{{ $inactiveUsers->total() }} Total
@if ($inactiveUsers->count() > 0)
@forelse($inactiveUsers as $user) @empty @endforelse
Name Mobile Email Role User name Last login Associated Service/LSA
{{ $user->NAME ?? '-' }} {{ $user->AUTH_PERSON_TELEPHONE ?? '-' }} {{ $user->AUTH_PERSON_EMAIL ?? '-' }} {{ $user->USER_TYPE ?? '-' }} {{ $user->USER_ID ?? '-' }} {{ ($user->loginHistory?->LAST_LOGIN_DT) ? (is_string($user->loginHistory->LAST_LOGIN_DT) ? date('d-m-Y', strtotime($user->loginHistory->LAST_LOGIN_DT)) : ($user->loginHistory->LAST_LOGIN_DT instanceof \Carbon\Carbon ? $user->loginHistory->LAST_LOGIN_DT->format('d-m-Y') : $user->loginHistory->LAST_LOGIN_DT)) : 'Never' }} @if($activeTab == 'lsa') LSA - {{ $user->lsaMst?->LSA_NAME??'' }} @else {{ $this->getAssociatedServiceDetails($user->USER_ID) }} @endif
No inactive users found.
@if($inactiveUsers->hasPages())
{{ $inactiveUsers->links('pagination::bootstrap-5') }}
@endif @else No inactive users found. @endif