diff --git a/school/fixtures/custom_field.json b/school/fixtures/custom_field.json index e450d748..79720325 100644 --- a/school/fixtures/custom_field.json +++ b/school/fixtures/custom_field.json @@ -30,7 +30,7 @@ "label": "LinkedIn ID", "length": 0, "mandatory_depends_on": null, - "modified": "2021-06-30 14:46:55.834145", + "modified": "2021-12-07 14:46:55.834145", "name": "User-linkedin", "no_copy": 0, "non_negative": 0, @@ -83,7 +83,7 @@ "label": "Github ID", "length": 0, "mandatory_depends_on": null, - "modified": "2021-06-30 14:46:55.834145", + "modified": "2021-12-07 14:46:55.834145", "name": "User-github", "no_copy": 0, "non_negative": 0, @@ -136,7 +136,7 @@ "label": "Medium ID", "length": 0, "mandatory_depends_on": null, - "modified": "2021-06-30 14:46:55.834145", + "modified": "2021-12-07 14:46:55.834145", "name": "User-medium", "no_copy": 0, "non_negative": 0, @@ -189,7 +189,7 @@ "label": "City", "length": 0, "mandatory_depends_on": null, - "modified": "2021-06-30 14:46:55.834145", + "modified": "2021-12-07 14:46:55.834145", "name": "User-city", "no_copy": 0, "non_negative": 0, @@ -242,7 +242,7 @@ "label": "College Name", "length": 0, "mandatory_depends_on": null, - "modified": "2021-06-30 14:46:55.834145", + "modified": "2021-12-07 14:46:55.834145", "name": "User-college", "no_copy": 0, "non_negative": 0, @@ -295,7 +295,7 @@ "label": "Branch", "length": 0, "mandatory_depends_on": null, - "modified": "2021-06-30 14:46:55.834145", + "modified": "2021-12-07 14:46:55.834145", "name": "User-branch", "no_copy": 0, "non_negative": 0, @@ -348,7 +348,7 @@ "label": "Profession", "length": 0, "mandatory_depends_on": null, - "modified": "2021-06-30 14:46:55.834145", + "modified": "2021-12-07 14:46:55.834145", "name": "User-profession", "no_copy": 0, "non_negative": 0, @@ -369,5 +369,111 @@ "translatable": 1, "unique": 0, "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "education_details", + "fieldtype": "Section Break", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "profession", + "label": "Education Details", + "length": 0, + "mandatory_depends_on": null, + "modified": "2021-12-07 14:46:55.834145", + "name": "User-education_details", + "no_copy": 0, + "non_negative": 0, + "options": null, + "parent": null, + "parentfield": null, + "parenttype": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "translatable": 1, + "unique": 0, + "width": null + }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "User", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "education_table", + "fieldtype": "Table", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "education_details", + "label": "Education Details", + "length": 0, + "mandatory_depends_on": null, + "modified": "2021-12-07 14:46:55.834145", + "name": "User-education_table", + "no_copy": 0, + "non_negative": 0, + "options": null, + "parent": null, + "parentfield": null, + "parenttype": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "translatable": 1, + "unique": 0, + "width": null } ] diff --git a/school/lms/doctype/career_preference/__init__.py b/school/lms/doctype/career_preference/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/school/lms/doctype/career_preference/career_preference.json b/school/lms/doctype/career_preference/career_preference.json new file mode 100644 index 00000000..3eae2a13 --- /dev/null +++ b/school/lms/doctype/career_preference/career_preference.json @@ -0,0 +1,55 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2021-12-07 14:53:35.593751", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "preferred_functions", + "preferred_industries", + "preferred_location", + "dream_companies" + ], + "fields": [ + { + "fieldname": "preferred_functions", + "fieldtype": "Select", + "in_list_view": 1, + "label": "Preferred Functions", + "options": "Consulting\nData & Analytics\nDesign & Creative\nEngineering (Non Software)\nEngineering (Software & IT)\nFinance, Investment & Accounting\nHuman Resource & Recruiting\nLegal\nMarketing, Advertising & PR\nOperations & Admin\nProject Management\nProduct\nResearch, Training & Education\nSales & Customer Service\nSupply Chain, Logistics\nStrategy & Management\nOther", + "reqd": 1 + }, + { + "fieldname": "preferred_industries", + "fieldtype": "Select", + "in_list_view": 1, + "label": "Preferred Industries", + "options": "Accounting\nAds, Marketing, PR & Events\nAgriculture, Fishing & Forestry\nArchitecture\nAviation & Aerospace\nBanking, Financial Services & Insurance\nBiotech & Pharmaceuticals\nConstruction & Real Estate\nConsulting & Professional Services\nEducation & Training\nEnergy & Utilities\nEngineering\nFood & Beverages\nHealth & Medical\nHospitality & Tourism\nIT / Ecommerce / Internet\nManufacturing & Production\nMedia & Entertainment\nPublic Service & NGOs\nRetail, Fashion & FMCG\nStaffing & Recruiting\nTransportation & Logistics\nSecurity & Law Enforcement\nOther", + "reqd": 1 + }, + { + "fieldname": "preferred_location", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Preferred Location", + "reqd": 1 + }, + { + "fieldname": "dream_companies", + "fieldtype": "Data", + "label": "Dream Companies" + } + ], + "index_web_pages_for_search": 1, + "istable": 1, + "links": [], + "modified": "2021-12-07 14:53:49.068323", + "modified_by": "Administrator", + "module": "LMS", + "name": "Career Preference", + "owner": "Administrator", + "permissions": [], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/school/lms/doctype/career_preference/career_preference.py b/school/lms/doctype/career_preference/career_preference.py new file mode 100644 index 00000000..f8ecf497 --- /dev/null +++ b/school/lms/doctype/career_preference/career_preference.py @@ -0,0 +1,8 @@ +# Copyright (c) 2021, Frappe and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class CareerPreference(Document): + pass diff --git a/school/lms/doctype/certification/__init__.py b/school/lms/doctype/certification/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/school/lms/doctype/certification/certification.js b/school/lms/doctype/certification/certification.js new file mode 100644 index 00000000..b61d405d --- /dev/null +++ b/school/lms/doctype/certification/certification.js @@ -0,0 +1,8 @@ +// Copyright (c) 2021, Frappe and contributors +// For license information, please see license.txt + +frappe.ui.form.on('Certification', { + // refresh: function(frm) { + + // } +}); diff --git a/school/lms/doctype/certification/certification.json b/school/lms/doctype/certification/certification.json new file mode 100644 index 00000000..17c2c1d8 --- /dev/null +++ b/school/lms/doctype/certification/certification.json @@ -0,0 +1,67 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2021-12-07 12:20:37.143096", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "certification_name", + "organization", + "expire", + "issue_date", + "expiration_date", + "description" + ], + "fields": [ + { + "fieldname": "certification_name", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Certification Name", + "reqd": 1 + }, + { + "fieldname": "organization", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Organization", + "reqd": 1 + }, + { + "fieldname": "issue_date", + "fieldtype": "Date", + "in_list_view": 1, + "label": "Issue Date", + "reqd": 1 + }, + { + "fieldname": "description", + "fieldtype": "Small Text", + "label": "Description" + }, + { + "depends_on": "eval: !doc.expire", + "fieldname": "expiration_date", + "fieldtype": "Data", + "label": "Expiration Date" + }, + { + "default": "0", + "fieldname": "expire", + "fieldtype": "Check", + "label": "This certificate does no expire" + } + ], + "index_web_pages_for_search": 1, + "istable": 1, + "links": [], + "modified": "2021-12-07 12:22:10.591613", + "modified_by": "Administrator", + "module": "LMS", + "name": "Certification", + "owner": "Administrator", + "permissions": [], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/school/lms/doctype/certification/certification.py b/school/lms/doctype/certification/certification.py new file mode 100644 index 00000000..70bf6f4c --- /dev/null +++ b/school/lms/doctype/certification/certification.py @@ -0,0 +1,8 @@ +# Copyright (c) 2021, Frappe and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class Certification(Document): + pass diff --git a/school/lms/doctype/certification/test_certification.py b/school/lms/doctype/certification/test_certification.py new file mode 100644 index 00000000..180107f1 --- /dev/null +++ b/school/lms/doctype/certification/test_certification.py @@ -0,0 +1,8 @@ +# Copyright (c) 2021, Frappe and Contributors +# See license.txt + +# import frappe +import unittest + +class TestCertification(unittest.TestCase): + pass diff --git a/school/lms/doctype/education_details/__init__.py b/school/lms/doctype/education_details/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/school/lms/doctype/education_details/education_details.json b/school/lms/doctype/education_details/education_details.json new file mode 100644 index 00000000..3ca2b5d6 --- /dev/null +++ b/school/lms/doctype/education_details/education_details.json @@ -0,0 +1,68 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2021-12-07 12:15:46.078717", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "institution_name", + "location", + "degree_type", + "field_of_majorstudy", + "grade_type", + "grade" + ], + "fields": [ + { + "fieldname": "institution_name", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Institution Name", + "reqd": 1 + }, + { + "fieldname": "location", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Location", + "reqd": 1 + }, + { + "fieldname": "degree_type", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Degree Type", + "reqd": 1 + }, + { + "fieldname": "field_of_majorstudy", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Field of Major/Study", + "reqd": 1 + }, + { + "fieldname": "grade_type", + "fieldtype": "Select", + "label": "Grade Type", + "options": "Percentage (e.g. 70%)\nPoint of Score (e.g. 70)\nLetter Grade (e.g. A, B-)\nUK Grading (e.g. 1st, 2:2)\nFrench (e.g. Distinction)\nCGPA/4" + }, + { + "fieldname": "grade", + "fieldtype": "Data", + "label": "Grade" + } + ], + "index_web_pages_for_search": 1, + "istable": 1, + "links": [], + "modified": "2021-12-07 12:15:46.078717", + "modified_by": "Administrator", + "module": "LMS", + "name": "Education Details", + "owner": "Administrator", + "permissions": [], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/school/lms/doctype/education_details/education_details.py b/school/lms/doctype/education_details/education_details.py new file mode 100644 index 00000000..fd44e2a3 --- /dev/null +++ b/school/lms/doctype/education_details/education_details.py @@ -0,0 +1,8 @@ +# Copyright (c) 2021, Frappe and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class EducationDetails(Document): + pass diff --git a/school/lms/doctype/skill/__init__.py b/school/lms/doctype/skill/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/school/lms/doctype/skill/skill.js b/school/lms/doctype/skill/skill.js new file mode 100644 index 00000000..b4cb4eb7 --- /dev/null +++ b/school/lms/doctype/skill/skill.js @@ -0,0 +1,8 @@ +// Copyright (c) 2021, Frappe and contributors +// For license information, please see license.txt + +frappe.ui.form.on('Skill', { + // refresh: function(frm) { + + // } +}); diff --git a/school/lms/doctype/skill/skill.json b/school/lms/doctype/skill/skill.json new file mode 100644 index 00000000..93eef298 --- /dev/null +++ b/school/lms/doctype/skill/skill.json @@ -0,0 +1,30 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2021-12-07 12:22:44.139341", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "skill_name" + ], + "fields": [ + { + "fieldname": "skill_name", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Skill Name" + } + ], + "index_web_pages_for_search": 1, + "istable": 1, + "links": [], + "modified": "2021-12-07 12:22:56.769638", + "modified_by": "Administrator", + "module": "LMS", + "name": "Skill", + "owner": "Administrator", + "permissions": [], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/school/lms/doctype/skill/skill.py b/school/lms/doctype/skill/skill.py new file mode 100644 index 00000000..4ff2164e --- /dev/null +++ b/school/lms/doctype/skill/skill.py @@ -0,0 +1,8 @@ +# Copyright (c) 2021, Frappe and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class Skill(Document): + pass diff --git a/school/lms/doctype/skill/test_skill.py b/school/lms/doctype/skill/test_skill.py new file mode 100644 index 00000000..0b3835eb --- /dev/null +++ b/school/lms/doctype/skill/test_skill.py @@ -0,0 +1,8 @@ +# Copyright (c) 2021, Frappe and Contributors +# See license.txt + +# import frappe +import unittest + +class TestSkill(unittest.TestCase): + pass diff --git a/school/lms/doctype/work_experience/__init__.py b/school/lms/doctype/work_experience/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/school/lms/doctype/work_experience/work_experience.json b/school/lms/doctype/work_experience/work_experience.json new file mode 100644 index 00000000..6401441c --- /dev/null +++ b/school/lms/doctype/work_experience/work_experience.json @@ -0,0 +1,76 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2021-12-07 12:17:49.571045", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "title", + "company", + "location", + "current", + "from_date", + "to_date", + "description" + ], + "fields": [ + { + "fieldname": "title", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Title", + "reqd": 1 + }, + { + "fieldname": "company", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Company", + "reqd": 1 + }, + { + "fieldname": "location", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Location", + "reqd": 1 + }, + { + "fieldname": "from_date", + "fieldtype": "Date", + "in_list_view": 1, + "label": "From Date", + "reqd": 1 + }, + { + "depends_on": "eval: !doc.current", + "fieldname": "to_date", + "fieldtype": "Date", + "label": "To Date", + "reqd": 1 + }, + { + "fieldname": "description", + "fieldtype": "Small Text", + "label": "Description" + }, + { + "default": "0", + "fieldname": "current", + "fieldtype": "Check", + "label": "I am currently working here" + } + ], + "index_web_pages_for_search": 1, + "istable": 1, + "links": [], + "modified": "2021-12-07 12:18:39.885407", + "modified_by": "Administrator", + "module": "LMS", + "name": "Work Experience", + "owner": "Administrator", + "permissions": [], + "sort_field": "modified", + "sort_order": "DESC" +} \ No newline at end of file diff --git a/school/lms/doctype/work_experience/work_experience.py b/school/lms/doctype/work_experience/work_experience.py new file mode 100644 index 00000000..38ef7d00 --- /dev/null +++ b/school/lms/doctype/work_experience/work_experience.py @@ -0,0 +1,8 @@ +# Copyright (c) 2021, Frappe and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class WorkExperience(Document): + pass