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

Roles @can('ADD ROLE') Create @endcan

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