Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
7b1fb72
update non profit qr_code
mudux Dec 20, 2023
c8197b1
update emailid
mudux Dec 20, 2023
9ab1c2c
self forgot
mudux Dec 20, 2023
02b17c5
self.is_new()
mudux Dec 20, 2023
dc443e8
fix
mudux Dec 20, 2023
ad9d112
update member nhif notices
mudux Dec 21, 2023
9a1379d
send to true
mudux Dec 21, 2023
fd952b1
mising send command
mudux Dec 21, 2023
9047674
complete one
mudux Dec 21, 2023
20d6fe6
seperte comm
mudux Dec 21, 2023
17ccace
last one
mudux Dec 21, 2023
0a29f0c
update
mudux Dec 21, 2023
7f5b88b
made fixes on comms
mudux Dec 21, 2023
5775a0b
update on insert
mudux Dec 21, 2023
547fed5
update member and participant
mudux Jan 30, 2024
1a4fc15
event sponsors and members email update
mudux Feb 1, 2024
cc36383
reply to text
mudux Feb 1, 2024
0768716
update form
mudux Feb 1, 2024
f59a0c7
update mail no letterhead
mudux Feb 1, 2024
8ba1d6e
fix print issues
mudux Feb 3, 2024
1fdbb28
fix missing import _
mudux Feb 3, 2024
21c88d5
Merge pull request #4 from frappe/develop
mudux Jun 26, 2024
8896ee9
Member Automation - Contact Address, Membership etc
FrankDickenz Jun 30, 2024
ed1e0b0
Merge pull request #5 from RUPHAsoft/Member-Automation
mudux Jul 2, 2024
e1aca72
Subscription
FrankDickenz Jul 4, 2024
e251888
Invoice Generation
FrankDickenz Jul 9, 2024
750d6f9
Subscription Period
FrankDickenz Jul 11, 2024
b879a64
Merge commit '750d6f9c58777cc5ff666a99e6a920d131a2219c' into develop
mudux Jul 12, 2024
bff885e
Membership Type Edits
FrankDickenz Jul 12, 2024
e5d2aa7
Merge commit 'bff885ebf4b17ee4b0fb163e57cfbf2bf792d6e3' into develop
mudux Jul 12, 2024
39009b6
add pyproject.toml file
mudux May 7, 2026
137264f
Scaffold minimal pyproject.toml
mudux May 7, 2026
5946247
Comment out setup function and requirements
mudux May 8, 2026
10d0970
Merge pull request #7 from RUPHAsoft/mudux-patch-1
mudux May 8, 2026
4d539d7
Uncomment setup configuration in setup.py
mudux May 9, 2026
16dd111
Rename project from 'non-profit' to 'non_profit'
mudux May 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 27 additions & 22 deletions non_profit/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# include js in doctype views
# doctype_js = {"doctype" : "public/js/doctype.js"}
doctype_js = {
"Sales Invoice": "public/js/payment_entry.js"
"Sales Invoice": "public/js/payment_entry.js"
}
# doctype_list_js = {"doctype" : "public/js/doctype_list.js"}
# doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"}
Expand All @@ -50,7 +50,7 @@

# website user home page (by Role)
# role_home_page = {
# "Role": "home_page"
# "Role": "home_page"
# }

# Generators
Expand Down Expand Up @@ -103,28 +103,33 @@
# Override standard doctype classes

override_doctype_class = {
"Payment Entry": "non_profit.non_profit.custom_doctype.payment_entry.NonProfitPaymentEntry",
"Payment Entry": "non_profit.non_profit.custom_doctype.payment_entry.NonProfitPaymentEntry",
}

# Document Events
# ---------------
# Hook on document methods and events
doc_events = {
"Subscription": {
"before_validate": "non_profit.non_profit.doctype.member.member.extend_subscription"
}
}

# doc_events = {
# "*": {
# "on_update": "method",
# "on_cancel": "method",
# "on_trash": "method"
# }
# }
# }

# Scheduled Tasks
# ---------------

scheduler_events = {
"daily": [
"non_profit.non_profit.doctype.membership.membership.set_expired_status",
],
"daily": [
"non_profit.non_profit.doctype.membership.membership.set_expired_status",
],
}

# Testing
Expand Down Expand Up @@ -184,22 +189,22 @@


