@php($paginated = $list instanceof \Illuminate\Contracts\Pagination\Paginator) @php($labels = [ 'offline' => ['Active, No Session', 'badge-danger'], 'expired' => ['Expired', 'badge-warning'], 'disable' => ['Disable', 'badge-primary'], 'deactive' => ['Deactive', 'badge-secondary'], 'pending' => ['Pending', 'badge-info'], ]) @foreach ($warnings as $warning)
{{ $warning }}
@endforeach
Total : {{ number_format($counts['total']) }} @foreach ($labels as $key => $label) {{ $label[0] }} : {{ number_format($counts[$key]) }} @endforeach Showing : {{ number_format($list->count()) }}
@if ($paginated) {{-- Also above the table: with 100 rows a page, the bottom links are a long scroll away. The delegated handler in index.blade.php listens on #result, so clicks in either copy are picked up. --}}
{{ $list->links() }}
@endif {{-- Its own scroll box, so the header can stick to it and the summary badges and pagination stay put outside it. --}}
@forelse ($list as $key => $r) @empty @endforelse
SL CID Username Manager POP
{{ $paginated ? $list->firstItem() + $key : $key + 1 }} @if (optional($r->pop)->bill_generate == 'yes') {{ $r->id }} @else {{ $r->id }} @endif {{ $r->userid }} {{ optional(optional($r->pop)->reseller)->name }} {{ optional($r->pop)->popname }}
No not-connected customer found.
@if ($paginated)
{{ $list->links() }}
@endif