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) {
|
timetable_template: function (frm) {
|
||||||
set_timetable(frm);
|
set_timetable(frm);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
refresh: (frm) => {
|
||||||
|
frm.add_web_link(`/batches/details/${frm.doc.name}`, "See on website");
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const set_timetable = (frm) => {
|
const set_timetable = (frm) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user