@php use App\Models\ManagementRole; use App\Models\User; @endphp

{{count($roles)}} Results found

@foreach($roles as $role) @endforeach
# ID Role Name Permissions Telco CreatedBy Created On
1 {{$role->id}} {{$role->name}} {{$role->permissions->count()}} {{getTelcoFromManagementParent($role->id)}} {{User::find(ManagementRole::find(ManagementRole::where('role',$role->id)->first()->id)->first()->entered_by)->first_name}} {{$role->created_at->format('Y-M-d')}} View More