@extends('layouts.app') @section('content')
Manage platform administrators who can oversee multiple companies
| Name | Status | Companies Managed | Created | Actions | |
|---|---|---|---|---|---|
| {{ $adminUser->name }} @if($adminUser->trashed()) Deleted @endif | {{ $adminUser->email }} | @if($adminUser->admin_status === 'active') Active @elseif($adminUser->admin_status === 'suspended') Suspended @else Inactive @endif |
@if($adminUser->managedCompanies->count() > 0)
@foreach($adminUser->managedCompanies->take(3) as $company)
{{ $company->name }}
@endforeach
@if($adminUser->managedCompanies->count() > 3)
+{{ $adminUser->managedCompanies->count() - 3 }} more
@endif
@else
No companies assigned
@endif
|
{{ $adminUser->created_at->format('M d, Y') }} | @if($adminUser->trashed()) @else @endif |
|
No admin users found
|
|||||