message in the program enrollment tool (#13393)

This commit is contained in:
Manas Solanki 2018-03-27 11:21:47 +05:30 committed by Nabin Hait
parent f3025f1596
commit 398eac3f4c

View File

@ -16,6 +16,12 @@ frappe.ui.form.on("Program Enrollment Tool", {
});
},
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({