@extends('layouts/contentNavbarLayout') @section('title', 'Post-Class Survey Dashboard') @section('vendor-style') @vite('resources/assets/vendor/libs/apex-charts/apex-charts.scss') @endsection @section('vendor-script') @vite('resources/assets/vendor/libs/apex-charts/apexcharts.js') @endsection @section('content')
Welcome to Faculty Evaluation System! 📊

Track faculty performance and student feedback.
Academic Year: {{ $currentAcademicYear }} - {{ $currentSemester }} Semester

View Reports
Dashboard
chart success

Total Responses

{{ number_format($totalResponses) }}

{{ $recentResponses }} this week
wallet info

Avg. Rating

{{ number_format($averageRating, 2) }}/4

Overall effectiveness
Response Trends (Last 30 Days)
@if($monthlyGrowth > 0) +{{ number_format($monthlyGrowth, 1) }}% @else {{ number_format($monthlyGrowth, 1) }}% @endif Monthly Growth
This Month
{{ $thisMonth }}
Last Month
{{ $lastMonth }}
faculty

Total Faculties

{{ $totalFaculties }}

Active faculty members
courses

Total Courses

{{ $totalCourses }}

Available subjects
Active Evaluations
CURRENT TERM

{{ $totalEvaluations }}

Forms available
Top Rated Faculties

This Month

    @forelse($topRatedFaculties as $faculty)
  • {{ $faculty->name }}
    {{ $faculty->department }}
    {{ number_format($faculty->avg_rating, 2) }} ({{ $faculty->response_count }} responses)
  • @empty
  • No data available yet

  • @endforelse
Department Performance
    @forelse($departmentStats as $dept)
  • {{ $dept->department ?? 'Not Assigned' }}
    {{ $dept->faculty_count }} faculty members
    {{ $dept->response_count }}
    responses
  • @empty
  • No department data available

  • @endforelse
Recent Feedback
    @forelse($recentFeedback as $feedback)
  • {{ $feedback->evaluation->faculty->name ?? 'Unknown Faculty' }}
    {{ $feedback->created_at->diffForHumans() }}
    {{ $feedback->schedule->facultyCourse->course->subject_code ?? 'N/A' }} - Rating: {{ $feedback->effectiveness_rating }}/4

    {{ Str::limit($feedback->feedback_comments, 60) }}

  • @empty
  • No recent feedback available

  • @endforelse
@if($coursePerformance->count() > 0)
Course Performance Overview
Top performing courses
@foreach($coursePerformance as $course) @endforeach
Class Code Subject Code Average Rating Total Responses Status
{{ $course->class_code }} {{ $course->subject_code }} {{ number_format($course->avg_rating, 2) }}/4 {{ $course->response_count }} @if($course->avg_rating >= 3.5) Excellent @elseif($course->avg_rating >= 2.5) Good @else Needs Improvement @endif
@endif @endsection @section('page-script') @endsection