@extends('adminlte::page') @section('title', 'All Services') @section('content_header')

All Users

@stop @section('content')
@if (count($errors) > 0)
Whoops! There were some problems with your input.
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (session('success'))
{{ session('success') }}
@endif
@foreach ($users as $user) @endforeach
# Name Image Status Role Action
{{ $loop->iteration }} {{ $user->name }}
{{ $user->created_at->diffForHumans() }}
@foreach ($user->getRoleNames() as $role) {{ ucfirst($role) }}@if (!$loop->last) , @endif @endforeach @if ($user->status) Active @else Pending @endif
@csrf @method('delete')
@stop @section('css') @stop @section('js') {{-- hide notifcation --}} @endsection