diff --git a/church/church_communications/report/__init__.py b/church/church_communications/report/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/church/church_communications/report/church_letters_to_be_shared/__init__.py b/church/church_communications/report/church_letters_to_be_shared/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/church/church_communications/report/church_letters_to_be_shared/church_letters_to_be_shared.json b/church/church_communications/report/church_letters_to_be_shared/church_letters_to_be_shared.json new file mode 100644 index 0000000..64252a1 --- /dev/null +++ b/church/church_communications/report/church_letters_to_be_shared/church_letters_to_be_shared.json @@ -0,0 +1,72 @@ +{ + "add_total_row": 0, + "add_translate_data": 0, + "columns": [ + { + "fieldname": "parenttype", + "fieldtype": "Link", + "label": "Type", + "options": "Doctype", + "width": 0 + }, + { + "fieldname": "parent", + "fieldtype": "Dynamic Link", + "label": "From", + "options": "parenttype", + "width": 0 + }, + { + "fieldname": "date", + "fieldtype": "Date", + "label": "Received", + "width": 0 + }, + { + "fieldname": "is_private", + "fieldtype": "Check", + "label": "Private?", + "width": 0 + }, + { + "fieldname": "file", + "fieldtype": "Data", + "label": "File", + "options": "URL", + "width": 200 + }, + { + "fieldname": "content", + "fieldtype": "Data", + "label": "Content", + "width": 0 + } + ], + "creation": "2025-10-03 23:57:52.706273", + "disabled": 0, + "docstatus": 0, + "doctype": "Report", + "filters": [], + "idx": 0, + "is_standard": "Yes", + "letterhead": null, + "modified": "2025-10-04 00:57:20.117288", + "modified_by": "Administrator", + "module": "Church Communications", + "name": "Church Letters To Be Shared", + "owner": "Administrator", + "prepared_report": 0, + "query": "SELECT parenttype, parent, date, is_private, COALESCE(file, \" \"), content, name \nFROM `tabChurch Letter` \nWHERE share_with_church = True\n AND shared_date IS NULL;", + "ref_doctype": "Church Person", + "report_name": "Church Letters To Be Shared", + "report_type": "Query Report", + "roles": [ + { + "role": "Church Manager" + }, + { + "role": "Church User" + } + ], + "timeout": 0 +} \ No newline at end of file diff --git a/church/church_communications/workspace/communications/communications.json b/church/church_communications/workspace/communications/communications.json index 834f0db..1523c77 100644 --- a/church/church_communications/workspace/communications/communications.json +++ b/church/church_communications/workspace/communications/communications.json @@ -1,6 +1,6 @@ { "charts": [], - "content": "[{\"id\":\"nnvMTG5Sl5\",\"type\":\"paragraph\",\"data\":{\"text\":\"\\\"Let no unwholesome talk come out of your mouths, but only what is helpful for building up the one in need and bringing grace to those who listen.\\\"/\",\"col\":12}},{\"id\":\"ybuIQ-BIW-\",\"type\":\"card\",\"data\":{\"card_name\":\"Communication Reports\",\"col\":4}}]", + "content": "[{\"id\":\"nnvMTG5Sl5\",\"type\":\"paragraph\",\"data\":{\"text\":\"\\\"Let no unwholesome talk come out of your mouths, but only what is helpful for building up the one in need and bringing grace to those who listen.\\\"/\",\"col\":12}},{\"id\":\"ybuIQ-BIW-\",\"type\":\"card\",\"data\":{\"card_name\":\"Communication Reports\",\"col\":5}}]", "creation": "2025-10-03 23:10:33.370229", "custom_blocks": [], "docstatus": 0, @@ -17,7 +17,7 @@ "hidden": 0, "is_query_report": 0, "label": "Communication Reports", - "link_count": 2, + "link_count": 3, "link_type": "DocType", "onboard": 0, "type": "Card Break" @@ -25,7 +25,7 @@ { "hidden": 0, "is_query_report": 1, - "label": "Church Missionary Letters", + "label": "Missionary Letters", "link_count": 0, "link_to": "Church Missionary Letters", "link_type": "Report", @@ -35,15 +35,25 @@ { "hidden": 0, "is_query_report": 1, - "label": "Church Person Letters", + "label": "Person Letters", "link_count": 0, "link_to": "Church Person Letters", "link_type": "Report", "onboard": 0, "type": "Link" + }, + { + "hidden": 0, + "is_query_report": 1, + "label": "Letters Not Yet Shared With Curch", + "link_count": 0, + "link_to": "Church Letters To Be Shared", + "link_type": "Report", + "onboard": 0, + "type": "Link" } ], - "modified": "2025-10-03 23:28:18.162236", + "modified": "2025-10-04 01:01:26.799817", "modified_by": "Administrator", "module": "Church Communications", "name": "Communications",