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

Permission List

@csrf



@php $columnCount = 0; @endphp @foreach ($permissions as $group => $groupPermissions) @if ($columnCount % 3 == 0 && $columnCount != 0)
@endif
{{ ucwords(str_replace('_', ' ', $group)) }}
@foreach ($groupPermissions as $permission)
@endforeach
@php $columnCount++; @endphp @endforeach

@can('role_permission_addEdit') @endcan
@endsection @push('script') @endpush