mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
fix: collapsible filters on accounts receivable and accounts payables reports (#51798)
Co-authored-by: sokumon <sohamkulkarns9@gmail.com>
This commit is contained in:
@@ -151,6 +151,8 @@ frappe.query_reports["Accounts Payable"] = {
|
|||||||
fieldtype: "Check",
|
fieldtype: "Check",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
collapsible_filters: true,
|
||||||
|
separate_check_filters: true,
|
||||||
|
|
||||||
formatter: function (value, row, column, data, default_formatter) {
|
formatter: function (value, row, column, data, default_formatter) {
|
||||||
value = default_formatter(value, row, column, data);
|
value = default_formatter(value, row, column, data);
|
||||||
|
|||||||
@@ -108,6 +108,8 @@ frappe.query_reports["Accounts Payable Summary"] = {
|
|||||||
fieldtype: "Check",
|
fieldtype: "Check",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
collapsible_filters: true,
|
||||||
|
separate_check_filters: true,
|
||||||
|
|
||||||
onload: function (report) {
|
onload: function (report) {
|
||||||
report.page.add_inner_button(__("Accounts Payable"), function () {
|
report.page.add_inner_button(__("Accounts Payable"), function () {
|
||||||
|
|||||||
@@ -178,6 +178,8 @@ frappe.query_reports["Accounts Receivable"] = {
|
|||||||
fieldtype: "Check",
|
fieldtype: "Check",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
collapsible_filters: true,
|
||||||
|
separate_check_filters: true,
|
||||||
|
|
||||||
formatter: function (value, row, column, data, default_formatter) {
|
formatter: function (value, row, column, data, default_formatter) {
|
||||||
value = default_formatter(value, row, column, data);
|
value = default_formatter(value, row, column, data);
|
||||||
|
|||||||
@@ -131,6 +131,8 @@ frappe.query_reports["Accounts Receivable Summary"] = {
|
|||||||
fieldtype: "Check",
|
fieldtype: "Check",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
collapsible_filters: true,
|
||||||
|
separate_check_filters: true,
|
||||||
|
|
||||||
onload: function (report) {
|
onload: function (report) {
|
||||||
report.page.add_inner_button(__("Accounts Receivable"), function () {
|
report.page.add_inner_button(__("Accounts Receivable"), function () {
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ frappe.query_reports["General Ledger"] = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
collapsible_filters: true,
|
collapsible_filters: true,
|
||||||
seperate_check_filters: true,
|
separate_check_filters: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
erpnext.utils.add_dimensions("General Ledger", 15);
|
erpnext.utils.add_dimensions("General Ledger", 15);
|
||||||
|
|||||||
Reference in New Issue
Block a user