@extends('layouts.app') @section('title', 'Workforce Intelligence') @push('styles') @endpush @section('content') @php $actionsHtml = ' Add Engineer'; @endphp @include('components.page-header', [ 'title' => 'Workforce Intelligence Directory', 'description' => 'Manage engineer profiles, organizational roles, and department assignments with centralized intelligence.', 'breadcrumbs' => ['Home' => route('admin.dashboard'), 'Workforce' => '#'], 'actions' => $actionsHtml, 'stats' => [ ['label' => 'Total Workforce', 'value' => $employees->total(), 'icon' => 'bi-people-fill', 'color' => 'var(--accent-cream)'], ['label' => 'Active Terminals', 'value' => $employees->where('status', 'active')->count(), 'icon' => 'bi-person-check-fill', 'color' => 'var(--accent-green)'], ['label' => 'Governance Roles', 'value' => \App\Models\Role::count(), 'icon' => 'bi-shield-lock', 'color' => 'var(--accent-yellow)'] ] ])
| Engineer Identity | Intelligence Contact | Organizational Dept | System Roles | Operations |
|---|---|---|---|---|
|
{{ substr($employee->name, 0, 1) }}
{{ $employee->name }}
{{ $employee->employeeProfile?->job_title ?? 'Software Engineer' }}
|
{{ $employee->email }} | {{ $employee->employeeProfile?->department ?? 'General' }} |
@forelse($employee->roles as $role)
{{ $role->name }}
@empty
No Roles
@endforelse
|
|
|
No organizational engineers discovered |
||||