@extends('layouts.admin') @section('style') @endsection @section('content')

@php $user = \App\Models\User::whereId(request('user_id'))->first(); @endphp @if ($user) {{ __("messages.Customer") }} : {{ $user->name }} @endif

@if (!$data->count())
{{ __("messages.There are no data") }} :(
@else
@php $i = 1; $skipCount = $data->perPage() * $data->currentPage() - $data->perPage(); @endphp @foreach ($data as $item) @php $i++ @endphp @endforeach
# {{ __('messages.Name') }} {{ __('messages.Actions') }}
{{ $skipCount + $i }} {{ $item->user->name }}
{{ $data->appends(Request::except(['_token']))->links()}}
@endif
@include('admin.inc.modal-action') @endsection @section('script') @endsection