From 36fb5de0581f016478a0212a6a5acf34d23d395c Mon Sep 17 00:00:00 2001 From: meichthys Date: Mon, 22 Sep 2025 03:53:54 +0000 Subject: [PATCH] update dashboard charts --- church/fixtures/dashboard_chart.json | 168 ++++++++++++++++++++------- 1 file changed, 123 insertions(+), 45 deletions(-) diff --git a/church/fixtures/dashboard_chart.json b/church/fixtures/dashboard_chart.json index 41d397e..dcd4502 100644 --- a/church/fixtures/dashboard_chart.json +++ b/church/fixtures/dashboard_chart.json @@ -2,46 +2,7 @@ { "aggregate_function_based_on": null, "based_on": "creation", - "chart_name": "Church Collections", - "chart_type": "Sum", - "color": "#138a25", - "currency": "USD", - "custom_options": null, - "docstatus": 0, - "doctype": "Dashboard Chart", - "document_type": "Church Donation", - "dynamic_filters_json": "[]", - "filters_json": "[]", - "from_date": null, - "group_by_based_on": null, - "group_by_type": "Count", - "heatmap_year": null, - "is_public": 0, - "is_standard": 1, - "last_synced_on": "2025-09-13 22:25:21.333704", - "modified": "2025-09-07 00:55:38.760521", - "module": "Church", - "name": "Church Collections", - "number_of_groups": 0, - "parent_document_type": "Church Collection", - "report_name": null, - "roles": [], - "show_values_over_chart": 1, - "source": "", - "time_interval": "Weekly", - "timeseries": 1, - "timespan": "Last Year", - "to_date": null, - "type": "Bar", - "use_report_chart": 0, - "value_based_on": "amount", - "x_field": null, - "y_axis": [] - }, - { - "aggregate_function_based_on": null, - "based_on": "creation", - "chart_name": "Church Persons", + "chart_name": "Church Persons Count", "chart_type": "Count", "color": null, "currency": "USD", @@ -57,10 +18,10 @@ "heatmap_year": null, "is_public": 0, "is_standard": 1, - "last_synced_on": "2025-09-13 22:25:21.071810", + "last_synced_on": "2025-09-16 22:05:41.652485", "modified": "2025-09-07 00:54:39.868404", "module": "Church", - "name": "Church Persons", + "name": "Church Persons Count", "number_of_groups": 0, "parent_document_type": "", "report_name": null, @@ -80,7 +41,7 @@ { "aggregate_function_based_on": null, "based_on": "membership_date", - "chart_name": "New Church Members", + "chart_name": "Church Members Count (New by Month)", "chart_type": "Count", "color": "#29CD42", "currency": "", @@ -96,10 +57,10 @@ "heatmap_year": null, "is_public": 1, "is_standard": 1, - "last_synced_on": "2025-09-13 22:25:21.296244", + "last_synced_on": "2025-09-16 22:05:41.747379", "modified": "2025-09-07 00:50:04.955468", "module": "Church", - "name": "New Church Members", + "name": "Church Members Count (New by Month)", "number_of_groups": 0, "parent_document_type": "", "report_name": null, @@ -115,5 +76,122 @@ "value_based_on": "", "x_field": null, "y_axis": [] + }, + { + "aggregate_function_based_on": null, + "based_on": "creation", + "chart_name": "Church Prayer Request Count (Active)", + "chart_type": "Count", + "color": "#ECAD4B", + "currency": "USD", + "custom_options": null, + "docstatus": 0, + "doctype": "Dashboard Chart", + "document_type": "Church Prayer Request", + "dynamic_filters_json": "[]", + "filters_json": "[[\"Church Prayer Request\",\"status\",\"in\",[\"Requested\",\"Intercession\"],false]]", + "from_date": null, + "group_by_based_on": null, + "group_by_type": "Count", + "heatmap_year": null, + "is_public": 1, + "is_standard": 1, + "last_synced_on": "2025-09-16 22:40:43.607022", + "modified": "2025-09-14 23:14:26.147339", + "module": "Church", + "name": "Church Prayer Request Count (Active)", + "number_of_groups": 0, + "parent_document_type": "", + "report_name": null, + "roles": [], + "show_values_over_chart": 1, + "source": "", + "time_interval": "Daily", + "timeseries": 1, + "timespan": "Last Year", + "to_date": null, + "type": "Line", + "use_report_chart": 0, + "value_based_on": "", + "x_field": null, + "y_axis": [] + }, + { + "aggregate_function_based_on": null, + "based_on": "creation", + "chart_name": "Church Collections Sum", + "chart_type": "Sum", + "color": "#138a25", + "currency": "USD", + "custom_options": null, + "docstatus": 0, + "doctype": "Dashboard Chart", + "document_type": "Church Donation", + "dynamic_filters_json": "[]", + "filters_json": "[]", + "from_date": null, + "group_by_based_on": null, + "group_by_type": "Count", + "heatmap_year": null, + "is_public": 0, + "is_standard": 1, + "last_synced_on": "2025-09-16 22:05:41.799193", + "modified": "2025-09-07 00:55:38.760521", + "module": "Church", + "name": "Church Collections Sum", + "number_of_groups": 0, + "parent_document_type": "Church Collection", + "report_name": null, + "roles": [], + "show_values_over_chart": 1, + "source": "", + "time_interval": "Weekly", + "timeseries": 1, + "timespan": "Last Year", + "to_date": null, + "type": "Bar", + "use_report_chart": 0, + "value_based_on": "amount", + "x_field": null, + "y_axis": [] + }, + { + "aggregate_function_based_on": null, + "based_on": "modified", + "chart_name": "Church Prayer Requests (Answered)", + "chart_type": "Count", + "color": "#29CD42", + "currency": "USD", + "custom_options": null, + "docstatus": 0, + "doctype": "Dashboard Chart", + "document_type": "Church Prayer Request", + "dynamic_filters_json": "[]", + "filters_json": "[[\"Church Prayer Request\",\"status\",\"=\",\"Answered\",false]]", + "from_date": null, + "group_by_based_on": null, + "group_by_type": "Count", + "heatmap_year": null, + "is_public": 1, + "is_standard": 1, + "last_synced_on": "2025-09-16 22:40:43.810928", + "modified": "2025-09-14 23:14:16.569027", + "module": "Church", + "name": "Church Prayer Requests (Answered)", + "number_of_groups": 0, + "parent_document_type": "", + "report_name": null, + "roles": [], + "show_values_over_chart": 1, + "source": "", + "time_interval": "Daily", + "timeseries": 1, + "timespan": "Last Year", + "to_date": null, + "type": "Line", + "use_report_chart": 0, + "value_based_on": "", + "x_field": null, + "y_axis": [] } ] \ No newline at end of file