mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-16 08:47:33 +00:00
minor fixes in the assessment result tool (#11795)
This commit is contained in:
committed by
Nabin Hait
parent
ce63ab7602
commit
f9cc56cd62
@@ -31,15 +31,17 @@ frappe.ui.form.on('Assessment Result Tool', {
|
||||
"student_group": frm.doc.student_group
|
||||
},
|
||||
callback: function(r) {
|
||||
frm.doc.students = r.message;
|
||||
frm.events.render_table(frm);
|
||||
for (let value of r.message) {
|
||||
if (!value.docstatus) {
|
||||
frm.doc.show_submit = true;
|
||||
break;
|
||||
if (r.message) {
|
||||
frm.doc.students = r.message;
|
||||
frm.events.render_table(frm);
|
||||
for (let value of r.message) {
|
||||
if (!value.docstatus) {
|
||||
frm.doc.show_submit = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
frm.events.submit_result(frm);
|
||||
}
|
||||
frm.events.submit_result(frm);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user