-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb7dd29
commit 79ba4cc
Showing
15 changed files
with
243 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
6 changes: 6 additions & 0 deletions
6
changemakers/frappe_changemakers/doctype/daily_visit_update/daily_visit_update.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Copyright (c) 2023, [email protected] and contributors | ||
// For license information, please see license.txt | ||
|
||
frappe.ui.form.on("Daily Visit Update", { | ||
refresh(frm) {}, | ||
}); |
66 changes: 66 additions & 0 deletions
66
changemakers/frappe_changemakers/doctype/daily_visit_update/daily_visit_update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"actions": [], | ||
"allow_rename": 1, | ||
"autoname": "format:{date}-DVU{###}", | ||
"creation": "2023-07-12 21:45:41.479782", | ||
"default_view": "List", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"beneficiary", | ||
"date", | ||
"daily_update" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "beneficiary", | ||
"fieldtype": "Link", | ||
"in_filter": 1, | ||
"in_list_view": 1, | ||
"in_standard_filter": 1, | ||
"label": "Beneficiary", | ||
"options": "Beneficiary", | ||
"reqd": 1 | ||
}, | ||
{ | ||
"fieldname": "date", | ||
"fieldtype": "Date", | ||
"in_filter": 1, | ||
"in_list_view": 1, | ||
"in_standard_filter": 1, | ||
"label": "Date" | ||
}, | ||
{ | ||
"fieldname": "daily_update", | ||
"fieldtype": "Text", | ||
"in_list_view": 1, | ||
"label": "Daily Update" | ||
} | ||
], | ||
"index_web_pages_for_search": 1, | ||
"links": [], | ||
"modified": "2023-07-13 01:07:38.374716", | ||
"modified_by": "Administrator", | ||
"module": "Frappe Changemakers", | ||
"name": "Daily Visit Update", | ||
"naming_rule": "Expression", | ||
"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": [] | ||
} |
11 changes: 11 additions & 0 deletions
11
changemakers/frappe_changemakers/doctype/daily_visit_update/daily_visit_update.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Copyright (c) 2023, [email protected] and contributors | ||
# For license information, please see license.txt | ||
|
||
from frappe.model.document import Document | ||
from frappe.utils import today | ||
|
||
|
||
class DailyVisitUpdate(Document): | ||
def before_naming(self): | ||
if not self.date: | ||
self.date = today() |
9 changes: 9 additions & 0 deletions
9
changemakers/frappe_changemakers/doctype/daily_visit_update/test_daily_visit_update.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright (c) 2023, [email protected] and Contributors | ||
# See license.txt | ||
|
||
# import frappe | ||
from frappe.tests.utils import FrappeTestCase | ||
|
||
|
||
class TestDailyVisitUpdate(FrappeTestCase): | ||
pass |
Empty file.
36 changes: 36 additions & 0 deletions
36
changemakers/frappe_changemakers/doctype/language_multiselect/language_multiselect.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"actions": [], | ||
"allow_rename": 1, | ||
"creation": "2023-07-12 12:16:08.744820", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"language" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "language", | ||
"fieldtype": "Link", | ||
"in_filter": 1, | ||
"in_list_view": 1, | ||
"in_preview": 1, | ||
"in_standard_filter": 1, | ||
"label": "Language", | ||
"options": "Languages Known", | ||
"reqd": 1 | ||
} | ||
], | ||
"index_web_pages_for_search": 1, | ||
"istable": 1, | ||
"links": [], | ||
"modified": "2023-07-13 00:33:06.838655", | ||
"modified_by": "Administrator", | ||
"module": "Frappe Changemakers", | ||
"name": "Language Multiselect", | ||
"owner": "Administrator", | ||
"permissions": [], | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"states": [] | ||
} |
9 changes: 9 additions & 0 deletions
9
changemakers/frappe_changemakers/doctype/language_multiselect/language_multiselect.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright (c) 2023, [email protected] and contributors | ||
# For license information, please see license.txt | ||
|
||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
|
||
class LanguageMultiselect(Document): | ||
pass |
Empty file.
8 changes: 8 additions & 0 deletions
8
changemakers/frappe_changemakers/doctype/languages_known/languages_known.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Copyright (c) 2023, [email protected] and contributors | ||
// For license information, please see license.txt | ||
|
||
// frappe.ui.form.on("Languages Known", { | ||
// refresh(frm) { | ||
|
||
// }, | ||
// }); |
49 changes: 49 additions & 0 deletions
49
changemakers/frappe_changemakers/doctype/languages_known/languages_known.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"actions": [], | ||
"allow_rename": 1, | ||
"autoname": "field:language", | ||
"creation": "2023-07-12 12:09:50.910956", | ||
"default_view": "List", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"language" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "language", | ||
"fieldtype": "Data", | ||
"in_list_view": 1, | ||
"label": "Language", | ||
"reqd": 1, | ||
"unique": 1 | ||
} | ||
], | ||
"index_web_pages_for_search": 1, | ||
"links": [], | ||
"modified": "2023-07-13 00:33:45.657027", | ||
"modified_by": "Administrator", | ||
"module": "Frappe Changemakers", | ||
"name": "Languages Known", | ||
"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 | ||
} | ||
], | ||
"quick_entry": 1, | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"states": [] | ||
} |
9 changes: 9 additions & 0 deletions
9
changemakers/frappe_changemakers/doctype/languages_known/languages_known.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright (c) 2023, [email protected] and contributors | ||
# For license information, please see license.txt | ||
|
||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
|
||
class LanguagesKnown(Document): | ||
pass |
9 changes: 9 additions & 0 deletions
9
changemakers/frappe_changemakers/doctype/languages_known/test_languages_known.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright (c) 2023, [email protected] and Contributors | ||
# See license.txt | ||
|
||
# import frappe | ||
from frappe.tests.utils import FrappeTestCase | ||
|
||
|
||
class TestLanguagesKnown(FrappeTestCase): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters