Filtrar Clientes
@if ($type != 0)
@endif
Limpiar
@php $offset = ($customers->currentPage() - 1) * $customers->perPage(); @endphp @if ($type != 0) @else @endif @foreach ($customers as $index => $customer) @if ($type != 0) @else @endif @endforeach
# {{ __('customer.data.name') }} {{ __('customer.data.phone') }} {{ __('customer.data.email') }} {{ __('customer.data.type') }} {{ __('customer.data.origin') }}{{ __('customer.data.reason') }} {{ __('customer.data.created_at') }} {{ __('buttons.actions') }}
{{ $offset + $index + 1 }} {{ $customer->name }} {{ $customer->phone }} {{ $customer->email }}{{ $customer->serviceType->name }} {{ isset($customer->matrix->name) ? $customer->matrix->name . ' (' . $customer->matrix->id . ')' : 'Matriz' }} {{ $customer->reason ?? 'S/N' }} {{ Carbon\Carbon::parse($customer->created_at, 'UTC')->setTimezone('America/Mexico_City')->format('Y-m-d H:i:s') }} {{-- $customer->created_at --}} @can('write_customer') {{ __('buttons.edit') }} @if ($type == 0) {{ __('buttons.convert') }} @endif @endcan