@if(session('success'))
@endif
Total Markets
{{ $stats['total_tenants'] }}
All registered markets
Active Markets
{{ $stats['active_tenants'] }}
Currently operational
Inactive Markets
{{ $stats['inactive_tenants'] }}
Temporarily disabled
Total Users
{{ $stats['total_users'] }}
Across all markets
📈 Market Growth (Last 6 Months)
📋 Contract Duration Distribution
@if($locationData->count() > 0)
@endif
@if($expiringContracts->count() > 0)
⚠️ Contracts Expiring Soon (Next 30 Days)
| Market Name |
Location |
Contract End Date |
Days Remaining |
Status |
Action |
@foreach($expiringContracts as $tenant)
| {{ $tenant->name }} |
{{ $tenant->location ?? 'N/A' }} |
{{ $tenant->contract_end_date->format('M d, Y') }} |
{{ $tenant->days_remaining }} days |
Expiring Soon |
View
|
@endforeach
@endif
@if($expiredContracts > 0)
{{ $expiredContracts }} market(s) have expired contracts. Please review and renew.
@endif
🆕 Recently Created Markets
@if($recentTenants->count() > 0)
| Market Name |
Subdomain |
Location |
Contract |
Status |
Created |
Action |
@foreach($recentTenants as $tenant)
| {{ $tenant->name }} |
{{ $tenant->subdomain }} |
{{ $tenant->location ?? 'N/A' }} |
@if($tenant->contract_duration)
{{ $tenant->contract_duration }} months
@else
N/A
@endif
|
{{ $tenant->is_active ? 'Active' : 'Inactive' }}
|
{{ $tenant->created_at->format('M d, Y') }} |
View
|
@endforeach
@else
@endif