@php $fmt = app(\App\Services\Formatter::class); @endphp
@if ($this->hasActiveFilters()) @endif
@if ($rows->isEmpty()) @else Shop Owner Product Plan Status Term ends Last seen @foreach ($rows as $tenant) @php $subscription = $tenant->latestSubscription; @endphp {{ $tenant->business_name }}

{{ $tenant->city ?: $tenant->country }}

{{ $tenant->owner_name }}

{{ $tenant->owner_phone ?: $tenant->owner_email }}

{{ $tenant->product?->name ?? '—' }} {{ $subscription?->plan?->name ?? '—' }} @if ($subscription?->is_trial) Trial @endif {{ $tenant->status->label() }} @if ($subscription?->ends_at) {{ $fmt->date($subscription->ends_at) }}

$subscription->daysRemaining() <= 3, ])> {{ $subscription->daysRemaining() }} day(s) left

@else — @endif {{ $fmt->ago($tenant->last_activity_at) }} @endforeach
@endif