mirror of
https://github.com/meichthys/church.git
synced 2026-01-26 04:00:09 +00:00
update prayer requests & make importable
This commit is contained in:
parent
1ef4517eaa
commit
3f79ced669
@ -1,5 +1,6 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_import": 1,
|
||||
"autoname": "autoincrement",
|
||||
"creation": "2025-09-13 00:16:52.698863",
|
||||
"description": "A request for prayer from (or for) a `Church Person`.",
|
||||
@ -81,9 +82,8 @@
|
||||
}
|
||||
],
|
||||
"grid_page_length": 50,
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2025-09-25 22:47:04.584440",
|
||||
"modified": "2025-09-29 23:30:23.363479",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Church Prayers",
|
||||
"name": "Church Prayer Request",
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
from frappe.website.website_generator import WebsiteGenerator
|
||||
|
||||
|
||||
class ChurchPrayerRequest(Document):
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
{% extends "templates/web.html" %}
|
||||
|
||||
{% block page_content %}
|
||||
<h1>{{ title }}</h1>
|
||||
{% endblock %}
|
||||
|
||||
<!-- this is a sample default web page template -->
|
||||
@ -0,0 +1,4 @@
|
||||
<div>
|
||||
<a href="{{ doc.route }}">{{ doc.title or doc.name }}</a>
|
||||
</div>
|
||||
<!-- this is a sample default list template -->
|
||||
@ -6,7 +6,7 @@
|
||||
"allow_multiple": 0,
|
||||
"allow_print": 0,
|
||||
"anonymous": 0,
|
||||
"apply_document_permissions": 1,
|
||||
"apply_document_permissions": 0,
|
||||
"button_label": "Save",
|
||||
"condition_json": "[[\"Church Prayer Request\",\"status\",\"!=\",\"Answered\",false],[\"Church Prayer Request\",\"owner\",\"in\",[\"User\",null],false]]",
|
||||
"creation": "2025-09-13 22:28:01.939717",
|
||||
@ -56,7 +56,7 @@
|
||||
"list_title": "Your Prayer Requests",
|
||||
"login_required": 1,
|
||||
"max_attachment_size": 0,
|
||||
"modified": "2025-09-21 22:49:35.504853",
|
||||
"modified": "2025-09-29 23:16:33.333821",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Church Prayers",
|
||||
"name": "prayer-request",
|
||||
|
||||
@ -7,14 +7,6 @@
|
||||
"name": "Requested",
|
||||
"status": "Requested"
|
||||
},
|
||||
{
|
||||
"description": "The prayer request has been answered",
|
||||
"docstatus": 0,
|
||||
"doctype": "Church Prayer Request Status",
|
||||
"modified": "2025-09-13 00:49:57.973400",
|
||||
"name": "Answered",
|
||||
"status": "Answered"
|
||||
},
|
||||
{
|
||||
"description": "The prayer request is being prayed for",
|
||||
"docstatus": 0,
|
||||
@ -22,5 +14,13 @@
|
||||
"modified": "2025-09-13 00:51:54.820822",
|
||||
"name": "Intercession",
|
||||
"status": "Intercession"
|
||||
},
|
||||
{
|
||||
"description": "The prayer request has been answered",
|
||||
"docstatus": 0,
|
||||
"doctype": "Church Prayer Request Status",
|
||||
"modified": "2025-09-13 00:49:57.973400",
|
||||
"name": "Answered",
|
||||
"status": "Answered"
|
||||
}
|
||||
]
|
||||
Loading…
x
Reference in New Issue
Block a user