@php $tenantId = session('selected_tenant_id'); $isAllTenants = !$tenantId || $tenantId === 'all'; @endphp
@if($isAllTenants) @endif @forelse($roles as $role) @if($isAllTenants) @endif @empty @endforelse
ID테넌트역할 이름 Guard 설명 권한 수 생성일 액션
{{ $role->id }} @if($role->tenant) {{ $role->tenant->company_name }} @else 미지정 @endif
{{ $role->name }}
{{ strtoupper($role->guard_name ?? '-') }}
{{ $role->description ?? '-' }}
{{ $role->permissions_count ?? 0 }} {{ $role->created_at?->format('Y-m-d') ?? '-' }} 수정
등록된 역할이 없습니다.
@include('partials.pagination', [ 'paginator' => $roles, 'target' => '#role-table', 'includeForm' => '#filterForm' ])