add Church Presentation and Church Presentation Slide documents

This commit is contained in:
meichthys 2025-10-11 03:14:36 +00:00
parent 9fa3b3ed3e
commit b8337a5a35
11 changed files with 212 additions and 3 deletions

View File

@ -0,0 +1,8 @@
// Copyright (c) 2025, meichthys and contributors
// For license information, please see license.txt
// frappe.ui.form.on("Church Presentation", {
// refresh(frm) {
// },
// });

View File

@ -0,0 +1,58 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2025-10-10 23:07:31.392203",
"description": "A slideshow presentation of `Church Presentation Slide`s",
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
"title",
"section_break_hgry",
"slides"
],
"fields": [
{
"fieldname": "title",
"fieldtype": "Data",
"label": "Title"
},
{
"fieldname": "section_break_hgry",
"fieldtype": "Section Break"
},
{
"fieldname": "slides",
"fieldtype": "Table",
"label": "Slides",
"options": "Church Presentation Slide"
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-10-10 23:08:52.988817",
"modified_by": "Administrator",
"module": "Church Communications",
"name": "Church Presentation",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"write": 1
}
],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"track_changes": 1,
"track_views": 1
}

View File

@ -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 ChurchPresentation(Document):
pass

View File

@ -0,0 +1,9 @@
# Copyright (c) 2025, meichthys and Contributors
# See license.txt
# import frappe
from frappe.tests.utils import FrappeTestCase
class TestChurchPresentation(FrappeTestCase):
pass

View File

@ -0,0 +1,8 @@
// Copyright (c) 2025, meichthys and contributors
// For license information, please see license.txt
// frappe.ui.form.on("Church Presentation Slide", {
// refresh(frm) {
// },
// });

View File

@ -0,0 +1,41 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2025-10-10 22:47:37.269992",
"description": "A presentation slide to be displayed in the Church",
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
"content",
"background_image"
],
"fields": [
{
"fieldname": "content",
"fieldtype": "Text Editor",
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Content"
},
{
"fieldname": "background_image",
"fieldtype": "Attach Image",
"label": "Background Image"
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2025-10-10 22:52:46.198898",
"modified_by": "Administrator",
"module": "Church Communications",
"name": "Church Presentation Slide",
"owner": "Administrator",
"permissions": [],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}

View File

@ -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 ChurchPresentationSlide(Document):
pass

View File

@ -0,0 +1,9 @@
# Copyright (c) 2025, meichthys and Contributors
# See license.txt
# import frappe
from frappe.tests.utils import FrappeTestCase
class TestChurchPresentationSlide(FrappeTestCase):
pass

View File

@ -1,6 +1,6 @@
{
"charts": [],
"content": "[{\"id\":\"nnvMTG5Sl5\",\"type\":\"paragraph\",\"data\":{\"text\":\"<i>\\\"Let no unwholesome talk come out of your mouths, but only what is helpful for building up the one in need and bringing grace to those who listen.\\\"/</i>\",\"col\":12}},{\"id\":\"ybuIQ-BIW-\",\"type\":\"card\",\"data\":{\"card_name\":\"Communication Reports\",\"col\":5}}]",
"content": "[{\"id\":\"nnvMTG5Sl5\",\"type\":\"paragraph\",\"data\":{\"text\":\"<i>\\\"Let no unwholesome talk come out of your mouths, but only what is helpful for building up the one in need and bringing grace to those who listen.\\\"/</i>\",\"col\":12}},{\"id\":\"qhOPOjAeDu\",\"type\":\"card\",\"data\":{\"card_name\":\"Presentation Documents\",\"col\":4}},{\"id\":\"ybuIQ-BIW-\",\"type\":\"card\",\"data\":{\"card_name\":\"Letter Reports\",\"col\":4}}]",
"creation": "2025-10-03 23:10:33.370229",
"custom_blocks": [],
"docstatus": 0,
@ -16,7 +16,65 @@
{
"hidden": 0,
"is_query_report": 0,
"label": "Communication Reports",
"label": "Reports",
"link_count": 3,
"link_type": "DocType",
"onboard": 0,
"type": "Card Break"
},
{
"hidden": 0,
"is_query_report": 1,
"label": "Missionary Letters",
"link_count": 0,
"link_to": "Church Missionary Letters",
"link_type": "Report",
"onboard": 0,
"type": "Link"
},
{
"hidden": 0,
"is_query_report": 1,
"label": "Person Letters",
"link_count": 0,
"link_to": "Church Person Letters",
"link_type": "Report",
"onboard": 0,
"type": "Link"
},
{
"hidden": 0,
"is_query_report": 1,
"label": "Letters Not Yet Shared With Curch",
"link_count": 0,
"link_to": "Church Letters To Be Shared",
"link_type": "Report",
"onboard": 0,
"type": "Link"
},
{
"hidden": 0,
"is_query_report": 0,
"label": "Presentation Documents",
"link_count": 1,
"link_type": "DocType",
"onboard": 0,
"type": "Card Break"
},
{
"hidden": 0,
"is_query_report": 0,
"label": "Presentations",
"link_count": 0,
"link_to": "Church Presentation",
"link_type": "DocType",
"onboard": 0,
"type": "Link"
},
{
"hidden": 0,
"is_query_report": 0,
"label": "Letter Reports",
"link_count": 3,
"link_type": "DocType",
"onboard": 0,
@ -53,7 +111,7 @@
"type": "Link"
}
],
"modified": "2025-10-04 01:01:26.799817",
"modified": "2025-10-10 23:12:46.824922",
"modified_by": "Administrator",
"module": "Church Communications",
"name": "Communications",