@if(session('successMessage'))
{{ session('successMessage') }}
@endif
Nuevo Cliente
@if($searchInput || $phone || $country || $invitationType) @endif
@if($customers->count() == 0)

No hay clientes para mostrar

@else
@foreach ($customers as $customer) @endforeach
# Nombre Email Teléfono Registrado Total Invitaciones
{{ $customer->id }} {{ $customer->name }} {{ $customer->email }} {{ $customer->phone }} {{ optional($customer->created_at)->format('d/m/Y H:i') }} {{ $customer->customerInvitations->where('plan_id', \App\Models\Plan::FREE)->count() }} {{ $customer->customerInvitations->where('plan_id', \App\Models\Plan::PREMIUM)->count() }} {{ $customer->customerInvitations->where('plan_id', \App\Models\Plan::VIP)->count() }}
{!! $customers->links('custom-pagination-links') !!}
Total clientes: {{ $customers->total() }}
@endif