@extends('layouts.app') @section('title','Clients') @section('page-title','Clients') @section('topbar-actions') @if(auth()->user()->isCommercial()) Nouveau client @endif @endsection @section('content')
@if(request()->hasAny(['search','status'])) Réinitialiser @endif
@forelse($clients as $client) @empty @endforelse
NomEmailTéléphoneVilleStatutCA TotalCommandesActions
{{ $client->name }} {{ $client->email ?? '—' }} {{ $client->phone ?? '—' }} {{ $client->city ?? '—' }} {{ $client->status_label }} {{ number_format($client->total_revenue,0,',',' ') }} XAF {{ $client->total_orders }}
@if(auth()->user()->isAdmin()) @if($client->sales_count === 0)
@csrf @method('DELETE')
@else @endif @endif

Aucun client trouvé

Créez votre premier client ou modifiez vos filtres.

{{ $clients->firstItem() }}–{{ $clients->lastItem() }} sur {{ $clients->total() }} clients
{{ $clients->links() }}
@endsection