@extends('layouts.app') @section('title', 'Reports') @section('content')
Reporting workspace

Reports

View governed workforce data and access standard organizational reports.

Data tableReport catalog
Annual payroll exposure
${{ number_format($analytics['annualPayroll']) }}
Active base salaries
Average base salary
${{ number_format($analytics['averageSalary']) }}
Across active employees
Available leave
{{ number_format($analytics['availableLeave'],1) }}
Days across all leave ledgers
Archived documents
{{ $analytics['archivedDocuments'] }}
Private employee records

Department workforce analysis

Headcount and annual salary exposure by organization unit

@foreach($departmentSummary as $department)@endforeach
DepartmentCost centerHeadcountHeadcount planOpen capacityAnnual salariesBudget variance
{{ $department->name }}{{ $department->cost_center }}{{ $department->employees_count }}{{ $department->headcount_budget }}{{ max($department->headcount_budget-$department->employees_count,0) }}${{ number_format($department->salary_total ?? 0) }}${{ number_format($department->annual_budget-($department->salary_total ?? 0)) }}

▤ Workforce composition {{ $employees->total() }} records

A live, auditable view of the MySQL employee directory.

0 selected
▥ Columns
@foreach(['role'=>'Role','department'=>'Department','location'=>'Location','status'=>'Status','start'=>'Start date','manager'=>'Manager','salary'=>'Annual salary'] as $key=>$label)@endforeach
@php($sortLink=function($key) use($filters){return request()->fullUrlWithQuery(['sort'=>$key,'direction'=>$filters['sort']===$key&&$filters['direction']==='asc'?'desc':'asc','page'=>1]);}) @forelse($employees as $employee)@empty@endforelse
Employee ↕Role ↕Department ↕LocationStatus ↕Start date ↕ManagerAnnual salary ↕
{{ $employee->initials }}
{{ $employee->name }}{{ $employee->email }}
{{ $employee->role }}{{ $employee->department }}{{ $employee->location }}{{ $employee->status }}{{ $employee->start_date->format('Y-m-d') }}{{ $employee->manager }}${{ number_format($employee->annual_salary,0) }}
No workforce records match the current filters.

Report catalog

Approved report definitions and export formats

@foreach($reports as $report)
{{ $report['category'] }}

{{ $report['name'] }}

{{ $report['description'] }}

Last run: {{ $report['last_run'] }}{{ $report['format'] }}
View data
@endforeach
@endsection