⚙️ Admin — Tổng quan

Tổng số user

{{ $totalUsers }}

User mới tháng này

{{ $newUsersThisMonth }}

User trả phí

{{ $paidUsers }}

MRR ước tính

${{ number_format($mrr, 0) }}

Nội dung tạo theo loại (tháng này) — tổng {{ $contentsThisMonth }}

@forelse ($contentsByType as $type => $count)
{{ config("content_types.$type.icon") }} {{ config("content_types.$type.label", $type) }} {{ $count }}
@empty

Chưa có dữ liệu.

@endforelse

Phân bổ user theo gói

@foreach ($usersByPlan as $row)
{{ $row->plan->name ?? 'Chưa gán gói' }} {{ $row->total }}
@endforeach

User mới nhất

@foreach ($recentUsers as $u) @endforeach
TênEmailGóiNgày tham gia
{{ $u->name }} {{ $u->email }} {{ $u->plan?->name ?? '—' }} {{ $u->created_at->format('d/m/Y') }}