@vite(['resources/css/app.css'])
TaPrestation
Tableau de bord
Gestion des utilisateurs
Utilisateurs
Prestataires
@php $pendingCount = \App\Models\Prestataire::where('is_approved', false)->count(); @endphp @if($pendingCount > 0)
{{ $pendingCount }}
@endif
Vérifications
Clients
Gestion du contenu
Équipements
Annonces
Services
Avis
Gestion des activités
Réservations
@php $pendingBookingsCount = \App\Models\Booking::where('status', 'pending')->count(); @endphp @if($pendingBookingsCount > 0)
{{ $pendingBookingsCount }}
@endif
Gestion financière
Paiements
Abonnements
Enchères
Logistique
Livraisons
Inventaire
Carnet d'adresses
Configuration
Param. notifications
Communication
Notifications
@php $unreadNotificationsCount = \App\Models\Notification::where('read_at', null)->count(); @endphp @if($unreadNotificationsCount > 0)
{{ $unreadNotificationsCount }}
@endif
Messages
@php $reportedMessagesCount = \App\Models\Message::where('is_reported', true)->where('status', '!=', 'hidden')->count(); @endphp @if($reportedMessagesCount > 0)
{{ $reportedMessagesCount }}
@endif
Signalements
Signalements Ventes
@php $pendingUrgentSaleReports = \App\Models\UrgentSaleReport::where('status', 'pending')->count(); @endphp @if($pendingUrgentSaleReports > 0)
{{ $pendingUrgentSaleReports }}
@endif
Signalements Équipements
@php $pendingEquipmentReports = \App\Models\EquipmentReport::where('status', 'pending')->count(); @endphp @if($pendingEquipmentReports > 0)
{{ $pendingEquipmentReports }}
@endif
Signalements Services
@php $pendingServiceReports = \App\Models\ServiceReport::where('status', 'pending')->count(); @endphp @if($pendingServiceReports > 0)
{{ $pendingServiceReports }}
@endif
Tous les signalements
@php $totalPendingReports = \App\Models\UrgentSaleReport::where('status', 'pending')->count() + \App\Models\EquipmentReport::where('status', 'pending')->count() + \App\Models\ServiceReport::where('status', 'pending')->count(); @endphp @if($totalPendingReports > 0)
{{ $totalPendingReports }}
@endif
Analyses & Rapports
Rapports
@yield('page-title', 'Administration')
{{ substr(Auth::user()->name, 0, 1) }}
{{ Auth::user()->name }}
@yield('content')
@stack('scripts')