global_search_doctypes = {
"Non Profit": [
{'doctype': 'Certified Consultant', 'index': 1},
{'doctype': 'Certification Application', 'index': 2},
{'doctype': 'Volunteer', 'index': 3},
{'doctype': 'Membership', 'index': 4},
{'doctype': 'Member', 'index': 5},
{'doctype': 'Donor', 'index': 6},
{'doctype': 'Chapter', 'index': 7},
{'doctype': 'Grant Application', 'index': 8},
{'doctype': 'Volunteer Type', 'index': 9},
{'doctype': 'Donor Type', 'index': 10},
{'doctype': 'Membership Type', 'index': 11}
]
"Non Profit": [
{'doctype': 'Certified Consultant', 'index': 1},
{'doctype': 'Certification Application', 'index': 2},
{'doctype': 'Volunteer', 'index': 3},
{'doctype': 'Membership', 'index': 4},
{'doctype': 'Member', 'index': 5},
{'doctype': 'Donor', 'index': 6},
{'doctype': 'Chapter', 'index': 7},
{'doctype': 'Grant Application', 'index': 8},
{'doctype': 'Volunteer Type', 'index': 9},
{'doctype': 'Donor Type', 'index': 10},
{'doctype': 'Membership Type', 'index': 11}
]
}

standard_portal_menu_items = [
{"title": _("Certification"), "route": "/certification",
"reference_doctype": "Certification Application", "role": "Non Profit Portal User"},
{"title": _("Certification"), "route": "/certification",
"reference_doctype": "Certification Application", "role": "Non Profit Portal User"},
]
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright (c) 2024, Frappe and contributors
// For license information, please see license.txt

// frappe.ui.form.on("Event Packages", {
// refresh(frm) {

// },
// });
94 changes: 94 additions & 0 deletions non_profit/non_profit/doctype/event_packages/event_packages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "field:package",
"creation": "2024-01-30 23:44:38.220885",
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
"package",
"description",
"amount"
],
"fields": [
{
"fieldname": "package",
"fieldtype": "Data",
"label": "Package Name",
"unique": 1
},
{
"fieldname": "description",
"fieldtype": "Data",
"label": "Description"
},
{
"fieldname": "amount",
"fieldtype": "Currency",
"label": "Amount"
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2024-01-30 23:49:00.086693",
"modified_by": "Administrator",
"module": "Non Profit",
"name": "Event Packages",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"write": 1
},
{
"email": 1,
"print": 1,
"read": 1,
"role": "Guest"
},
{
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "Non Profit Member",
"share": 1
},
{
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "Non Profit Manager",
"share": 1,
"write": 1
},
{
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "Non Profit Portal User",
"share": 1
}
],
"search_fields": "package,amount,description",
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"title_field": "package"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2024, Frappe and contributors
# For license information, please see license.txt

# import frappe
from frappe.model.document import Document


class EventPackages(Document):
pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2024, Frappe and Contributors
# See license.txt

# import frappe
from frappe.tests.utils import FrappeTestCase


class TestEventPackages(FrappeTestCase):
pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright (c) 2024, Frappe and contributors
// For license information, please see license.txt

// frappe.ui.form.on("Event Participant", {
// refresh(frm) {

// },
// });
107 changes: 107 additions & 0 deletions non_profit/non_profit/doctype/event_participant/event_participant.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "field:organization_name",
"creation": "2024-01-30 23:37:59.576457",
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
"participant_name",
"organization_name",
"designation",
"package",
"column_break_pujd",
"address",
"phone_1",
"phone_2",
"email"
],
"fields": [
{
"fieldname": "participant_name",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Participant Name",
"reqd": 1
},
{
"fieldname": "organization_name",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Organization Name",
"reqd": 1,
"unique": 1
},
{
"fieldname": "designation",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Designation or Position",
"reqd": 1
},
{
"fieldname": "package",
"fieldtype": "Link",
"label": "Package Selection",
"options": "Event Packages",
"reqd": 1
},
{
"fieldname": "column_break_pujd",
"fieldtype": "Column Break"
},
{
"fieldname": "address",
"fieldtype": "Small Text",
"label": "Address",
"options": "Address",
"reqd": 1
},
{
"fieldname": "phone_1",
"fieldtype": "Data",
"label": "Phone 1",
"options": "Phone",
"reqd": 1
},
{
"fieldname": "phone_2",
"fieldtype": "Data",
"label": "Phone 2",
"options": "Phone",
"reqd": 1
},
{
"fieldname": "email",
"fieldtype": "Data",
"label": "Email",
"options": "Email",
"reqd": 1
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2024-01-30 23:53:44.805771",
"modified_by": "Administrator",
"module": "Non Profit",
"name": "Event Participant",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"write": 1
}
],
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}
Loading