From 1ab8554d15d76744df73a86348d59d53e1b696a4 Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Sun, 12 Feb 2017 01:29:24 +0530 Subject: [PATCH] Removed Nationality in Student Applicant as a link feild to Country --- .../student_applicant/student_applicant.json | 6 +-- .../student_applicant/student_applicant.json | 50 +++++++++++++++++-- 2 files changed, 48 insertions(+), 8 deletions(-) diff --git a/erpnext/schools/doctype/student_applicant/student_applicant.json b/erpnext/schools/doctype/student_applicant/student_applicant.json index beb53145f4..c9f5af3d28 100644 --- a/erpnext/schools/doctype/student_applicant/student_applicant.json +++ b/erpnext/schools/doctype/student_applicant/student_applicant.json @@ -560,7 +560,7 @@ "collapsible": 0, "columns": 0, "fieldname": "nationality", - "fieldtype": "Link", + "fieldtype": "Data", "hidden": 0, "ignore_user_permissions": 0, "ignore_xss_filter": 0, @@ -570,7 +570,7 @@ "label": "Nationality", "length": 0, "no_copy": 0, - "options": "Country", + "options": "", "permlevel": 0, "precision": "", "print_hide": 0, @@ -988,7 +988,7 @@ "istable": 0, "max_attachments": 0, "menu_index": 0, - "modified": "2017-01-27 13:19:56.616331", + "modified": "2017-02-12 01:27:56.600827", "modified_by": "Administrator", "module": "Schools", "name": "Student Applicant", diff --git a/erpnext/schools/web_form/student_applicant/student_applicant.json b/erpnext/schools/web_form/student_applicant/student_applicant.json index c28958a0e4..1feb1596c5 100644 --- a/erpnext/schools/web_form/student_applicant/student_applicant.json +++ b/erpnext/schools/web_form/student_applicant/student_applicant.json @@ -1,22 +1,30 @@ { + "accept_payment": 0, "allow_comments": 0, "allow_delete": 0, "allow_edit": 1, + "allow_incomplete": 0, "allow_multiple": 1, - "creation": "2016-09-12 02:26:42.447103", + "allow_print": 0, + "amount": 0.0, + "amount_based_on_field": 0, + "creation": "2016-09-22 13:10:10.792735", "doc_type": "Student Applicant", "docstatus": 0, "doctype": "Web Form", "idx": 0, "is_standard": 1, "login_required": 1, - "modified": "2016-09-15 02:00:28.493759", + "max_attachment_size": 0, + "modified": "2017-02-12 01:28:57.997942", "modified_by": "Administrator", "module": "Schools", "name": "student-applicant", "owner": "Administrator", + "payment_button_label": "Buy Now", "published": 1, "route": "student-applicant", + "show_sidebar": 1, "sidebar_items": [], "success_url": "/student-applicant", "title": "Student Applicant", @@ -26,6 +34,8 @@ "fieldtype": "Data", "hidden": 0, "label": "First Name", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 1 }, @@ -34,6 +44,8 @@ "fieldtype": "Data", "hidden": 0, "label": "Middle Name", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 0 }, @@ -42,6 +54,8 @@ "fieldtype": "Data", "hidden": 0, "label": "Last Name", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 0 }, @@ -50,6 +64,8 @@ "fieldtype": "Data", "hidden": 0, "label": "Image", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 0 }, @@ -58,6 +74,8 @@ "fieldtype": "Link", "hidden": 0, "label": "Program", + "max_length": 0, + "max_value": 0, "options": "Program", "read_only": 0, "reqd": 1 @@ -67,6 +85,8 @@ "fieldtype": "Link", "hidden": 0, "label": "Academic Year", + "max_length": 0, + "max_value": 0, "options": "Academic Year", "read_only": 0, "reqd": 0 @@ -76,6 +96,8 @@ "fieldtype": "Date", "hidden": 0, "label": "Date of Birth", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 0 }, @@ -84,6 +106,8 @@ "fieldtype": "Select", "hidden": 0, "label": "Blood Group", + "max_length": 0, + "max_value": 0, "options": "\nA+\nA-\nB+\nB-\nO+\nO-\nAB+\nAB-", "read_only": 0, "reqd": 0 @@ -92,7 +116,9 @@ "fieldname": "student_email_id", "fieldtype": "Data", "hidden": 0, - "label": "Student Email Address", + "label": "Student Email ID", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 0 }, @@ -101,15 +127,19 @@ "fieldtype": "Data", "hidden": 0, "label": "Student Mobile Number", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 0 }, { "fieldname": "nationality", - "fieldtype": "Link", + "fieldtype": "Data", "hidden": 0, "label": "Nationality", - "options": "Country", + "max_length": 0, + "max_value": 0, + "options": "", "read_only": 0, "reqd": 0 }, @@ -118,6 +148,8 @@ "fieldtype": "Data", "hidden": 0, "label": "Address Line 1", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 0 }, @@ -126,6 +158,8 @@ "fieldtype": "Data", "hidden": 0, "label": "Address Line 2", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 0 }, @@ -134,6 +168,8 @@ "fieldtype": "Data", "hidden": 0, "label": "Pincode", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 0 }, @@ -142,6 +178,8 @@ "fieldtype": "Table", "hidden": 0, "label": "Guardians", + "max_length": 0, + "max_value": 0, "options": "Student Guardian", "read_only": 0, "reqd": 0 @@ -151,6 +189,8 @@ "fieldtype": "Table", "hidden": 0, "label": "Siblings", + "max_length": 0, + "max_value": 0, "options": "Student Sibling", "read_only": 0, "reqd": 0