@if ($inactiveUsers->count() > 0)
| Name |
Mobile |
Email |
Role |
User name |
Last login |
Associated Service/LSA |
@forelse($inactiveUsers as $user)
| {{ $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
|
@empty
| No inactive users found. |
@endforelse
@if($inactiveUsers->hasPages())
{{ $inactiveUsers->links('pagination::bootstrap-5') }}
@endif
@else
| No inactive users found. |
@endif