fix: added string for translation in bank reconciliation statement

(cherry picked from commit c99d9f7037)
This commit is contained in:
ljain112
2024-10-10 11:27:26 +05:30
committed by Mergify
parent 1262c322d1
commit 32f6eb7ee7

View File

@@ -47,7 +47,7 @@ frappe.query_reports["Bank Reconciliation Statement"] = {
},
],
formatter: function (value, row, column, data, default_formatter, filter) {
if (column.fieldname == "payment_entry" && value == "Cheques and Deposits incorrectly cleared") {
if (column.fieldname == "payment_entry" && value == __("Cheques and Deposits incorrectly cleared")) {
column.link_onclick =
"frappe.query_reports['Bank Reconciliation Statement'].open_utility_report()";
}