@extends('layouts.dashboard') @section('title', 'Admin Dashboard') @section('page-title', 'Admin Dashboard') @section('content')
Users
{{ $stats['users'] }}
Resellers
{{ $stats['resellers'] }}
Total Blogs
{{ $stats['blogs'] }}
Categories
{{ $stats['categories'] }}
Packages
{{ $stats['packages'] }}
Unpaid Invoices
{{ $stats['invoices_unpaid'] }}
Paid Invoices
{{ $stats['invoices_paid'] }}
Total Revenue
${{ number_format($stats['revenue'], 2) }}

Recent Invoices

View all →
@forelse($recent_invoices as $inv) @empty @endforelse
#UserAmountStatus
{{ $inv->invoice_number }} {{ $inv->user->name ?? '—' }} ${{ number_format($inv->amount, 2) }} {{ ucfirst($inv->status) }}
No invoices yet

Recent Blogs

View all →
@forelse($recent_blogs as $b) @empty @endforelse
TitleAuthorDate
{{ \Illuminate\Support\Str::limit($b->title, 50) }} {{ $b->author->name ?? '—' }} {{ $b->created_at->diffForHumans() }}
No blogs yet

Recent User Signups

View all →
@foreach($recent_users as $u) @endforeach
NameUsernameEmailRoleJoined
{{ $u->name }} @{{ $u->username }} {{ $u->email }} {{ $u->role }} {{ $u->created_at->diffForHumans() }}
@endsection