1.1 KiB
1.1 KiB
Task K.1 Implementation Summary
Completed
- added
crm_report_definitionsschema and migration - seeded
crm_report_categorymaster options - seeded system report definitions:
lead_pipelineenquiry_pipelinesales_performancelost_analysisrevenue_by_customer
- added permissions:
crm.report.readcrm.report.export
- created
src/features/crm/reports/foundation with:- API contracts
- shared query options
ResolvedReportContextresolveCrmAccess()- dataset layer
- builder layer
- shared filter metadata builder
- export helpers
- added report discovery APIs:
GET /api/crm/reportsGET /api/crm/reports/catalogGET /api/crm/reports/filters
- added audit logging for report foundation reads
- added CRM Reports landing page and sidebar navigation entry
Verification
npm exec tsc --noEmit
Notes
- this task creates the shared report platform only; it does not implement business report execution pages yet
- export helpers are centralized and ready for future report-specific export routes