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

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

@if($users != null) @foreach($users as $stt => $user) @endforeach @endif
STT Tên Thứ tự Ghi lại Lịch phát sóng Quốc gia Packages Catch-up Trạng thái Action
{{ ($users->currentPage() - 1)*$users->perPage() + $stt + 1 }} {{ mb_convert_case($user->name, MB_CASE_TITLE, "UTF-8") }} {{ $user->orderBy }} @if($user->catch_up) Có @else Không @endif @if( $user->exBroad ) Xem @else Không có @endif
    @if(isset($user->countries)) @foreach($user->countries as $country)
  • {{ $country->vi_name != null ? $country->vi_name : $country->name }}
  • @endforeach @endif
@if($user->packages != null)
    @foreach($user->packages as $pack)
  • {{ @$pack->name }}
  • @endforeach
@endif
@if($user->catch_up) Đang bật @else Tắt @endif @if($user->status == 1) Hoạt động @else Dừng @endif
{{ $users->appends($appends)->links() }}
@endsection @push('styles') @endpush @push('scripts') @endpush