-
+
${__("Notes")}
diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.js b/erpnext/accounts/doctype/payment_entry/payment_entry.js
index 3a0d1d11f4c..12a6132ce43 100644
--- a/erpnext/accounts/doctype/payment_entry/payment_entry.js
+++ b/erpnext/accounts/doctype/payment_entry/payment_entry.js
@@ -414,21 +414,17 @@ frappe.ui.form.on("Payment Entry", {
show_general_ledger: function (frm) {
if (frm.doc.docstatus > 0) {
- frm.add_custom_button(
- __("Ledger"),
- function () {
- frappe.route_options = {
- voucher_no: frm.doc.name,
- from_date: frm.doc.posting_date,
- to_date: moment(frm.doc.modified).format("YYYY-MM-DD"),
- company: frm.doc.company,
- categorize_by: "",
- show_cancelled_entries: frm.doc.docstatus === 2,
- };
- frappe.set_route("query-report", "General Ledger");
- },
- "fa fa-table"
- );
+ frm.add_custom_button(__("Ledger"), function () {
+ frappe.route_options = {
+ voucher_no: frm.doc.name,
+ from_date: frm.doc.posting_date,
+ to_date: moment(frm.doc.modified).format("YYYY-MM-DD"),
+ company: frm.doc.company,
+ categorize_by: "",
+ show_cancelled_entries: frm.doc.docstatus === 2,
+ };
+ frappe.set_route("query-report", "General Ledger");
+ });
}
},
diff --git a/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.js b/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.js
index 7433f18c5ac..27a38912a86 100644
--- a/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.js
+++ b/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.js
@@ -41,21 +41,17 @@ frappe.ui.form.on("Period Closing Voucher", {
refresh: function (frm) {
if (frm.doc.docstatus > 0) {
- frm.add_custom_button(
- __("Ledger"),
- function () {
- frappe.route_options = {
- voucher_no: frm.doc.name,
- from_date: frm.doc.period_start_date,
- to_date: frm.doc.period_end_date,
- company: frm.doc.company,
- categorize_by: "",
- show_cancelled_entries: frm.doc.docstatus === 2,
- };
- frappe.set_route("query-report", "General Ledger");
- },
- "fa fa-table"
- );
+ frm.add_custom_button(__("Ledger"), function () {
+ frappe.route_options = {
+ voucher_no: frm.doc.name,
+ from_date: frm.doc.period_start_date,
+ to_date: frm.doc.period_end_date,
+ company: frm.doc.company,
+ categorize_by: "",
+ show_cancelled_entries: frm.doc.docstatus === 2,
+ };
+ frappe.set_route("query-report", "General Ledger");
+ });
}
},
});
diff --git a/erpnext/accounts/doctype/pricing_rule/pricing_rule.js b/erpnext/accounts/doctype/pricing_rule/pricing_rule.js
index 7cce98f3323..0a4272c518d 100644
--- a/erpnext/accounts/doctype/pricing_rule/pricing_rule.js
+++ b/erpnext/accounts/doctype/pricing_rule/pricing_rule.js
@@ -40,7 +40,7 @@ frappe.ui.form.on("Pricing Rule", {
var help_content = `
-
+
${__("Notes")}
@@ -63,7 +63,7 @@ frappe.ui.form.on("Pricing Rule", {
-