@extends('user.layouts.app', ['title' => 'Manage Staffs']) @push('head') @endpush @section('content')
Roles And Permission / Manage Staffs

Manage Staffs

Track assigned team members, review their role coverage, and add a new staff profile from the same page.

Total Staff
{{ $staffs->count() }}
Active Staff
{{ $activeStaffs }}
Inactive Staff
{{ $inactiveStaffs }}
Staff Table
{{ $roles->count() }} role options available for assignment
@foreach ($staffs as $index => $staff) @endforeach
SL. User Role Status Action
{{ $index + 1 }}
{{ $staff['user'] }}
{{ $staff['email'] }}
Username: {{ $staff['username'] }}
{{ $staff['role'] }} {{ $staff['status'] ? 'ON' : 'OFF' }}
No staff member matched your search.
@foreach ($staffs as $index => $staff)
Staff {{ $index + 1 }}
{{ $staff['user'] }}
{{ $staff['email'] }}
{{ $staff['status'] ? 'ON' : 'OFF' }}
Role
{{ $staff['role'] }}
Username
{{ $staff['username'] }}
Status
{{ $staff['status'] ? 'Active' : 'Inactive' }}
@endforeach
No staff member matched your search.
@endsection @push('scripts') @endpush