feat: endpoint statistik pelanggaran wali (kategori, jenis, tren 6 bulan)

This commit is contained in:
Novy San87
2026-08-06 12:52:25 +07:00
parent 86950060fc
commit 1b49270c4a
2 changed files with 75 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@ Route::middleware('auth:sanctum')->prefix('parent')->group(function () {
Route::get('/students/{student}/schedule', [ParentStudentController::class, 'schedule'])->name('api.parent.students.schedule');
Route::get('/students/{student}/attendance', [ParentStudentController::class, 'attendance'])->name('api.parent.students.attendance');
Route::get('/students/{student}/points-history', [ParentStudentController::class, 'pointsHistory'])->name('api.parent.students.points-history');
Route::get('/students/{student}/violations-stats', [ParentStudentController::class, 'violationsStats'])->name('api.parent.students.violations-stats');
// Notifikasi & perangkat
Route::get('/notifications', [ParentNotificationController::class, 'index'])->name('api.parent.notifications');