@if(isset($columns) && \Orchid\Screen\TD::isShowVisibleColumns($columns))
@foreach($columns as $column)
{!! $column->buildItemMenu() !!}
@endforeach
@endif
@if($paginator instanceof \Illuminate\Contracts\Pagination\LengthAwarePaginator)
{{ __('Displayed records: :from-:to of :total',[
'from' => ($paginator->currentPage() -1 ) * $paginator->perPage() + 1,
'to' => ($paginator->currentPage() -1 ) * $paginator->perPage() + count($paginator->items()),
'total' => $paginator->total(),
]) }}
@endif
@if($paginator instanceof \Illuminate\Contracts\Pagination\CursorPaginator)
{!!
$paginator->appends(request()
->except(['page','_token']))
->links('platform::partials.pagination')
!!}
@elseif($paginator instanceof \Illuminate\Contracts\Pagination\Paginator)
{!!
$paginator->appends(request()
->except(['page','_token']))
->onEachSide($onEachSide ?? 3)
->links('platform::partials.pagination')
!!}
@endif