|
Fecha de creación
@include('parts.sortby', ['field' => 'created_at'])
|
@if ($search_type == 'user')
Cédula / Documento
@include('parts.sortby', ['field' => 'document'])
|
@endif
Cliente
@include('parts.sortby', ['field' => 'fullname'])
|
@if ($search_type == 'user')
Condo(s)
|
@endif
@if ($search_type == 'security')
Puerta
@include('parts.sortby', ['field' => 'entry_type'])
|
@endif
|
Acciones | |
|---|---|---|---|---|---|---|---|
|
{{ $value->created_at->format('d/m/Y') }} {{ $value->created_at->format('h:iA') }} |
@if ($search_type == 'user')
{{ $value->document }} | @endif
{{ $value->fullname }}
{{ $value->email }}
@if ($search_type == 'user')
Documento: {{ $value->document }}
Empresa: {{ $value->company }}
@endif
{{ config('const.user-status')[$value->status] }}
|
@if ($search_type == 'user')
@foreach($value->condos_user as $keyCondo => $item)
{{ $item->condo->name }}
@if (!empty($item->number))
({{ $item->number }})
@endif
@if ($keyCondo == 0 && $item->condo->id == 7) @php break; @endphp @endif @endforeach |
@endif
@if ($search_type == 'security')
@if (!empty($value->entry_type)) {{ config('const.user-entry-type')[$value->entry_type] }} @else No asignada @endif | @endif{{ config('const.user-status')[$value->status] }} | @if (in_array($value->type, ['user', 'rental', 'promoter', 'security'])) @endif | |
| {{ $users->links() }} | |||||||