mirror of
https://github.com/meichthys/church.git
synced 2026-01-16 18:50:32 +00:00
add recent prayer request report
This commit is contained in:
parent
f7ca43b628
commit
ca7dbbe58a
0
church/church_prayers/report/__init__.py
Normal file
0
church/church_prayers/report/__init__.py
Normal file
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user