From 80316f1221432283e93e4ea40299ea05ce5574b2 Mon Sep 17 00:00:00 2001 From: ameye Date: Sat, 2 May 2026 03:10:20 -0400 Subject: [PATCH] reporting --- app/api/routes/routes.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app/api/routes/routes.py b/app/api/routes/routes.py index 76a3fbe..34c0557 100644 --- a/app/api/routes/routes.py +++ b/app/api/routes/routes.py @@ -744,6 +744,13 @@ def get_recent_signup_office(): result = OfficeDashboardService.get_recent_signup_data(filters) return jsonify(result) +@api.route('/office/recent-account', methods=['GET']) +def get_recent_account_office(): + # Call the dashboard service + filters = {} + result = OfficeDashboardService.get_recent_signup_data(filters) + return jsonify(result) + @api.route('/office/right-sidebar', methods=['GET']) def get_office_sidebar(): @@ -913,6 +920,14 @@ def refresh_payhx(): AutomationCalls.process_stripe_payment_refresh(data) return {"status": "ok"}, 200 +# Automatic Reporting +@api.route("/auto/dailyReport", methods=["GET"]) +def refresh_payhx(): + data = {} + # AutomationCalls.process_stripe_payment_refresh(data) + return {"status": "ok"}, 200 + + # Health Check Endpoint @api.route("/health", methods=["GET"])