diff --git a/snw_ui/snw_ui/doctype/__init__.py b/snw_ui/snw_ui/doctype/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/snw_ui/snw_ui/doctype/lmn_dash/__init__.py b/snw_ui/snw_ui/doctype/lmn_dash/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/snw_ui/snw_ui/doctype/lmn_dash/lmn_dash.js b/snw_ui/snw_ui/doctype/lmn_dash/lmn_dash.js new file mode 100644 index 0000000..4b15e47 --- /dev/null +++ b/snw_ui/snw_ui/doctype/lmn_dash/lmn_dash.js @@ -0,0 +1,8 @@ +// Copyright (c) 2025, Shiloh Code LLC and contributors +// For license information, please see license.txt + +// frappe.ui.form.on("LMN Dash", { +// refresh(frm) { + +// }, +// }); diff --git a/snw_ui/snw_ui/doctype/lmn_dash/lmn_dash.json b/snw_ui/snw_ui/doctype/lmn_dash/lmn_dash.json new file mode 100644 index 0000000..be641b4 --- /dev/null +++ b/snw_ui/snw_ui/doctype/lmn_dash/lmn_dash.json @@ -0,0 +1,55 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2025-10-13 11:09:16.946429", + "doctype": "DocType", + "engine": "InnoDB", + "field_order": [ + "contacts_section", + "customer_search", + "add" + ], + "fields": [ + { + "fieldname": "contacts_section", + "fieldtype": "Section Break", + "label": "Contacts" + }, + { + "fieldname": "customer_search", + "fieldtype": "Data", + "placeholder": "Type to Search" + }, + { + "fieldname": "add", + "fieldtype": "Button", + "label": "Add" + } + ], + "grid_page_length": 50, + "index_web_pages_for_search": 1, + "issingle": 1, + "links": [], + "modified": "2025-10-13 11:29:30.937296", + "modified_by": "Administrator", + "module": "SNW UI", + "name": "LMN Dash", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "print": 1, + "read": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "row_format": "Dynamic", + "rows_threshold_for_grid_search": 20, + "sort_field": "modified", + "sort_order": "DESC", + "states": [] +} \ No newline at end of file diff --git a/snw_ui/snw_ui/doctype/lmn_dash/lmn_dash.py b/snw_ui/snw_ui/doctype/lmn_dash/lmn_dash.py new file mode 100644 index 0000000..6c0d9f0 --- /dev/null +++ b/snw_ui/snw_ui/doctype/lmn_dash/lmn_dash.py @@ -0,0 +1,9 @@ +# Copyright (c) 2025, Shiloh Code LLC and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + + +class LMNDash(Document): + pass diff --git a/snw_ui/snw_ui/doctype/lmn_dash/test_lmn_dash.py b/snw_ui/snw_ui/doctype/lmn_dash/test_lmn_dash.py new file mode 100644 index 0000000..e4dfd1a --- /dev/null +++ b/snw_ui/snw_ui/doctype/lmn_dash/test_lmn_dash.py @@ -0,0 +1,9 @@ +# Copyright (c) 2025, Shiloh Code LLC and Contributors +# See license.txt + +# import frappe +from frappe.tests.utils import FrappeTestCase + + +class TestLMNDash(FrappeTestCase): + pass diff --git a/snw_ui/snw_ui/doctype/lmncustomertableitem/__init__.py b/snw_ui/snw_ui/doctype/lmncustomertableitem/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.json b/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.json new file mode 100644 index 0000000..bfd3256 --- /dev/null +++ b/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.json @@ -0,0 +1,72 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2025-10-16 12:16:32.154268", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "name1", + "location", + "type", + "contact", + "email", + "phone", + "parent1" + ], + "fields": [ + { + "fieldname": "name1", + "fieldtype": "Data", + "label": "Name" + }, + { + "fieldname": "location", + "fieldtype": "Data", + "label": "Location" + }, + { + "fieldname": "type", + "fieldtype": "Data", + "label": "Type" + }, + { + "fieldname": "contact", + "fieldtype": "Link", + "label": "Contact", + "options": "Employee" + }, + { + "fieldname": "email", + "fieldtype": "Data", + "label": "Email" + }, + { + "fieldname": "phone", + "fieldtype": "Phone", + "label": "Phone" + }, + { + "fieldname": "parent1", + "fieldtype": "Link", + "hidden": 1, + "label": "Parent", + "options": "Customer" + } + ], + "grid_page_length": 50, + "index_web_pages_for_search": 1, + "istable": 1, + "links": [], + "modified": "2025-10-16 13:44:28.060815", + "modified_by": "Administrator", + "module": "SNW UI", + "name": "LMNCustomerTableItem", + "owner": "Administrator", + "permissions": [], + "row_format": "Dynamic", + "rows_threshold_for_grid_search": 20, + "sort_field": "modified", + "sort_order": "DESC", + "states": [] +} \ No newline at end of file diff --git a/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.py b/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.py new file mode 100644 index 0000000..75d19cc --- /dev/null +++ b/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.py @@ -0,0 +1,9 @@ +# Copyright (c) 2025, Shiloh Code LLC and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + + +class LMNCustomerTableItem(Document): + pass diff --git a/snw_ui/snw_ui/home_page_utils.py b/snw_ui/snw_ui/home_page_utils.py new file mode 100644 index 0000000..5909533 --- /dev/null +++ b/snw_ui/snw_ui/home_page_utils.py @@ -0,0 +1,6 @@ +import frappe + + +@frappe.whitelist() +def hello_world(): + return "Hello, World!" diff --git a/snw_ui/snw_ui/page/__init__.py b/snw_ui/snw_ui/page/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/snw_ui/snw_ui/page/install/__init__.py b/snw_ui/snw_ui/page/install/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/snw_ui/snw_ui/page/install/install.html b/snw_ui/snw_ui/page/install/install.html new file mode 100644 index 0000000..f86bf30 --- /dev/null +++ b/snw_ui/snw_ui/page/install/install.html @@ -0,0 +1,6 @@ +
+Hello, World!
+