@extends('layouts.app') @section('title', 'Permissions - ISP ERP System') @section('page-title', 'Permissions Management') @section('styles') @endsection @section('content')

System Permissions

Manage user permissions and access control

{{ $permissions->count() }}

Total Permissions

{{ $permissions->where('is_active', true)->count() }}

Active Permissions

{{ $permissions->where('is_active', false)->count() }}

Inactive Permissions

{{ $permissions->where('parent_id', null)->count() }}

Root Permissions

User Permission Management
Permission Structure

All Permissions

@if($permissions->count() > 0)
@foreach($permissions as $permission) @endforeach
Menu Permission Key Description Parent Status Created Actions
@if($permission->menu) {{ $permission->menu->name }} @else No Menu @endif
{{ $permission->permission_key }}
{{ $permission->description }} @if($permission->parent_id)
Child of: {{ $permission->parent->permission_key ?? 'Unknown' }} @endif
@if($permission->parent_id) Child @else Root @endif @if($permission->is_active) Active @else Inactive @endif {{ $permission->created_at->format('M d, Y') }}
@else
No permissions found

Start by creating your first permission.

Create Permission
@endif
@endsection @section('scripts') @endsection