Skip to content

Commit

Permalink
fix: Opening balance in bank reconciliation tool (#38977)
Browse files Browse the repository at this point in the history
fix: Opening balance in bank reconciliation tool (#38977)

(cherry picked from commit bbee9b5)

Co-authored-by: Deepesh Garg <[email protected]>
  • Loading branch information
mergify[bot] and deepeshgarg007 authored Dec 28, 2023
1 parent 29d383a commit a2cba1b
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 a2cba1b

Please sign in to comment.