@extends('layouts.admin') @section('title', 'Admin Dashboard') @section('content') {{-- ===== UPDATE NOTIFICATION BANNER ===== --}}

Admin Dashboard

{{ now()->format('d M Y, h:i A') }}
Total Users

{{ $stats['total_users'] }}

Retailers

{{ $stats['retailers'] }}

Distributors

{{ $stats['distributors'] }}

Master Distributors

{{ $stats['master_distributors'] }}

Pending

{{ $stats['pending_requests'] }}

Success

{{ $stats['success_requests'] }}

Rejected

{{ $stats['rejected_requests'] }}

Total Revenue

₹{{ number_format($stats['total_revenue'], 0) }}

Recent Service Requests
View All
@forelse($recentRequests as $r) @empty @endforelse
RequestUserServiceAmountStatus
{{ $r->request_no }} {{ $r->user->name }} {{ $r->service->name }} ₹{{ number_format($r->charge, 2) }} {{ ucfirst($r->status) }}
No requests yet.
Recent Users
    @forelse($recentUsers as $u)
  • {{ $u->name }}
    {{ $u->role_label }} · {{ $u->mobile }}
    {{ ucfirst($u->status) }}
  • @empty
  • No users yet.
  • @endforelse
@endsection @push('scripts') @endpush