@extends('layouts.app') @section('title', 'Dashboard Admin - CayorCity') @section('content')

Dashboard Administrateur

{{ date('d/m/Y H:i') }}

{{ number_format($stats['total_users']) }}

Utilisateurs Total

Voir tous

{{ number_format($stats['total_agencies']) }}

Agences Total

@if($stats['pending_agencies'] > 0) {{ $stats['pending_agencies'] }} en attente
@endif Gérer

{{ number_format($stats['total_properties']) }}

Propriétés Total

@if($stats['pending_properties'] > 0) {{ $stats['pending_properties'] }} en attente
@endif Gérer

{{ number_format($stats['total_contacts']) }}

Messages Total

@if($stats['unread_contacts'] > 0) {{ $stats['unread_contacts'] }} nouveaux
@endif Voir
Demandes d'Agences En Attente @if($stats['pending_agencies'] > 0) {{ $stats['pending_agencies'] }} @endif
@forelse($recentActivities['pending_agencies'] as $agency)
{{ $agency->name }}
Par: {{ $agency->user->name }} | {{ $agency->created_at->diffForHumans() }}
@empty

Aucune demande en attente

@endforelse
Nouveaux Utilisateurs
@forelse($recentActivities['new_users'] as $user)
{{ $user->name }}
{{ $user->email }} | {{ $user->created_at->diffForHumans() }}
{{ ucfirst($user->user_type) }}
@empty

Aucun nouvel utilisateur

@endforelse
Propriétés En Attente @if($stats['pending_properties'] > 0) {{ $stats['pending_properties'] }} @endif
@forelse($recentActivities['pending_properties'] as $property)
{{ Str::limit($property->title, 30) }}
Par: {{ $property->user->name }} | {{ $property->created_at->diffForHumans() }}
{{ number_format($property->price) }} FCFA
@empty

Aucune propriété en attente

@endforelse
Messages Récents @if($stats['unread_contacts'] > 0) {{ $stats['unread_contacts'] }} nouveaux @endif
@forelse($recentActivities['recent_contacts'] as $contact)
{{ $contact->user ? $contact->user->name : $contact->name }}
{{ Str::limit($contact->message, 40) }} | {{ $contact->created_at->diffForHumans() }}
{{ ucfirst($contact->status) }}
@empty

Aucun message récent

@endforelse

Dashboard Administrateur CayorCity 2.0 - {{ date('Y') }}

@endsection @section('scripts') @endsection