fix(LMS Batch): add portal web link to form view (#692)
This commit is contained in:
committed by
GitHub
parent
fd9a638879
commit
de60fbb25a
@@ -33,6 +33,10 @@ frappe.ui.form.on("LMS Batch", {
|
||||
timetable_template: function (frm) {
|
||||
set_timetable(frm);
|
||||
},
|
||||
|
||||
refresh: (frm) => {
|
||||
frm.add_web_link(`/batches/details/${frm.doc.name}`, "See on website");
|
||||
},
|
||||
});
|
||||
|
||||
const set_timetable = (frm) => {
|
||||
|
||||
Reference in New Issue
Block a user