commit | 398eac3f4c3cdf186e7d03c9d18391b1f9713249 | [log] [tgz] |
---|---|---|
author | Manas Solanki <manas@erpnext.com> | Tue Mar 27 11:21:47 2018 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Tue Mar 27 11:21:47 2018 +0530 |
tree | c7bedfc9e175f615ef72688cf78975b364b173c5 | |
parent | f3025f1596ac54298dded22a08d54ef460013988 [diff] |
message in the program enrollment tool (#13393)
diff --git a/erpnext/education/doctype/program_enrollment_tool/program_enrollment_tool.js b/erpnext/education/doctype/program_enrollment_tool/program_enrollment_tool.js index 4f8ce6d..2e54a2f 100644 --- a/erpnext/education/doctype/program_enrollment_tool/program_enrollment_tool.js +++ b/erpnext/education/doctype/program_enrollment_tool/program_enrollment_tool.js
@@ -16,6 +16,12 @@ }); }, + get_students_from: function(frm) { + if (frm.doc.get_students_from == "Student Applicant") { + frm.dashboard.add_comment(__('Only the Student Applicant with the status "Approved" will be selected in the table below.')); + } + }, + "get_students": function(frm) { frm.set_value("students",[]); frappe.call({