Checking admin session...
Admin Login
Login using your Firebase Authentication admin account.
{{vm.authError}}
Required user profile path:
users/{uid}/role = "admin" or "super_admin".
Access Denied
Your account is not tagged as admin in the database.
Admin Dashboard
Control panel for reviewing production/support reports and DRRM incident reports.
Total
{{vm.reports.length | number}}
All reports
DRRM
{{vm.countIncidentReports() | number}}
Incident reports
Critical
{{vm.countCriticalIncidents() | number}}
Severe / critical
Submitted
{{vm.countStatus('Submitted') | number}}
New submissions
Action
{{vm.countActionQueue() | number}}
For validation/action
Closed
{{vm.countClosedReports() | number}}
Acted / resolved
| # | Reference No. | Type | Status | Reporter | Category / Commodity | Location | Severity / Priority | Assigned Office | Submitted | Action |
|---|---|---|---|---|---|---|---|---|---|---|
| {{vm.pageOffset + $index + 1}} |
{{r.referenceNo || r.id}}
Incident: {{vm.formatDateOnly(r.incidentDate)}} {{r.incidentTime || ''}}
|
{{vm.reportKindLabel(r)}} | {{r.status || 'Submitted'}} |
{{r.reporterName || '-'}}
{{r.contactNo || r.email || ''}}
|
{{vm.reportSubject(r)}}
{{r.displayIncidentType || r.incidentType || 'DRRM Incident'}}
{{r.displayProductionType || r.sector || ''}}
|
{{r.barangay || '-'}}
{{r.municipality || '-'}}, {{r.province || '-'}}
|
{{vm.reportSeverityPriority(r)}} | {{r.assignedOffice || '-'}} | {{vm.formatDate(r.submittedAt || r.createdAt)}} | |
|
No matching reports found.
|
||||||||||
Showing {{vm.filteredReports().length ? vm.pageOffset + 1 : 0}} -
{{vm.min(vm.pageOffset + vm.pageSize, vm.filteredReports().length)}} of
{{vm.filteredReports().length}} report(s)