Clientes

Novo Cliente
@forelse($clients as $client) @empty @endforelse
Cliente @if($sortField === 'name') @if($sortDirection === 'asc') @else @endif @endif
Contato Plano Atual
Data Cadastro @if($sortField === 'created_at') @if($sortDirection === 'asc') @else @endif @endif
Status Ações
{{ strtoupper(substr($client->name, 0, 2)) }}
{{ $client->name }}
{{ $client->company_name ?? 'Sem empresa' }}
{{ $client->email }}
{{ $client->phone ?? 'Sem telefone' }}
@php $activeSub = $client->subscriptions->where('status', 'active')->first(); @endphp @if($activeSub && $activeSub->plan)
{{ $activeSub->plan->name }}
R$ {{ number_format($activeSub->plan->price, 2, ',', '.') }}
@else Sem plano ativo @endif
{{ $client->created_at->format('d/m/Y') }} @if($client->is_active) @if($activeSub) Ativo @else Sem plano @endif @else Bloqueado @endif
Nenhum cliente encontrado
{{ $clients->links() }}