@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 Đại lý Khách hàng Thông tin Tổng Box Action
{{ ($users->currentPage() - 1)*$users->perPage() + $stt + 1 }} {{ @$user->user->name }} {{ $user->fullname }} Địa chỉ : {{ $user->address }}
Email : {{ $user->email }}
Phone : {{ $user->phone }}
{{ $user->boxs->count() }} @if(\Auth::user()->type == 'admin')
@endif
{{ $users->links() }}
@endsection @push('scripts') @endpush