@extends('layouts.dashboard') @section('title', 'Analytics & Reports') @section('header', 'Analytics & Reports') @section('sidebar') @include('super-admin.partials.sidebar') @endsection @section('content')

Analytics & Reports

Comprehensive insights and analytics dashboard

Total Companies

{{ $totalCompanies }}

Active Subscriptions

{{ $activeSubscriptions }}

Total Revenue

{{ number_format($totalRevenue, 0) }}

TZS

Monthly Revenue

{{ number_format($monthlyRevenue, 0) }}

TZS

Companies by Status

Active {{ $companiesByStatus['active'] }}
Suspended {{ $companiesByStatus['suspended'] }}
Expired {{ $companiesByStatus['expired'] }}

Subscriptions by Plan

@forelse($subscriptionsByPlan as $planName => $count)
{{ $planName }} {{ $count }}
@empty

No subscriptions

@endforelse

Top Companies by Revenue

@forelse($topCompanies as $company) @empty @endforelse
Company Revenue
{{ $company->name }} {{ number_format($company->payments_sum_amount ?? 0, 0) }} TZS

No data available

Subscription Revenue

View detailed subscription revenue reports

Company Growth

Track company growth over time

System Usage

Monitor system usage statistics

@endsection