@php $EDIT_ACCESS = false; $PERMISSION_ACCESS = false; $STATUS_ACCESS = false; $DELETE_ACCESS = false; $EDIT_ACCESS = Helper::can_access('Edit Role'); $PERMISSION_ACCESS = Helper::can_access('Role Permission'); $STATUS_ACCESS = Helper::can_access('Role Status'); $DELETE_ACCESS = Helper::can_access('Role Delete'); @endphp
@php $i=1 @endphp @forelse ($roles as $item) @empty @php $i++ @endphp @endforelse
Sr. No. Name Status Action
{{ $i }} {{$item->role}} {{-- @if($STATUS_ACCESS) status ? 'checked' : '' }}> @endif --}} @if($item->status==0) Inactive Active @else Inactive Active @endif @if($EDIT_ACCESS) @endif @if($DELETE_ACCESS) @endif @if($STATUS_ACCESS) @if($item->status==1) @else @endif @endif @if($PERMISSION_ACCESS) @endif

No record found

{!! $roles->render() !!}