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

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

@if($accounts != null) @foreach($accounts as $stt => $account) @endforeach @endif
STT #ID Họ và tên Email Phone Web Ref Dịch vụ Admin Agency Ngày mở Trạng thái Action
{{ ($accounts->currentPage() - 1)*$accounts->perPage() + $stt + 1 }} #{{$account->id}} {{ $account->fullname }} {{ $account->email }} {{ $account->phone }} {{@$account->type}} {{ $account->ref }} @if(@$account->active_service->service)
  • {{ @$account->active_service->service->name }}
  • {{ @$account->active_service->started_at->format('Y-m-d') }} to {{ @$account->active_service->expiration_at->format('Y-m-d') }}
@elseif(@$account->accountServiceTmp->service)
  • {{$account->accountServiceTmp->service->name}}
  • Tài khoản chưa kích hoạt
@else Free @endif
{{ @$account->admin->name }} {{ @$account->agency->fullname }} {{ $account->created_at }} @if($account->email_verified_at) @if($account->status == 1) Hoạt động @else Dừng @endif @else Chưa xác thực @endif
  • @if( \Auth::user()->isAbleTo('account-delete') )
  • @endif
{{ $accounts->appends(@$_GET)->links() }}
@endsection @push('styles') @endpush @push('scripts') @endpush