{{-- Success Message --}} @if(session('successMessage')) @endif {{-- Header --}}

Mis Clientes

Gestiona tu cartera de clientes y crea invitaciones personalizadas

{{-- Main Card --}}
{{-- Card Header with Search and Actions --}}
@if($searchInput) @endif
{{-- New Customer Button --}} Nuevo Cliente
{{-- Card Body --}}
@if($customers->count() == 0) {{-- Empty State --}}

@if($searchInput) No se encontraron clientes que coincidan con "{{ $searchInput }}" @else No hay clientes para mostrar @endif

@else {{-- Desktop Table View --}}
@foreach ($customers as $customer) @endforeach
# Cliente Email Teléfono Puede Editar Acciones
#{{ $customer->id }}
{{ $customer->name }}
{{ $customer->email }} @if($customer->phone) {{ $customer->phone }} @else - @endif
can_edit_invitation) checked @endif wire:click="changeCanEdit({{$customer->id}})" style="cursor: pointer;" >
@if(auth()->user()->businessConfig && auth()->user()->businessConfig->isExpired()) @else @endif @if($customer->phone) @endif
{{-- Total Count --}}
{{ $customers->count() }} clientes en total
{{-- Mobile Card View --}}
@foreach($customers as $customer)
{{ $customer->name }}
{{ $customer->email }}
@if($customer->phone)
{{ $customer->phone }}
@endif
#{{ $customer->id }}
{{-- Can Edit Switch --}}
Puede editar invitación
can_edit_invitation) checked @endif wire:click="changeCanEdit({{$customer->id}})" style="cursor: pointer;" >
{{-- Actions --}}
{{-- Botones links de invitación (móvil) --}}
@if(auth()->user()->businessConfig && auth()->user()->businessConfig->isExpired()) @else @endif
@if(auth()->user()->businessConfig && auth()->user()->businessConfig->isExpired()) @else Crear Invitación @endif
@if($customer->phone) WhatsApp @endif Editar
@endforeach
@endif
{{-- Cannot Create Invites Modal --}} {{-- ═══════════════════════════════════════════════════════════════════ MODAL: Generar Link de Formulario de Invitación ════════════════════════════════════════════════════════════════════ --}} @if($showGenerateModal)