chore: button name should reflect what it creates

This commit is contained in:
ruthra kumar
2024-07-30 11:53:47 +05:30
parent 930ecb3170
commit 0b6e7f83cd

View File

@@ -36,7 +36,7 @@ frappe.ui.form.on("Payment Order", {
// payment Entry
if (frm.doc.docstatus === 1 && frm.doc.payment_order_type === "Payment Request") {
frm.add_custom_button(__("Create Payment Entries"), function () {
frm.add_custom_button(__("Create Journal Entries"), function () {
frm.trigger("make_payment_records");
});
}