@extends('layouts.admin') @section('title', 'Departments Report') @section('content')
Department-wise performance and activity analysis
| Department | Total Positions | Active Positions | Total Applications | Avg Applications/Position | Performance |
|---|---|---|---|---|---|
| {{ $stat['department'] }} | {{ $stat['total_positions'] }} | {{ $stat['active_positions'] }} | {{ $stat['total_applications'] }} | {{ $stat['avg_applications_per_position'] }} | @php $performance = 'Low'; $badgeClass = 'secondary'; if ($stat['avg_applications_per_position'] >= 10) { $performance = 'High'; $badgeClass = 'success'; } elseif ($stat['avg_applications_per_position'] >= 5) { $performance = 'Medium'; $badgeClass = 'warning'; } @endphp {{ $performance }} |
No department data available.
@endifNo active departments found.
@endifNo status data available.
@endif{{ Str::limit($department->description, 100) }}
@endifNo departments found.
@endif