mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 17:26:43 +00:00
fix:bank reconciliation tool variable issue (#36022)
fix: bank reconciliation tool variable issue (#36022)
fix: bank reconciliation tool variable issue (#36022)
(cherry picked from commit 828e647019)
Co-authored-by: Navin Balaji <54995833+navinbalaji@users.noreply.github.com>
This commit is contained in:
@@ -19,7 +19,7 @@ frappe.ui.form.on("Bank Reconciliation Tool", {
|
||||
|
||||
onload: function (frm) {
|
||||
// Set default filter dates
|
||||
today = frappe.datetime.get_today()
|
||||
let today = frappe.datetime.get_today()
|
||||
frm.doc.bank_statement_from_date = frappe.datetime.add_months(today, -1);
|
||||
frm.doc.bank_statement_to_date = today;
|
||||
frm.trigger('bank_account');
|
||||
|
||||
Reference in New Issue
Block a user