Wire Stage 3 reports to real data

Created getReportData server action to fetch Orders, ManualSales, and
Expenses from database. Split reports page into server component (fetches
data) and client component (renders charts). Reports now display actual
business data instead of mock data - monthly profit, expense breakdown,
and cash flow tables.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Andymick
2026-07-15 19:24:56 +01:00
co-authored by Claude Haiku 4.5
parent 339b2d960e
commit 39f54dedee
4 changed files with 240 additions and 183 deletions
+4 -1
View File
@@ -14,7 +14,10 @@
"Bash(git checkout *)",
"Bash(git commit -m ' *)",
"Bash(git commit -m 'Remove AdminMenu from public site header *)",
"Bash(git push *)"
"Bash(git push *)",
"Bash(rm -rf .next)",
"Bash(npm run *)",
"Bash(git commit -m 'Wire Stage 3 reports to real data *)"
]
}
}