How itdhsel/eirv3 works
EIRv3 is an incident-reporting and review application. A reporter submits or edits a report; QA reviews it and requests feedback or RCA, after which the report can proceed through HOD approval and closure. The application also provides feedback submission, report listings and PDF downloads, role-based user administration, and login synchronized against an external staff database. Source excerpts show the main report and review paths; some dashboard, feedback, and state-machine connections are supported only by the SOURCE INDEX, so unsampled relationships are not expanded.
Main entry points: ir_routes.php Web routes · IncidentReport.php Incident record · IncidentReportController.php Report handling · IncidentState.php Incident states
Components 18
Web entry and access
- Web routes
routes/ir_routes.php - Login routes
routes/eirv3_auth_routes.php - Admin routes
routes/eirv3_admin_routes.php
Incident workflow
- Report handling
app/Http/Controllers/IncidentReportController.php - QA review
app/Http/Controllers/IncidentReviewController.php - Feedback submission
app/Http/Controllers/IncidentFeedbackController.php - Incident dashboard
app/Http/Controllers/Eirv3DashboardController.php - PDF downloads
app/Http/Controllers/IncidentReportController.php - PDF templates
resources/views/ir/pdf-completed.blade.php
Identity and administration
- Staff login
app/Http/Controllers/LoginController.php - User management
app/Http/Controllers/Admin/UserManagementController.php - Access rules
app/Policies/IncidentReportPolicy.php
Domain data and states
- Incident states
app/States/IncidentState/IncidentState.php - Incident record
app/Models/IncidentReport.php - Users and roles
app/Models/User.php
Other components
- Reporter
- QA reviewer
- External staff database
Connections 19
- Reporter → Web routes: submits reports
routes/ir_routes.php - QA reviewer → Web routes: reviews reports
routes/ir_routes.php - Web routes → Report handling: routes requests
routes/ir_routes.php - Web routes → QA review: routes reviews
routes/ir_routes.php - Web routes → Feedback submission: routes feedback
routes/ir_routes.php - Report handling → Incident record: creates and updates
app/Http/Controllers/IncidentReportController.php - QA review → Incident record: updates report
app/Http/Controllers/IncidentReviewController.php - QA review → Incident states: selects review states
app/Http/Controllers/IncidentReviewController.php - Report handling → Incident states: sets reported state
app/Http/Controllers/IncidentReportController.php - Feedback submission → Incident record: updates report
app/Http/Controllers/IncidentFeedbackController.php - Incident dashboard → Incident record: queries reports
app/Http/Controllers/Eirv3DashboardController.php - Report handling → PDF templates: renders PDF
app/Http/Controllers/IncidentReportController.php - Login routes → Staff login: routes login
routes/eirv3_auth_routes.php - Staff login → External staff database: checks staff credentials
app/Http/Controllers/LoginController.php - Staff login → Users and roles: syncs local account
app/Http/Controllers/LoginController.php - Admin routes → User management: routes administration
routes/eirv3_admin_routes.php - User management → Users and roles: manages accounts
app/Http/Controllers/Admin/UserManagementController.php - Incident record → Users and roles: associates reporter
app/Models/IncidentReport.php - Incident states → Incident states: defines transitions
app/States/IncidentState/IncidentState.php