Fix dashboard statistics and refine production data calculations

Update server logic to accurately calculate monthly statistics from the database, improve handling of end dates for month calculations, and add development mode mock data for statistics.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 7c468936-2a88-4686-ac0a-84921a45222d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/7c468936-2a88-4686-ac0a-84921a45222d/yRuCvpw
This commit is contained in:
michaelschal committed 2025-08-13 12:14:54 +00:00
1 parent e4ad3539c7
commit 5259e2b2cd
4 files changed
+130 -13

No files matched your search

+1 -1
View File
@@ -2,4 +2,4 @@
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
#HttpOnly_localhost FALSE / FALSE 1755173433 connect.sid s%3APGqUalemjZ2LGVOwDlM8ZFsagdcAZHeK.JlRoAc5lIB6Ilp%2BPT3ZuWeKWe2XU4q3K2VJknDOM1tE
#HttpOnly_localhost FALSE / FALSE 1755173643 connect.sid s%3ARJVevhpqKq9drfbbR46G-2Ll2WIWg2Es.qOQvBzSdDPOh9zhkIbeCCSRmumFEtIy1LT2pYBPaEck