@extends('layouts.app') @section('title', 'Gestion clients') @section('styles') @push('scripts') @endpush @endsection @section('content') @if(session('success'))
✓ {{ session('success') }}
@endif @if(session('error'))
⚠ {{ session('error') }}
@endif @if($errors->any())
⚠ {{ $errors->first() }}
@endif
👥 Gestion des clients
{{ $tenants->count() }} client(s)
{{-- Liste des tenants --}}
Clients actifs
@forelse($tenants as $tenant)
@if($tenant->logo) {{ $tenant->nom }} @else {{ strtoupper(substr($tenant->nom, 0, 2)) }} @endif
{{ $tenant->nom_app }} — {{ $tenant->nom }}
{{ $tenant->users_count }} utilisateur(s) · {{ $tenant->slug }} · {{ $tenant->created_at->format('d/m/Y') }}
Détail
@csrf
@csrf @method('DELETE')
@empty

Aucun client pour l'instant

@endforelse
{{-- Formulaire nouveau client --}}
➕ Nouveau client
@csrf

Principale
Accent
Fond

@push('scripts') @endpush @endsection