mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 02:44:52 +00:00
fix: currency in bank reconciliation chart
(cherry picked from commit 0fc5d2278d)
This commit is contained in:
committed by
mergify-bot
parent
409664387c
commit
df870e4b22
@@ -14,6 +14,10 @@ frappe.ui.form.on("Bank Reconciliation Tool", {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
onload: function (frm) {
|
||||||
|
frm.trigger('bank_account');
|
||||||
|
},
|
||||||
|
|
||||||
refresh: function (frm) {
|
refresh: function (frm) {
|
||||||
frappe.require("assets/js/bank-reconciliation-tool.min.js", () =>
|
frappe.require("assets/js/bank-reconciliation-tool.min.js", () =>
|
||||||
frm.trigger("make_reconciliation_tool")
|
frm.trigger("make_reconciliation_tool")
|
||||||
@@ -51,7 +55,7 @@ frappe.ui.form.on("Bank Reconciliation Tool", {
|
|||||||
bank_account: function (frm) {
|
bank_account: function (frm) {
|
||||||
frappe.db.get_value(
|
frappe.db.get_value(
|
||||||
"Bank Account",
|
"Bank Account",
|
||||||
frm.bank_account,
|
frm.doc.bank_account,
|
||||||
"account",
|
"account",
|
||||||
(r) => {
|
(r) => {
|
||||||
frappe.db.get_value(
|
frappe.db.get_value(
|
||||||
|
|||||||
Reference in New Issue
Block a user