reprts
This commit is contained in:
@@ -277,6 +277,36 @@ def merms_report_topics():
|
||||
return response
|
||||
|
||||
|
||||
@api.route("/panel/report/item/payment", methods=["POST"])
|
||||
@jwt_required()
|
||||
def merms_report_topics_payment():
|
||||
data = request.get_json()
|
||||
response = ReportService.process_report_topic_request(data)
|
||||
return response
|
||||
|
||||
|
||||
@api.route("/panel/report/item/system", methods=["POST"])
|
||||
@jwt_required()
|
||||
def merms_report_topics_system():
|
||||
data = request.get_json()
|
||||
response = ReportService.process_report_topic_request(data)
|
||||
return response
|
||||
|
||||
|
||||
@api.route("/panel/report/item/product", methods=["POST"])
|
||||
@jwt_required()
|
||||
def merms_report_topics_product():
|
||||
data = request.get_json()
|
||||
response = ReportService.process_report_topic_request(data)
|
||||
return response
|
||||
|
||||
|
||||
# @api.route("/panel/report/topics", methods=["POST"])
|
||||
# @jwt_required()
|
||||
# def merms_report_topics():
|
||||
# data = request.get_json()
|
||||
# response = ReportService.process_report_topic_request(data)
|
||||
# return response
|
||||
|
||||
|
||||
@api.route("/panel/account/products/color-styles", methods=["POST"])
|
||||
|
||||
@@ -63,9 +63,10 @@ class ReportService(BaseService):
|
||||
@staticmethod
|
||||
def configured_report_types():
|
||||
data = {
|
||||
"topics":[
|
||||
"topics": [
|
||||
{"name": 'Payments', "url": 'payment', "active": True, "list_order": 0},
|
||||
{"name": 'Product', "url": 'product', "active": True, "list_order": 1},
|
||||
{"name": 'System', "url": 'system', "active": True, "list_order": 2},
|
||||
]
|
||||
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ class WebContentsService(BaseService):
|
||||
"site_title": "my-site-title",
|
||||
"site_description": "This is site description in the header",
|
||||
"site_logo_text": "MY-GOOD-LOGO",
|
||||
"site_contact_email": "email@specialemail.com",
|
||||
"site_contact_email": "email@email.com",
|
||||
"site_contact_phone": "911 111 1111",
|
||||
"site_keywords": "Responsive, HTML5, DSAThemes, Landing, Software, Mobile App, SaaS, Startup, Creative, Digital Product",
|
||||
"facebook": "myface.facebook.com",
|
||||
@@ -76,6 +76,7 @@ class WebContentsService(BaseService):
|
||||
web_contents_data[t.settings_key.strip()] = t.setting_value.strip()
|
||||
|
||||
# The template set up
|
||||
web_contents_data["web_images"]=[]
|
||||
|
||||
|
||||
return web_contents_data
|
||||
|
||||
Reference in New Issue
Block a user