fix basic church person letter report to only show person letters

This commit is contained in:
meichthys 2025-10-28 02:19:01 +00:00
parent 3cfedfa828
commit 8ea358716d

View File

@ -16,9 +16,15 @@
"width": 0
},
{
"fieldname": "read_to_church",
"fieldname": "share_with_church",
"fieldtype": "Check",
"label": "Read to Church?",
"label": "Share w/ Church?",
"width": 0
},
{
"fieldname": "shared_date",
"fieldtype": "Date",
"label": "Shared Date",
"width": 0
},
{
@ -45,27 +51,17 @@
"disabled": 0,
"docstatus": 0,
"doctype": "Report",
"filters": [
{
"default": "Church Person",
"fieldname": "person",
"fieldtype": "Link",
"label": "Church Person",
"mandatory": 1,
"options": "Church Person",
"wildcard_filter": 0
}
],
"idx": 0,
"filters": [],
"idx": 5,
"is_standard": "Yes",
"letterhead": null,
"modified": "2025-09-23 23:57:47.370175",
"modified": "2025-10-27 22:18:35.634996",
"modified_by": "Administrator",
"module": "Church People",
"name": "Church Person Letters",
"owner": "Administrator",
"prepared_report": 0,
"query": "SELECT parent, date, read_to_church, is_private, file, content\nFROM `tabChurch Letter`\nWHERE parent = %(person)s\nORDER BY parent",
"query": "SELECT parent, date, share_with_church, shared_date, is_private, file, content \nFROM `tabChurch Letter`\nWHERE `tabChurch Letter`.parenttype = \"Church Person\"\nORDER BY parent;",
"ref_doctype": "Church Person",
"report_name": "Church Person Letters",
"report_type": "Query Report",