How sandun963/cms works
This Laravel application manages IT breakdown requests through submission, administrative assignment, technical resolution, and ministry-user verification. It also provides role-specific dashboards, user and department administration, location management, reports, escalation handling, and due-date alerts. The graph follows documented workflow ownership and source-index references; several controllers and models were not excerpted, so their internal calls are not inferred. Email notifications and PDF/Excel export are documented as future work, not implemented capabilities.
Main entry points: web.php Web routes · BreakdownRequest.php Breakdown requests · WorkReportController.php Work reports · DashboardController.php Role dashboards
Components 31
Request workflow
- Request handling
app/Http/Controllers/BreakdownRequestController.php - Breakdown requests
app/Models/BreakdownRequest.php - IT assignment
app/Http/Controllers/AssignmentController.php - Assignments
app/Models/Assignment.php - Officer assignment
app/Http/Controllers/OfficerAssignmentController.php - Technician assignments
app/Models/OfficerAssignment.php - Work reports
app/Http/Controllers/WorkReportController.php - Work report records
app/Models/WorkReport.php - Department verification
app/Http/Controllers/DepartmentConfirmationController.php - Confirmations
app/Models/DepartmentConfirmation.php - Activity timeline
app/Models/ActivityLog.php - File attachments
app/Models/Attachment.php
Operations and alerts
- Role dashboards
app/Http/Controllers/DashboardController.php - Escalation handling
app/Http/Controllers/EscalationController.php - Escalation records
app/Models/Escalation.php - Due-date alerts
app/Services/NotificationService.php
Administration
- Authentication
app/Http/Controllers/Auth/LoginController.php - User records
app/Models/User.php - User administration
app/Http/Controllers/UserController.php - Department records
app/Models/Department.php - Category management
app/Http/Controllers/CategoryController.php
Reporting and locations
- Location management
app/Http/Controllers/LocationController.php - Floor records
app/Models/Floor.php - Division records
app/Models/Division.php - Area records
app/Models/Area.php - Reports and filters
app/Http/Controllers/ReportController.php
Other components
- Ministry user
- IT Head
- Assign Officer
- Technical Officer
- Web routes
routes/web.php
Connections 41
- Ministry user → Request handling: submits request
- Request handling → Breakdown requests: creates request
app/Http/Controllers/BreakdownRequestController.php - IT Head → IT assignment: reviews and assigns
- IT assignment → Assignments: creates assignment
- IT assignment → Breakdown requests: updates status
- Assign Officer → Officer assignment: selects technician
- Officer assignment → Technician assignments: creates assignment
- Officer assignment → Breakdown requests: updates assignee
- Technical Officer → Work reports: files work report
- Work reports → Work report records: stores report
app/Http/Controllers/WorkReportController.php - Work reports → Breakdown requests: updates status
- Ministry user → Department verification: verifies resolution
- Department verification → Confirmations: records decision
app/Http/Controllers/DepartmentConfirmationController.php - Department verification → Breakdown requests: closes or reopens
- Authentication → User records: authenticates
app/Http/Controllers/Auth/LoginController.php - Authentication → Activity timeline: logs login
app/Http/Controllers/Auth/LoginController.php - Request handling → Activity timeline: logs activity
app/Http/Controllers/BreakdownRequestController.php - Work reports → Activity timeline: logs activity
app/Http/Controllers/WorkReportController.php - Work reports → File attachments: stores files
app/Http/Controllers/WorkReportController.php - Role dashboards → Breakdown requests: summarizes requests
app/Http/Controllers/DashboardController.php - Role dashboards → Assignments: summarizes assignments
app/Http/Controllers/DashboardController.php - Role dashboards → Technician assignments: summarizes technician work
app/Http/Controllers/DashboardController.php - Escalation handling → Breakdown requests: reads request
app/Http/Controllers/EscalationController.php - Escalation handling → Escalation records: manages escalation
app/Http/Controllers/EscalationController.php - Due-date alerts → Technician assignments: checks due dates
app/Services/NotificationService.php - Due-date alerts → Escalation records: reads escalations
app/Services/NotificationService.php - User administration → User records: manages users
app/Http/Controllers/UserController.php - Category management → Breakdown requests: uses request category
- Location management → Floor records: manages locations
app/Http/Controllers/LocationController.php - Location management → Division records: manages locations
app/Http/Controllers/LocationController.php - Location management → Area records: manages locations
app/Http/Controllers/LocationController.php - Reports and filters → Breakdown requests: aggregates and filters
app/Http/Controllers/ReportController.php - Web routes → Request handling: routes requests
routes/web.php - Web routes → Role dashboards: routes dashboards
routes/web.php - Web routes → IT assignment: routes assignments
routes/web.php - Web routes → Officer assignment: routes assignments
routes/web.php - Web routes → Work reports: routes reports
routes/web.php - Web routes → Department verification: routes verification
routes/web.php - Web routes → Escalation handling: routes escalation
routes/web.php - Web routes → Reports and filters: routes reporting
routes/web.php - Web routes → Location management: routes locations
routes/web.php