@extends('layouts.admin_layout') @section('Title') پنل مدیریت | کاربران @endsection @section('content')

کاربران

@csrf
@if($searched and $filter_items['mobile'] !== '') @else @endif
@if(!$searched)
@else
@endif
@if(!empty($users->all()))
@if(!$searched and $users->lastPage() > 1) @php $row = (($users->currentPage() - 1) * $users->perPage() ) + 1; @endphp @else @php $row = 1; @endphp @endif @foreach($users as $user) @php $row++; @endphp @endforeach
# موبایل وضعیت نقش عملیات
{{$row}}

{{$user['mobile']}}

@if($user['is_active'] == 1) فعال @else غیر فعال @endif @foreach($user->roles as $role) {{$role->name}} @endforeach @if($user['id'] == auth()->id()) @else @endif
@else

موردی یافت نشد.

@endif @if(!$searched and $users->lastPage() > 1)
{{$users->links()}}
@endif
@endsection