Admin Bufdir Report Page
Component Detail
User Interface
medium complexity
frontend
2
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Next.js admin portal page for Organization Admins and Global Admins to generate and review Bufdir reports. Supports single-organization generation for Org Admins and bulk multi-organization generation for Global Admins, consuming the same REST endpoint as the mobile screen.
admin-bufdir-report-page
Responsibilities
- Render organization and period selectors with multi-org bulk option for Global Admins
- Call shared REST API endpoint for report generation and display tabular results
- Show report history table with status, period, and download actions per organization
- Enforce role-based UI - single-org scope for Org Admins, cross-org bulk for Global Admins
Interfaces
loadOrganizationList()
triggerSingleReport(organizationId: string, period: ReportPeriod)
triggerBulkReports(organizationIds: string[], period: ReportPeriod)
listReportHistory(organizationId: string)
Relationships
Dependencies (2)
Components this component depends on