@extends('admin.layout.main') @section('admin')
Welcome back! Here's what's happening with your platform today.
Total Users
{{ $user->count() }}
Active Projects
{{ $project->count() }}
Service Requests
{{ $servicesRequest->count() }}
Packages
{{ $packages->count() }}
Blog Posts
{{ $blog->count() }}
Contact Messages
{{ $contacts->count() }}
Total Revenue
{{ number_format($servicesRequest->sum('total_price'), 2) }} SR
{{ $contactInfo['name'] ?? 'Unknown' }}
{{ $request->businessType->name ?? 'N/A' }} • {{ number_format($request->total_price, 2) }} SR
No service requests found
{{ $userItem->name }}
{{ $userItem->email }}
@if($userItem->phone){{ $userItem->phone }}
@endifNo users found
No projects found
{{ $contact->name }}
{{ $contact->email }}
{{ Str::limit($contact->message, 80) }}
@if($contact->service) {{ $contact->service }} @endifNo contact messages found
{{ Str::limit(strip_tags($post->content), 100) }}
No blog posts found
{{ $user->where('created_at', '>=', now()->subDays(7))->count() }} new users this week
User registration
{{ $servicesRequest->where('status', 'completed')->count() }} completed requests
Service delivery
{{ $contacts->where('status', 'new')->count() }} unread messages
Require attention