Commit Graph

12 Commits

Author SHA1 Message Date
Yoga Pangestu
30fcfb4f20 fix: exclude soft-deleted records and validate relations in analytics queries 2026-05-02 18:07:24 +07:00
Yoga Pangestu
781962b44c feat: restrict dashboard sensitive financial metrics for admin role 2026-04-30 15:14:13 +07:00
Yoga Pangestu
b62dbf32d9 fix: make dashboard sales-by-hour query cross-database compatible and add dashboard feature tests 2026-04-30 09:08:41 +07:00
Yoga Pangestu
706937f479 refactor: rename hpp field to cogs across models, database, and controllers 2026-04-24 19:57:31 +07:00
Yoga Pangestu
cb11ee9be6 fix: filter dashboard order statistics by current date 2026-04-23 13:28:29 +07:00
Yoga Pangestu
ed7918e858 feat: add Top Products and Top Customers charts to the dashboard using a new BarChart component 2026-04-23 13:28:02 +07:00
Yoga Pangestu
f7288db5cb feat: add order distribution charts for payment methods, status, and channels to dashboard 2026-04-23 13:20:34 +07:00
Yoga Pangestu
7ee44c8fd9 feat: add sales by hour statistics to dashboard with interactive chart component 2026-04-23 13:01:58 +07:00
Yoga Pangestu
5f8718af69 refactor: modularize dashboard types and streamline UI components for improved stats display 2026-04-22 23:21:04 +07:00
Yoga Pangestu
2b43213ee4 refactor: import enum classes and apply PSR-12 formatting to DashboardController 2026-04-22 20:00:24 +07:00
Yoga Pangestu
0f3a4e9912 feat: implement dashboard analytics charts for sales activity, payment methods, and top products 2026-04-22 19:25:00 +07:00
Yoga Pangestu
5b3b12e6c2 feat: implement dashboard statistics controller and update UI with interactive metrics cards 2026-04-22 19:07:15 +07:00