@extends('layouts.modern') @section('page-title', $business->company_name . ' - Roles') @section('breadcrumb')
Managing roles for this business
| Role | Description | Users | Permissions | Status | Actions |
|---|---|---|---|---|---|
{{ $role->name }}Business Role |
{{ $role->description ? Str::limit($role->description, 50) : '-' }} | @if($role->users_count > 0) {{ $role->users_count }} users @else No users @endif | @if($role->permissions_count > 0) {{ $role->permissions_count }} permissions @else No permissions @endif | @if($role->is_active) Active @else Inactive @endif | |
|
@if(request()->hasAny(['search', 'status']))
No roles found matching your search criteria. View All Roles @elseNo roles found for this business. @if(auth()->user()->hasPermission('businesses.roles.create')) Add First Role @endif @endif |
|||||