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

All Roles

All Roles

@can('role-write') Add Role @endcan

Following is the list of all the Roles.

@foreach($roles as $k => $role) @endforeach
S.No Permission Action

{{ $k + 1 }}

{{ $role->name }} @can('role-update') @endcan @can('role-delete') @endcan
@if (!empty($roles)) {{$roles->withQueryString()->links('vendor.pagination.bootstrap-4')}} @endif
@endsection @section('page-scripts') @include('admin.partials.datatable') @endsection