@section('title') {{ 'Business Insights' }} @endsection

Business Insights

Showing {{ $businesses->total() }} business{{ $businesses->total() === 1 ? '' : 'es' }} @if($from || $to) for @if($from) From: {{ $from }} @endif @if($to) To: {{ $to }} @endif @endif
@forelse($businesses as $business) @empty @endforelse
Name Place ID Category Address Email Phone Town / Region Website Created At USER Actions
{{ $business->name }} {{ $business->place_id }} {{ $business->category1 }}{{ $business->category2 ? ' / '.$business->category2 : '' }} {{ $business->address }} {{ $business->email }} {{ $business->phone }} {{ $business->town }}, {{ $business->region }} @if($business->website) {{ $business->website }} @else N/A @endif {{ $business->created_at->format('Y-m-d') }} @if($businessOwners[$business->id]->count()) @foreach($businessOwners[$business->id] as $user)
{{ $user->name ?? $user->email }} Owner {{ $user->source }} {{ $user->subscription?->plan?->name ?? 'No Plan' }}
@endforeach @else None @endif
View
No businesses found for this date range.
{{ $businesses->links() }}