diff --git a/app/api/routes/routes.py b/app/api/routes/routes.py index 8d214bb..7f5b6cb 100644 --- a/app/api/routes/routes.py +++ b/app/api/routes/routes.py @@ -471,6 +471,15 @@ def get_product_templates(): result = OfficeDashboardService.get_office_product_templates(filters) return jsonify(result) +@api.route('/office/accoint-view', methods=['GET']) +def get_office_accoint_view(): + # Call the office account viiew + filters = { + 'member_uid': request.args.get('product_id') + } + result = OfficeDashboardService.get_office_product_templates(filters) + return jsonify(result) + @api.route('/office/custom-templates', methods=['GET']) def get_custom_templates(): # Call the dashboard service