fix: Missing constructor args in Bank Reco Tool (#33705)

This commit is contained in:
Deepesh Garg 2023-01-17 21:03:39 +05:30 committed by GitHub
parent d7522d40c0
commit 6b31c27ed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -137,8 +137,7 @@
"fieldname": "finance_book", "fieldname": "finance_book",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Finance Book", "label": "Finance Book",
"options": "Finance Book", "options": "Finance Book"
"read_only": 1
}, },
{ {
"fieldname": "2_add_edit_gl_entries", "fieldname": "2_add_edit_gl_entries",
@ -539,7 +538,7 @@
"idx": 176, "idx": 176,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2022-11-28 17:40:01.241908", "modified": "2023-01-17 12:53:53.280620",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Journal Entry", "name": "Journal Entry",

View File

@ -1,7 +1,7 @@
frappe.provide("erpnext.accounts.bank_reconciliation"); frappe.provide("erpnext.accounts.bank_reconciliation");
erpnext.accounts.bank_reconciliation.DialogManager = class DialogManager { erpnext.accounts.bank_reconciliation.DialogManager = class DialogManager {
constructor(company, bank_account) { constructor(company, bank_account, bank_statement_from_date, bank_statement_to_date, filter_by_reference_date, from_reference_date, to_reference_date) {
this.bank_account = bank_account; this.bank_account = bank_account;
this.company = company; this.company = company;
this.make_dialog(); this.make_dialog();