@extends('layouts.app') @section('title', 'Role-Permission Matrix') @section('content')
@php $activeCompanyId = (int) session('company_id'); $activeCompanyName = ''; if ($activeCompanyId) { $activeCompanyName = optional(\App\Models\CompanyMaster::query()->active()->select('id','company_name')->find($activeCompanyId))->company_name; } @endphp
Role-Permission Matrix
@if($activeCompanyName) Company: {{ $activeCompanyName }} @else Select a company to manage roles & permissions @endif
Loading roles…
Loading…
Module / Permission
Select a role to view permissions
@endsection @push('styles') @endpush @push('scripts') @endpush