@extends('layouts.superadmin') @section('title', 'Tenants') @section('page-title', 'All Tenants') @section('content')
@if(request()->hasAny(['search','status'])) Clear @endif
@forelse($tenants as $tenant) @empty @endforelse
Business Email Plan Users Status Trial Ends Joined Actions
{{ $tenant->profile->business_name ?? $tenant->name }}

{{ $tenant->slug }}

{{ $tenant->email }} {{ $tenant->plan }} {{ $tenant->users->count() }} {{ ucfirst($tenant->status) }} {{ $tenant->trial_ends_at ? $tenant->trial_ends_at->format('d M Y') : '—' }} {{ $tenant->created_at->format('d M Y') }}
View @if($tenant->status !== 'suspended')
@csrf
@else
@csrf
@endif
No tenants found
@if($tenants->hasPages())
{{ $tenants->links() }}
@endif
@endsection