@extends('layouts.app') @section('content')

Admin Dashboard

Platform overview and key metrics

Total Users

{{ $stats['total_users'] }}

+{{ $stats['new_users_month'] }} this month

Total Revenue

€{{ number_format($stats['total_revenue'], 2) }}

All time

Active Services

{{ $stats['active_services'] }}

Listed on platform

Completed Bookings

{{ $stats['completed_bookings'] }}

Total transactions

Avg Rating

{{ number_format($stats['avg_rating'], 1) }}/5

From {{ $stats['total_reviews'] }} reviews

Revenue Trend (Last 12 Months)

@foreach ($stats['revenue_trend'] as $month => $amount)
@endforeach
@foreach (array_keys($stats['revenue_trend']) as $month)
{{ substr($month, 5) }}
@endforeach

User Breakdown

Clients {{ $stats['clients_count'] }} ({{ number_format($stats['clients_percentage'], 0) }}%)
Prestataires {{ $stats['prestataires_count'] }} ({{ number_format($stats['prestataires_percentage'], 0) }}%)
Verified {{ $stats['verified_count'] }} ({{ number_format($stats['verified_percentage'], 0) }}%)

Top 5 Services

@foreach ($stats['top_services'] as $index => $service)
{{ $index + 1 }}

{{ $service['name'] }}

by {{ $service['prestataire'] }}

{{ $service['bookings'] }} bookings
@endforeach

Recent Payments

@foreach ($stats['recent_payments'] as $payment)

{{ $payment['client'] }}

{{ $payment['service'] }}

€{{ number_format($payment['amount'], 2) }}

Paid
@endforeach

👥 Manage Users

{{ $stats['pending_verifications'] }} pending verifications

View All →

💳 Payment Management

€{{ number_format($stats['monthly_revenue'], 2) }} this month

View All →

💰 Finance & Escrow

Gestion des paiements sécurisés

Gérer →

⚠️ Reports & Issues

{{ $stats['pending_reports'] }} pending reports

View All →

@endsection