@extends('layouts.app') @section('content')

Users @can('ADD USER') Create @endcan

@if(\Session::has('success'))
{{\Session::get('success')}}
@endif
{{ $users->links("pagination::bootstrap-4") }} @if($users->hasMorePages() || (isset($input['searchvalue']) && $input["searchvalue"]!=""))
@endif
@if(isset($users) && $users->count()>0) @foreach ($users as $irow=> $ruser) @endforeach @else @endif
# Name Email Roles Action
{{ $irow+1 }} {{$ruser->name}} {{$ruser->email}} {{$ruser->rolename}}
@can('VIEW USER') View  @endcan @can('EDIT USER') Edit  @endcan @can('DELETE USER')
{{csrf_field()}}
@endcan
No Record Found
@endsection