Actions
Bug #312
open
PK
Title: Fix `getDailyTrend()` in dashboard service
Bug #312:
Title: Fix `getDailyTrend()` in dashboard service
Status:
New
Priority:
High
Assignee:
-
Category:
-
Start date:
04/08/2026
Due date:
04/08/2026 (5 days late)
% Done:
100%
Estimated time:
1:00 h
Description
- Replace broken TypeORM query in
delivery-app-api/src/modules/dashboard/dashboard.service.ts- Use a raw PostgreSQL query with
generate_seriesto return one row per day - Aggregate
delivery_requests,delivery_orders, and completed requests correctly - Ensure date range filtering works for the selected dashboard period
- Use a raw PostgreSQL query with
No data to display
Actions