Skip to content

Commit

Permalink
Merge pull request #109 from harshtandiya/language
Browse files Browse the repository at this point in the history
feat: language multiselect in beneficiary
  • Loading branch information
harshtandiya authored Jul 12, 2023
2 parents 38861cc + 42b9742 commit 71527b2
Show file tree
Hide file tree
Showing 9 changed files with 126 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"column_break_3",
"gender",
"age",
"languages_known",
"column_break_4",
"religion",
"social_category",
Expand Down Expand Up @@ -354,6 +355,12 @@
"fieldname": "bottom_save_button",
"fieldtype": "Button",
"label": "Save"
},
{
"fieldname": "languages_known",
"fieldtype": "Table MultiSelect",
"label": "Languages Known",
"options": "Language Multiselect"
}
],
"image_field": "image",
Expand All @@ -375,7 +382,7 @@
"link_fieldname": "beneficiary"
}
],
"modified": "2023-07-11 13:57:23.245991",
"modified": "2023-07-12 12:19:27.711778",
"modified_by": "Administrator",
"module": "Frappe Changemakers",
"name": "Beneficiary",
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"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"
}
],
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2023-07-12 12:20:57.205539",
"modified_by": "Administrator",
"module": "Frappe Changemakers",
"name": "Language Multiselect",
"owner": "Administrator",
"permissions": [],
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}
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.
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) {

// },
// });
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"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-12 12:15:03.640146",
"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
}
],
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}
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
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

0 comments on commit 71527b2

Please sign in to comment.