@extends('header') @section('title', 'All Roles') @section('content')

Roles List

{{-- @if (Auth::guard('admin')->user()->can('role.create')) --}} Create New Role {{-- @foreach ( $userPermission as $userPermisiion ) {{ $userPermisiion }} @endforeach --}}

{{-- @include('backend.layouts.partials.messages') --}} @php $sn = 1; @endphp @foreach ($processedData as $userName => $userData) {{-- {{$userName }} --}} {{-- --}} @endforeach
S.N Name description Action
{{ $sn++ }} {{ $userName }} @foreach ($userData['description'] as $description) {{ $description }} @endforeach
@csrf @method('DELETE')

@csrf
@endsection