How hmad28/absensi-dan-pelanggaran-sekolah works
This is a Laravel/Inertia school administration app for attendance, student conduct and reporting. The main workflow runs from staff-facing attendance or QR scanning through attendance processing, with late scans potentially creating violation points; staff then review student reports, while guardians see scoped child summaries. The graph also preserves master data, character points, calendar, notifications, WhatsApp preparation, backup and operational dashboards. Some links reflect README capabilities because the corresponding source was not sampled; uncertain implementation details are omitted.
Main entry points: web.php Web routes · StudentAttendance.php Attendance records · SchoolClass.php School data · StudentAttendanceController.php Attendance handler
Components 28
Application access
- Web routes
routes/web.php
Attendance
- Student attendance
resources/js/Pages/Attendance/Students/Index.vue - QR scanner
resources/js/Pages/Attendance/Students/QrScanner.vue - Attendance handler
app/Http/Controllers/Attendance/StudentAttendanceController.php - QR handler
app/Http/Controllers/Attendance/QrStudentAttendanceController.php - Submit attendance
app/Actions/Attendance/SubmitStudentAttendanceAction.php - QR attendance logic
app/Services/QrAttendanceService.php - School calendar
app/Services/AttendanceCalendarService.php - Attendance records
app/Models/StudentAttendance.php
Student records
- Student records
resources/js/Pages/Students/Index.vue - Student handler
app/Http/Controllers/Admin/StudentController.php - Student report data
app/Services/StudentReportData.php - Violation handler
app/Http/Controllers/Violations/StudentViolationController.php - Record violation
app/Actions/Violations/CreateStudentViolationAction.php - Character points
app/Http/Controllers/CharacterPoints/StudentCharacterPointController.php
Reports and communication
- Student reports
resources/js/Pages/Reports/StudentReports.vue - Report handler
app/Http/Controllers/Reports/ReportController.php - Guardian dashboard
app/Http/Controllers/Guardian/GuardianDashboardController.php - WhatsApp messages
app/Http/Controllers/WhatsApp/WhatsAppMessageController.php - Message previews
app/Services/WhatsAppMessageService.php - Notifications
app/Http/Controllers/Notifications/SchoolNotificationController.php - Notification service
app/Services/SchoolNotificationService.php
School operations
- School dashboard
app/Http/Controllers/DashboardController.php - Holiday calendar
app/Http/Controllers/Admin/AcademicCalendarHolidayController.php - Database backup
app/Http/Controllers/BackupController.php - School data
app/Models/SchoolClass.php
Other components
- School staff
- Guardian
Connections 37
- School staff → Web routes: uses
- Guardian → Web routes: uses
- Web routes → Attendance handler: dispatches
- Web routes → QR handler: dispatches
- Web routes → Student handler: dispatches
- Web routes → Violation handler: dispatches
- Web routes → Character points: dispatches
- Web routes → Report handler: dispatches
- Web routes → Guardian dashboard: dispatches
- Web routes → WhatsApp messages: dispatches
- Web routes → Notifications: dispatches
- Web routes → School dashboard: dispatches
- Web routes → Holiday calendar: dispatches
- Web routes → Database backup: dispatches
- Attendance handler → Student attendance: renders
- Attendance handler → Submit attendance: calls
- Attendance handler → Notification service: notifies
- Submit attendance → Attendance records: writes
- QR handler → QR scanner: renders
- QR handler → QR attendance logic: calls
- QR attendance logic → Attendance records: updates
- QR attendance logic → School calendar: checks
- Student handler → Student records: renders
- Student handler → Student report data: calls
- Student handler → School data: reads
- Violation handler → Record violation: calls
- Character points → School data: reads
- Web routes → Student reports: dispatches
- Report handler → Attendance records: reads
- Guardian dashboard → Attendance records: reads
- Guardian dashboard → Student report data: reads
- WhatsApp messages → Message previews: calls
- WhatsApp messages → Attendance records: reads
- Notifications → Notification service: calls
- Holiday calendar → School data: manages
- School dashboard → School data: reads
- Database backup → School data: backs up