@extends('layouts.admin') @section('title', 'Super Admin Dashboard') @section('role-label', 'Super Admin') @section('page-title', 'Dashboard') @section('page-subtitle', 'Platform overview & key metrics') @section('sidebar-nav') @endsection @section('content')
Export Restaurants CSV Export Orders CSV Export Payments CSV Export Revenue CSV
{{ $stats['total_restaurants'] }}
Total Restaurants
{{ $stats['active_restaurants'] }}
Active
{{ $stats['expired_subscriptions'] }}
Expired Subs
₹{{ number_format($stats['monthly_revenue']) }}
This Month
₹{{ number_format($stats['total_revenue']) }}
Total Revenue
{{ $stats['pending_payments'] }}
Pending Pays

Recent Restaurants

View all →
@forelse($recentRestaurants as $r) @empty @endforelse
RestaurantCityStatusSubscription
{{ $r->name }}
{{ $r->email }}
{{ $r->city ?? '—' }} {{ $r->status }} {{ $r->subscription_status }} Edit
No restaurants yet

Expiring Soon

{{ $expiringSubscriptions->count() }}
@forelse($expiringSubscriptions as $sub)
{{ $sub->restaurant->name }}
{{ $sub->plan->name }} plan
Expires {{ $sub->ends_at->diffForHumans() }}
@empty
No expiring subscriptions
@endforelse

Recent Payments

View all →
@forelse($recentPayments as $p) @empty @endforelse
RestaurantAmountMethodStatusDate
{{ $p->restaurant->name }} ₹{{ number_format($p->amount, 2) }} {{ $p->payment_method }} {{ $p->payment_status }} {{ $p->paid_at?->format('d M, H:i') ?? '—' }}
No payments yet
@endsection