@extends('admin.layout') @section('title', 'Dashboard') @section('content')

Total Prestataires

{{ $stats['total_providers'] }}

Actifs

{{ $stats['active_providers'] }}

Inactifs

{{ $stats['inactive_providers'] }}

Prestataires récents

Voir tout
@if($stats['recent_providers']->count() > 0)
@foreach($stats['recent_providers'] as $provider)
@if($provider->logo) Logo @else
{{ substr($provider->business_name, 0, 1) }}
@endif

{{ $provider->business_name }}

{{ $provider->user->email }}

{{ $provider->user->is_active ? 'Actif' : 'Inactif' }} @if($provider->user->is_active)
@csrf
@endif Modifier
@if($provider->users->count() > 0)

Sous-comptes ({{ $provider->users->count() }})

@foreach($provider->users as $user)
{{ substr($user->name, 0, 1) }}

{{ $user->name }}

{{ $user->email }}

{{ $user->is_active ? 'Actif' : 'Inactif' }} @if($user->is_active)
@csrf
@endif
@endforeach
@endif
@endforeach
@else

Aucun prestataire pour le moment

@endif

Actions rapides

@endsection