From ca7dbbe58aef588c8785a97c8a298671b9fb1587 Mon Sep 17 00:00:00 2001 From: meichthys Date: Fri, 26 Sep 2025 02:54:50 +0000 Subject: [PATCH] add recent prayer request report --- church/church_prayers/report/__init__.py | 0 .../__init__.py | 0 ...rch_prayer_requests:_recently_created.json | 71 +++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 church/church_prayers/report/__init__.py create mode 100644 church/church_prayers/report/church_prayer_requests:_recently_created/__init__.py create mode 100644 church/church_prayers/report/church_prayer_requests:_recently_created/church_prayer_requests:_recently_created.json diff --git a/church/church_prayers/report/__init__.py b/church/church_prayers/report/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/church/church_prayers/report/church_prayer_requests:_recently_created/__init__.py b/church/church_prayers/report/church_prayer_requests:_recently_created/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/church/church_prayers/report/church_prayer_requests:_recently_created/church_prayer_requests:_recently_created.json b/church/church_prayers/report/church_prayer_requests:_recently_created/church_prayer_requests:_recently_created.json new file mode 100644 index 0000000..9c2c995 --- /dev/null +++ b/church/church_prayers/report/church_prayer_requests:_recently_created/church_prayer_requests:_recently_created.json @@ -0,0 +1,71 @@ +{ + "add_total_row": 0, + "add_translate_data": 0, + "columns": [ + { + "fieldname": "status", + "fieldtype": "Link", + "label": "Status", + "options": "Church Prayer Request Status", + "width": 0 + }, + { + "fieldname": "type", + "fieldtype": "Link", + "label": "Type", + "options": "Church Prayer Request Type", + "width": 0 + }, + { + "fieldname": "related_person", + "fieldtype": "Link", + "label": "Related Person", + "options": "Church Person", + "width": 0 + }, + { + "fieldname": "request", + "fieldtype": "Data", + "label": "Request", + "width": 0 + } + ], + "creation": "2025-09-25 22:27:45.158907", + "disabled": 0, + "docstatus": 0, + "doctype": "Report", + "filters": [ + { + "default": "", + "fieldname": "request_since", + "fieldtype": "Date", + "label": "Requests Since...", + "mandatory": 1, + "options": "", + "wildcard_filter": 0 + } + ], + "idx": 1, + "is_standard": "Yes", + "json": "{}", + "letterhead": null, + "modified": "2025-09-25 22:54:20.356971", + "modified_by": "Administrator", + "module": "Church Prayers", + "name": "Church Prayer Requests: Recently Created", + "owner": "Administrator", + "prepared_report": 0, + "query": "SELECT status, type, related_person, request\nFROM `tabChurch Prayer Request`\nWHERE creation > %(request_since)s;", + "ref_doctype": "Church Prayer Request", + "report_name": "Church Prayer Requests: Recently Created", + "report_type": "Query Report", + "roles": [ + { + "role": "Church Manager" + }, + { + "role": "Church User" + } + ], + "timeout": 0 +} \ No newline at end of file