{{ __('Registered Schools') }} {{ __('Manage tenant schools, domains, and account status from one place.') }}
{{ __('Search') }} @if(request('search')) {{ __('Clear') }} @endif
@forelse($tenants as $tenant) @empty @endforelse
{{ __('ID') }} {{ __('Tenant ID') }} {{ __('School Name') }} {{ __('Primary Domain') }} {{ __('Status') }} {{ __('Actions') }}
{{ $tenant->id }} {{ $tenant->tenant_id }} {{ $tenant->school_name ?: 'N/A' }} @if($tenant->domains->isNotEmpty()) {{ $tenant->domains->first()->domain }} @else {{ __('No domain') }} @endif {{ $tenant->is_active ? __('Active') : __('Suspended') }}
@csrf @method('DELETE')
{{ __('No schools found.') }}
{{ $tenants->links() }}