- Reports are computed via MongoDB aggregation pipelines built in PHP, not via precomputed materialized views.
- Pagination is implemented manually with
array_sliceon the result set rather than via the database skip/limit. - The route
/api/report/api/report/chatcarries a duplicated segment, hinting at a misconfigured route group prefix. - The
prducttypo (intended “product”) is embedded in field names and shipped to production. - The auto report feature is half-done — only a subset of scheduled reports actually generate and persist.
Report (Laporan)
Overview of the Report module that aggregates metrics via MongoDB pipelines.