feat: Implement dedicated dashboard service and data models, revamp upcoming transactions UI, and update dashboard charts to use new category data.

This commit is contained in:
xds
2025-11-21 19:11:36 +03:00
parent d969551491
commit f3286d2f4c
10 changed files with 385 additions and 199 deletions

View File

@@ -89,3 +89,9 @@ export const getRandomColor = () => {
}
export const toDateOnly = (d : Date): string => {
const y = d.getFullYear();
const m = String(d.getMonth() + 1).padStart(2, '0');
const day = String(d.getDate()).padStart(2, '0');
return `${y}-${m}-${day}`;
}