@extends('admin.MainComponent') @section('content')

Dashboard

Total Users

{{ App\Models\Client::count() }}

Registered users in the system

Recent Users

{{ App\Models\Client::where('created_at', '>=', now()->subDays(30))->count() }}

Registered in last 30 days

Total Admins

{{ App\Models\Admin::count() }}

Administrators in the system

Total Orders

{{ App\Models\Order::count() }}

Orders in the system

Total Cities

{{ App\Models\City::count() }}

Cities in the system

Total Categories

{{ App\Models\Category::count() }}

Categories in the system

Service Providers

{{ App\Models\Provider::where('status', 'pending')->count() }}

Pending Approval

{{ App\Models\Provider::where('status', 'active')->count() }}

Active Providers

Last updated: Just now
Manage Providers
Account Information
Edit Profile
{{ Auth::guard('admin')->user()->name }}
Administrator

Email:

{{ Auth::guard('admin')->user()->email }}

Last Login:

{{ Auth::guard('admin')->user()->updated_at->diffForHumans() }}

@endsection