@extends('backend.layout') @section('content')

{{ ($blocks->currentPage() - 1)*10 + 1 }}-{{ ($blocks->currentPage() - 1)*10 + $blocks->count() }} trong {{ $blocks->total() }} bản ghi.

@if($blocks != null) @foreach($blocks as $stt => $block) @endforeach @endif
STT Tên block Kiểu block Trạng thái Thứ tự hiển thị Trang hiển thị Website Danh mục Action
{{ ($blocks->currentPage() - 1)*$blocks->perPage() + $stt + 1 }} {{ $block->name_block }} {{ config('itv.type_block.'.$block->type_block) }} @if($block->status == 1) Hoạt động @else Dừng @endif {{ $block->display_order}} {{$block->page_display}} {{ $block->website }} @if ($block->category) {{ $block->category->display_name }} @else Không tìm thấy @endif
{{ $blocks->appends(@$_GET)->links() }}
@endsection @push('styles') @endpush @push('scripts') @endpush