Skip to content

Commit

Permalink
fix: Opening balance in bank reconciliation tool (#38977)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepeshgarg007 authored Dec 28, 2023
1 parent 915d864 commit bbee9b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ frappe.ui.form.on("Bank Reconciliation Tool", {
"erpnext.accounts.doctype.bank_reconciliation_tool.bank_reconciliation_tool.get_account_balance",
args: {
bank_account: frm.doc.bank_account,
till_date: frm.doc.bank_statement_from_date,
till_date: frappe.datetime.add_days(frm.doc.bank_statement_from_date, -1)
},
callback: (response) => {
frm.set_value("account_opening_balance", response.message);
Expand Down

0 comments on commit bbee9b5

Please sign in to comment.