mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 01:14:46 +00:00
chore: button name should reflect what it creates
(cherry picked from commit 0b6e7f83cd)
This commit is contained in:
@@ -36,7 +36,7 @@ frappe.ui.form.on("Payment Order", {
|
|||||||
|
|
||||||
// payment Entry
|
// payment Entry
|
||||||
if (frm.doc.docstatus === 1 && frm.doc.payment_order_type === "Payment Request") {
|
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");
|
frm.trigger("make_payment_records");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user