@extends('admin.layouts.app') @section('panel')
@csrf
@php $i = 0; @endphp @foreach ($permissions as $key => $permissionGroups)
{{ $key }}
@foreach ($permissionGroups as $permission) @php $route = $routes->where('name', $permission->code)->first(); $lastCharacter = substr($permission->code, -1); @endphp
{{ @$route['method'] }}
@lang('Name')
@php $i++; @endphp @endforeach
@php $i++; @endphp @endforeach
@can('admin.permissions.update') @endcan
@endsection