From ad205546c38b919948ec913f1ff36bb7e9e3b2b0 Mon Sep 17 00:00:00 2001 From: Diptanil Saha Date: Tue, 20 Jan 2026 12:44:49 +0530 Subject: [PATCH] fix: collapsible filters on accounts receivable and accounts payables reports (#51798) Co-authored-by: sokumon --- erpnext/accounts/report/accounts_payable/accounts_payable.js | 2 ++ .../report/accounts_payable_summary/accounts_payable_summary.js | 2 ++ .../accounts/report/accounts_receivable/accounts_receivable.js | 2 ++ .../accounts_receivable_summary/accounts_receivable_summary.js | 2 ++ erpnext/accounts/report/general_ledger/general_ledger.js | 2 +- 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/report/accounts_payable/accounts_payable.js b/erpnext/accounts/report/accounts_payable/accounts_payable.js index 4d74a5c2d7c..1d0d44efcdc 100644 --- a/erpnext/accounts/report/accounts_payable/accounts_payable.js +++ b/erpnext/accounts/report/accounts_payable/accounts_payable.js @@ -151,6 +151,8 @@ frappe.query_reports["Accounts Payable"] = { fieldtype: "Check", }, ], + collapsible_filters: true, + separate_check_filters: true, formatter: function (value, row, column, data, default_formatter) { value = default_formatter(value, row, column, data); diff --git a/erpnext/accounts/report/accounts_payable_summary/accounts_payable_summary.js b/erpnext/accounts/report/accounts_payable_summary/accounts_payable_summary.js index a4cb0584bf1..e7a3fbf70db 100644 --- a/erpnext/accounts/report/accounts_payable_summary/accounts_payable_summary.js +++ b/erpnext/accounts/report/accounts_payable_summary/accounts_payable_summary.js @@ -108,6 +108,8 @@ frappe.query_reports["Accounts Payable Summary"] = { fieldtype: "Check", }, ], + collapsible_filters: true, + separate_check_filters: true, onload: function (report) { report.page.add_inner_button(__("Accounts Payable"), function () { diff --git a/erpnext/accounts/report/accounts_receivable/accounts_receivable.js b/erpnext/accounts/report/accounts_receivable/accounts_receivable.js index a05b17bfade..51dbf4f3f6e 100644 --- a/erpnext/accounts/report/accounts_receivable/accounts_receivable.js +++ b/erpnext/accounts/report/accounts_receivable/accounts_receivable.js @@ -178,6 +178,8 @@ frappe.query_reports["Accounts Receivable"] = { fieldtype: "Check", }, ], + collapsible_filters: true, + separate_check_filters: true, formatter: function (value, row, column, data, default_formatter) { value = default_formatter(value, row, column, data); diff --git a/erpnext/accounts/report/accounts_receivable_summary/accounts_receivable_summary.js b/erpnext/accounts/report/accounts_receivable_summary/accounts_receivable_summary.js index c8e59d6e054..2859899ed97 100644 --- a/erpnext/accounts/report/accounts_receivable_summary/accounts_receivable_summary.js +++ b/erpnext/accounts/report/accounts_receivable_summary/accounts_receivable_summary.js @@ -131,6 +131,8 @@ frappe.query_reports["Accounts Receivable Summary"] = { fieldtype: "Check", }, ], + collapsible_filters: true, + separate_check_filters: true, onload: function (report) { report.page.add_inner_button(__("Accounts Receivable"), function () { diff --git a/erpnext/accounts/report/general_ledger/general_ledger.js b/erpnext/accounts/report/general_ledger/general_ledger.js index 46ce1933834..52db0d61851 100644 --- a/erpnext/accounts/report/general_ledger/general_ledger.js +++ b/erpnext/accounts/report/general_ledger/general_ledger.js @@ -224,7 +224,7 @@ frappe.query_reports["General Ledger"] = { }, ], collapsible_filters: true, - seperate_check_filters: true, + separate_check_filters: true, }; erpnext.utils.add_dimensions("General Ledger", 15);