fix: date validation on student form, instructor duplicacy fix on student grp, instructor with same employee id fix
This commit is contained in:
parent
ee9aea4feb
commit
e57f1c995d
@ -128,7 +128,7 @@ frappe.ui.form.on('Student Group Instructor', {
|
||||
frm.fields_dict['instructors'].grid.get_field('instructor').get_query = function(doc){
|
||||
let instructor_list = [];
|
||||
$.each(doc.instructors, function(idx, val){
|
||||
instructor_list.push(val.instructor);
|
||||
instructor_list.push(val.instructor);
|
||||
});
|
||||
return { filters: [['Instructor', 'name', 'not in', instructor_list]] };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user