class(['table table-bordered table-hover']) }}> @foreach ($headers as $header) @endforeach @isset($action) @endisset @foreach ($dataCell as $key => $row) @foreach ($row as $index => $value) {{-- Verify if $value different array --}} @if (!is_array($value)) @endif @endforeach @isset($action) @endisset @endforeach
{{ $header }}Acciones
{{ $value }} {{-- Actions with icons --}} {{ $action($row) }}
{{-- Mostrar enlaces de paginaciĆ³n si $dataCell es una instancia de LengthAwarePaginator --}} @if ($dataCell instanceof \Illuminate\Pagination\LengthAwarePaginator)
{{ $dataCell->links() }}
@endif