Add person letters not yet read to church report

This commit is contained in:
meichthys 2025-10-28 02:31:05 +00:00
parent 93155c991f
commit 954cbd253f
3 changed files with 89 additions and 2 deletions

View File

@ -0,0 +1,77 @@
{
"add_total_row": 0,
"add_translate_data": 0,
"columns": [
{
"fieldname": "parent",
"fieldtype": "Link",
"label": "From",
"options": "Church Missionary",
"width": 0
},
{
"fieldname": "date",
"fieldtype": "Date",
"label": "Date",
"width": 0
},
{
"fieldname": "share_with_church",
"fieldtype": "Check",
"label": "Share w/ Church?",
"width": 0
},
{
"fieldname": "shared_date",
"fieldtype": "Date",
"label": "Shared Date",
"width": 0
},
{
"fieldname": "is_private",
"fieldtype": "Check",
"label": "Is Private?",
"width": 0
},
{
"fieldname": "file",
"fieldtype": "Link",
"label": "File",
"options": "File",
"width": 0
},
{
"fieldname": "content",
"fieldtype": "Data",
"label": "Content",
"width": 0
}
],
"creation": "2025-10-27 22:23:05.985946",
"disabled": 0,
"docstatus": 0,
"doctype": "Report",
"filters": [],
"idx": 0,
"is_standard": "Yes",
"letterhead": null,
"modified": "2025-10-27 22:23:05.985946",
"modified_by": "Administrator",
"module": "Church People",
"name": "Church People Letters Not Yet Read",
"owner": "Administrator",
"prepared_report": 0,
"query": "SELECT parent, date, share_with_church, shared_date, is_private, file, content \nFROM `tabChurch Letter` \nWHERE `tabChurch Letter`.parenttype=\"Church Person\" AND share_with_church=1 AND shared_date IS NULL\nORDER BY parent",
"ref_doctype": "Church Missionary",
"report_name": "Church People Letters Not Yet Read",
"report_type": "Query Report",
"roles": [
{
"role": "Church Manager"
},
{
"role": "Church User"
}
],
"timeout": 0
}

View File

@ -87,7 +87,7 @@
"hidden": 0,
"is_query_report": 0,
"label": "Person Reports",
"link_count": 4,
"link_count": 5,
"link_type": "DocType",
"onboard": 0,
"type": "Card Break"
@ -134,9 +134,19 @@
"link_type": "Report",
"onboard": 0,
"type": "Link"
},
{
"hidden": 0,
"is_query_report": 1,
"label": "Person Letters Not Yet Read",
"link_count": 0,
"link_to": "Church People Letters Not Yet Read",
"link_type": "Report",
"onboard": 0,
"type": "Link"
}
],
"modified": "2025-10-27 22:19:57.003936",
"modified": "2025-10-27 22:23:54.118093",
"modified_by": "Administrator",
"module": "Church People",
"name": "People",