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>
24 lines
738 B
JSON
24 lines
738 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Skill(update-config)",
|
|
"Skill(update-config:*)",
|
|
"Bash(npx prisma *)",
|
|
"Bash(xargs grep -l \"effectivePrice\")",
|
|
"Bash(npx tsc *)",
|
|
"Bash(powershell -Command \"Get-ChildItem D:\\\\Craft2Prints -Filter '.env*' -Force | Select-Object Name\")",
|
|
"Bash(dir /a D:\\\\Craft2Prints\\\\.env*)",
|
|
"Bash(git add *)",
|
|
"Bash(git restore *)",
|
|
"Bash(git reset *)",
|
|
"Bash(git checkout *)",
|
|
"Bash(git commit -m ' *)",
|
|
"Bash(git commit -m 'Remove AdminMenu from public site header *)",
|
|
"Bash(git push *)",
|
|
"Bash(rm -rf .next)",
|
|
"Bash(npm run *)",
|
|
"Bash(git commit -m 'Wire Stage 3 reports to real data *)"
|
|
]
|
|
}
|
|
}
|