mirror of
https://github.com/meichthys/church.git
synced 2026-02-07 01:15:38 +00:00
Add Church Information single doctype
This commit is contained in:
parent
e5b4be01cd
commit
eb4bde45f9
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2025, meichthys and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
// frappe.ui.form.on("Church Information", {
|
||||
// refresh(frm) {
|
||||
|
||||
// },
|
||||
// });
|
||||
@ -0,0 +1,75 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2025-09-17 21:10:06.782386",
|
||||
"description": "Static Information related to the church",
|
||||
"doctype": "DocType",
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"legal_name",
|
||||
"founding_date",
|
||||
"about",
|
||||
"column_break_rmsm",
|
||||
"address",
|
||||
"mission_statement"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "legal_name",
|
||||
"fieldtype": "Data",
|
||||
"label": "Legal Name"
|
||||
},
|
||||
{
|
||||
"fieldname": "founding_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Founding Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_rmsm",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "address",
|
||||
"fieldtype": "Link",
|
||||
"label": "Address",
|
||||
"options": "Address"
|
||||
},
|
||||
{
|
||||
"fieldname": "mission_statement",
|
||||
"fieldtype": "Small Text",
|
||||
"label": "Mission Statement"
|
||||
},
|
||||
{
|
||||
"description": "A short description of the church. By default, this is used on the 'About Us' webpage.",
|
||||
"fieldname": "about",
|
||||
"fieldtype": "Small Text",
|
||||
"label": "About"
|
||||
}
|
||||
],
|
||||
"grid_page_length": 50,
|
||||
"index_web_pages_for_search": 1,
|
||||
"issingle": 1,
|
||||
"links": [],
|
||||
"modified": "2025-09-17 21:21:41.363009",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Church",
|
||||
"name": "Church Information",
|
||||
"owner": "Administrator",
|
||||
"permissions": [
|
||||
{
|
||||
"create": 1,
|
||||
"delete": 1,
|
||||
"email": 1,
|
||||
"print": 1,
|
||||
"read": 1,
|
||||
"role": "System Manager",
|
||||
"share": 1,
|
||||
"write": 1
|
||||
}
|
||||
],
|
||||
"row_format": "Dynamic",
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC",
|
||||
"states": [],
|
||||
"track_changes": 1
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2025, meichthys and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
|
||||
class ChurchInformation(Document):
|
||||
pass
|
||||
@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2025, meichthys and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.tests.utils import FrappeTestCase
|
||||
|
||||
|
||||
class TestChurchInformation(FrappeTestCase):
|
||||
pass
|
||||
Loading…
x
Reference in New Issue
Block a user