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"])