fix: urutan filter data siswa: Jurusan → Tingkat → Kelas

- Dropdown diurutkan: Jurusan, Tingkat Kelas, Kelas
- Jurusan di-sort by department_name (alfabetis)
- Hapus kode jurusan dari option (cukup nama)
This commit is contained in:
Bro
2026-07-24 18:56:50 +07:00
parent 798c8c3baf
commit 9be9b4d939
2 changed files with 12 additions and 11 deletions
@@ -50,6 +50,7 @@ class StudentReportController extends Controller
->whereNotNull('department_code')
->where('department_code', '!=', '')
->get()
->sortBy('department_name')
->pluck('department_name', 'department_code');
return view('students.index', compact('students', 'classLevels', 'classNames', 'departments'));