From 348587dadb8fd8856cd01dfce5a2f4c622b747c7 Mon Sep 17 00:00:00 2001 From: meichthys Date: Sun, 16 Nov 2025 05:13:56 +0000 Subject: [PATCH] allow comments on portal requests --- .../web_form/alms_request/alms_request.json | 23 +- .../prayer_request/prayer_request.json | 344 +++++++++--------- 2 files changed, 176 insertions(+), 191 deletions(-) diff --git a/church/church_finances/web_form/alms_request/alms_request.json b/church/church_finances/web_form/alms_request/alms_request.json index 2e89d2f..681d5c1 100644 --- a/church/church_finances/web_form/alms_request/alms_request.json +++ b/church/church_finances/web_form/alms_request/alms_request.json @@ -1,5 +1,5 @@ { - "allow_comments": 0, + "allow_comments": 1, "allow_delete": 1, "allow_edit": 1, "allow_incomplete": 0, @@ -43,10 +43,10 @@ "label": "Description" } ], - "list_title": "Your Prayer Requests", + "list_title": "Your Alms Requests", "login_required": 1, "max_attachment_size": 0, - "modified": "2025-11-15 01:31:29.579626", + "modified": "2025-11-16 00:07:44.428695", "modified_by": "Administrator", "module": "Church Finances", "name": "alms-request", @@ -100,22 +100,7 @@ "show_in_filter": 0 }, { - "allow_read_on_all_link_options": 0, - "default": "Church Person", - "fieldname": "recipient_type", - "fieldtype": "Data", - "hidden": 1, - "label": "Recipient Type", - "max_length": 0, - "max_value": 0, - "options": "", - "precision": "", - "read_only": 0, - "reqd": 1, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, + "allow_read_on_all_link_options": 1, "fieldname": "recipient", "fieldtype": "Link", "hidden": 0, diff --git a/church/church_prayers/web_form/prayer_request/prayer_request.json b/church/church_prayers/web_form/prayer_request/prayer_request.json index 4814d38..173c30a 100644 --- a/church/church_prayers/web_form/prayer_request/prayer_request.json +++ b/church/church_prayers/web_form/prayer_request/prayer_request.json @@ -1,173 +1,173 @@ { - "allow_comments": 0, - "allow_delete": 1, - "allow_edit": 1, - "allow_incomplete": 0, - "allow_multiple": 1, - "allow_print": 0, - "anonymous": 0, - "apply_document_permissions": 0, - "button_label": "Save", - "condition_json": "[]", - "creation": "2025-09-13 22:28:01.939717", - "doc_type": "Church Prayer Request", - "docstatus": 0, - "doctype": "Web Form", - "idx": 0, - "introduction_text": "
Be anxious for nothing, but in everything, by prayer and petition, with thanksgiving, present your requests to God.
~ Philipians 4:6 (BSB)
", - "is_standard": 1, - "list_columns": [ - { - "fieldname": "status", - "fieldtype": "Link", - "label": "" - }, - { - "fieldname": "type", - "fieldtype": "Link", - "label": "" - }, - { - "fieldname": "column_break_ynvf", - "fieldtype": "Column Break", - "label": "" - }, - { - "fieldname": "related_person", - "fieldtype": "Link", - "label": "" - }, - { - "fieldname": "section_break_usaz", - "fieldtype": "Section Break", - "label": "" - }, - { - "fieldname": "request", - "fieldtype": "Small Text", - "label": "" - }, - { - "fieldname": "is_private", - "fieldtype": "Check", - "label": "" - } - ], - "list_title": "Your Prayer Requests", - "login_required": 1, - "max_attachment_size": 0, - "modified": "2025-11-15 23:12:52.336695", - "modified_by": "Administrator", - "module": "Church Prayers", - "name": "prayer-request", - "owner": "Administrator", - "published": 1, - "route": "prayer-request", - "show_attachments": 0, - "show_list": 1, - "show_sidebar": 1, - "title": "Prayer Request ", - "web_form_fields": [ - { - "allow_read_on_all_link_options": 1, - "default": "Requested", - "fieldname": "status", - "fieldtype": "Link", - "hidden": 0, - "label": "Status", - "max_length": 0, - "max_value": 0, - "options": "Church Prayer Request Status", - "precision": "", - "read_only": 0, - "reqd": 1, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 1, - "default": "", - "fieldname": "type", - "fieldtype": "Link", - "hidden": 0, - "label": "Type", - "max_length": 0, - "max_value": 0, - "options": "Church Prayer Request Type", - "precision": "", - "read_only": 0, - "reqd": 1, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "column_break_ynvf", - "fieldtype": "Column Break", - "hidden": 0, - "label": "", - "max_length": 0, - "max_value": 0, - "precision": "", - "read_only": 0, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 1, - "default": "", - "depends_on": "eval:frappe.session.user!='Guest';", - "description": "If this request is for a specific person and the person is in this list, please select the person.", - "fieldname": "related_person", - "fieldtype": "Link", - "hidden": 0, - "label": "Related Person", - "max_length": 0, - "max_value": 0, - "options": "Church Person", - "precision": "", - "read_only": 0, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "section_break_usaz", - "fieldtype": "Section Break", - "hidden": 0, - "label": "", - "max_length": 0, - "max_value": 0, - "precision": "", - "read_only": 0, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "request", - "fieldtype": "Small Text", - "hidden": 0, - "label": "Request", - "max_length": 0, - "max_value": 0, - "precision": "", - "read_only": 0, - "reqd": 1, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "default": "", - "description": "Check this if you don't want this shared with the church body.", - "fieldname": "is_private", - "fieldtype": "Check", - "hidden": 0, - "label": "Is Private", - "max_length": 0, - "max_value": 0, - "precision": "", - "read_only": 0, - "reqd": 0, - "show_in_filter": 0 - } - ] -} \ No newline at end of file + "allow_comments": 1, + "allow_delete": 1, + "allow_edit": 1, + "allow_incomplete": 0, + "allow_multiple": 1, + "allow_print": 1, + "anonymous": 0, + "apply_document_permissions": 0, + "button_label": "Save", + "condition_json": "[]", + "creation": "2025-09-13 22:28:01.939717", + "doc_type": "Church Prayer Request", + "docstatus": 0, + "doctype": "Web Form", + "idx": 0, + "introduction_text": "
Be anxious for nothing, but in everything, by prayer and petition, with thanksgiving, present your requests to God.
~ Philipians 4:6 (BSB)
", + "is_standard": 1, + "list_columns": [ + { + "fieldname": "status", + "fieldtype": "Link", + "label": "" + }, + { + "fieldname": "type", + "fieldtype": "Link", + "label": "" + }, + { + "fieldname": "column_break_ynvf", + "fieldtype": "Column Break", + "label": "" + }, + { + "fieldname": "related_person", + "fieldtype": "Link", + "label": "" + }, + { + "fieldname": "section_break_usaz", + "fieldtype": "Section Break", + "label": "" + }, + { + "fieldname": "request", + "fieldtype": "Small Text", + "label": "" + }, + { + "fieldname": "is_private", + "fieldtype": "Check", + "label": "" + } + ], + "list_title": "Your Prayer Requests", + "login_required": 1, + "max_attachment_size": 0, + "modified": "2025-11-16 00:10:38.455309", + "modified_by": "Administrator", + "module": "Church Prayers", + "name": "prayer-request", + "owner": "Administrator", + "published": 1, + "route": "prayer-request", + "show_attachments": 0, + "show_list": 1, + "show_sidebar": 1, + "title": "Prayer Request ", + "web_form_fields": [ + { + "allow_read_on_all_link_options": 1, + "default": "Requested", + "fieldname": "status", + "fieldtype": "Link", + "hidden": 0, + "label": "Status", + "max_length": 0, + "max_value": 0, + "options": "Church Prayer Request Status", + "precision": "", + "read_only": 0, + "reqd": 1, + "show_in_filter": 0 + }, + { + "allow_read_on_all_link_options": 1, + "default": "", + "fieldname": "type", + "fieldtype": "Link", + "hidden": 0, + "label": "Type", + "max_length": 0, + "max_value": 0, + "options": "Church Prayer Request Type", + "precision": "", + "read_only": 0, + "reqd": 1, + "show_in_filter": 0 + }, + { + "allow_read_on_all_link_options": 0, + "fieldname": "column_break_ynvf", + "fieldtype": "Column Break", + "hidden": 0, + "label": "", + "max_length": 0, + "max_value": 0, + "precision": "", + "read_only": 0, + "reqd": 0, + "show_in_filter": 0 + }, + { + "allow_read_on_all_link_options": 1, + "default": "", + "depends_on": "eval:frappe.session.user!='Guest';", + "description": "If this request is for a specific person and the person is in this list, please select the person.", + "fieldname": "related_person", + "fieldtype": "Link", + "hidden": 0, + "label": "Related Person", + "max_length": 0, + "max_value": 0, + "options": "Church Person", + "precision": "", + "read_only": 0, + "reqd": 0, + "show_in_filter": 0 + }, + { + "allow_read_on_all_link_options": 0, + "fieldname": "section_break_usaz", + "fieldtype": "Section Break", + "hidden": 0, + "label": "", + "max_length": 0, + "max_value": 0, + "precision": "", + "read_only": 0, + "reqd": 0, + "show_in_filter": 0 + }, + { + "allow_read_on_all_link_options": 0, + "fieldname": "request", + "fieldtype": "Small Text", + "hidden": 0, + "label": "Request", + "max_length": 0, + "max_value": 0, + "precision": "", + "read_only": 0, + "reqd": 1, + "show_in_filter": 0 + }, + { + "allow_read_on_all_link_options": 0, + "default": "", + "description": "Check this if you don't want this shared with the church body.", + "fieldname": "is_private", + "fieldtype": "Check", + "hidden": 0, + "label": "Is Private", + "max_length": 0, + "max_value": 0, + "precision": "", + "read_only": 0, + "reqd": 0, + "show_in_filter": 0 + } + ] +}