@extends('backend.app') @push('style') @endpush @section('title', 'Company Analytics') @section('content')

Company Analytics Dashboard

Monitor and analyze company performance across your platform

@include('backend.partials.breadcrumb', ['items' => [ ['url' => route('dashboard'), 'title' => 'Dashboard', 'icon' => 'fa-solid fa-home'], ['title' => 'Company Analytics', 'icon' => 'fa-solid fa-chart-line'] ]])
Total Companies
{{ $companies->total() ?? 0 }}
Active Businesses
Total Bookings
{{ $totalBookings ?? 0 }}
In Selected Period
Avg per Company
{{ $companies->total() > 0 ? round($totalBookings / $companies->total()) : 0 }}
Bookings/Company
Top Performing Companies
Companies ranked by total bookings in the selected period
{{ $companies->total() }} Companies
@forelse($companies as $index => $company) @empty @endforelse
# Company Name City Bookings Actions
{{ $index + 1 }}
{{ $company->name }}
@if($company->categories && is_array($company->categories))
@foreach(array_slice($company->categories, 0, 2) as $category) {{ $category }} @endforeach
@endif
{{ $company->city ?? 'N/A' }} {{ $company->bookings_count }} View Details

No companies found for the selected period.

@if($companies->hasPages())
{{ $companies->appends(['range' => $dateRange])->links() }}
@endif
@endsection