diff --git a/erpnext/education/doctype/fees/fees.js b/erpnext/education/doctype/fees/fees.js index 2a7218a7759..7346a8d55bd 100644 --- a/erpnext/education/doctype/fees/fees.js +++ b/erpnext/education/doctype/fees/fees.js @@ -66,6 +66,9 @@ frappe.ui.form.on("Fees", { }; frappe.set_route("query-report", "General Ledger"); }, __("View")); + frm.add_custom_button(__("Payments"), function() { + frappe.set_route("List", "Payment Entry", {"Payment Entry Reference.reference_name": frm.doc.name}); + }, __("View")); } if(frm.doc.docstatus===1 && frm.doc.outstanding_amount>0) { frm.add_custom_button(__("Payment Request"), function() {