Merge pull request #22020 from frappe/mergify/bp/version-13-beta-pre-release/pr-22019

fix: empty filters in Healthcare Charts (bp #22019)
This commit is contained in:
Rucha Mahabal 2020-05-28 19:25:51 +05:30 committed by GitHub
commit fb6ad158a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -71,7 +71,7 @@ def get_charts():
"chart_name": _("Department wise Patient Appointments"),
"chart_type": "Custom",
"source": "Department wise Patient Appointments",
"filters_json": json.dumps({}),
"filters_json": json.dumps([]),
'is_public': 1,
"owner": "Administrator",
"type": "Bar",
@ -159,7 +159,7 @@ def get_charts():
"document_type": "Patient Encounter Symptom",
"group_by_type": "Count",
"group_by_based_on": "complaint",
"filters_json": json.dumps({}),
"filters_json": json.dumps([]),
'is_public': 1,
"owner": "Administrator",
"type": "Percentage",
@ -173,7 +173,7 @@ def get_charts():
"document_type": "Patient Encounter Diagnosis",
"group_by_type": "Count",
"group_by_based_on": "diagnosis",
"filters_json": json.dumps({}),
"filters_json": json.dumps([]),
'is_public': 1,
"owner": "Administrator",
"type": "Percentage",
@ -229,7 +229,7 @@ def get_number_cards():
},
{
"name": "Appointments to Bill",
"label": _("Appointments to Bill"),
"label": _("Appointments To Bill"),
"function": "Count",
"doctype": "Number Card",
"document_type": "Patient Appointment",

View File

@ -64,7 +64,7 @@
"idx": 0,
"is_standard": 1,
"label": "Healthcare",
"modified": "2020-05-19 20:57:22.797267",
"modified": "2020-05-28 19:02:28.824995",
"modified_by": "Administrator",
"module": "Healthcare",
"name": "Healthcare",
@ -109,7 +109,7 @@
"type": "Page"
},
{
"label": "Healthcare Dashboard",
"label": "Dashboard",
"link_to": "Healthcare",
"type": "Dashboard"
}