@extends('layouts.admin') @section('title', 'Clients') @section('page_title', 'Gestion des clients') @section('content')
| Client | Entreprise | Téléphone | Devis | Inscrit le | Dernière connexion | Statut | Actions |
|---|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($client->name, 0, 2)) }}
{{ $client->name }}
{{ $client->email }}
|
{{ $client->company ?? '—' }} | {{ $client->phone ?? '—' }} | {{ $client->quotes_count }} devis | {{ \Carbon\Carbon::parse($client->created_at)->format('d/m/Y') }} | {{ $client->last_login_at ? \Carbon\Carbon::parse($client->last_login_at)->diffForHumans() : 'Jamais' }} | {{ $client->is_active ? 'Actif' : 'Inactif' }} |
Aucun compte client
| Nom | Entreprise | Téléphone | Premier contact | Compte | |
|---|---|---|---|---|---|
|
{{ strtoupper(substr($c->name, 0, 2)) }}
{{ $c->name }}
|
{{ $c->company ?? '—' }} | {{ $c->email }} | {{ $c->phone ?? '—' }} | {{ \Carbon\Carbon::parse($c->created_at)->format('d/m/Y') }} | @if($clients->where('email', $c->email)->count()) A un compte @else Sans compte @endif |
Aucun contact