mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
Return early if filters not initialized
This commit is contained in:
@@ -80,6 +80,7 @@ frappe.query_reports["General Ledger"] = {
|
|||||||
"label": __("Party"),
|
"label": __("Party"),
|
||||||
"fieldtype": "MultiSelect",
|
"fieldtype": "MultiSelect",
|
||||||
get_data: function() {
|
get_data: function() {
|
||||||
|
if (!frappe.query_report.filters) return;
|
||||||
var party_type = frappe.query_report.get_filter_value('party_type');
|
var party_type = frappe.query_report.get_filter_value('party_type');
|
||||||
var parties = frappe.query_report.get_filter_value('party');
|
var parties = frappe.query_report.get_filter_value('party');
|
||||||
if(!party_type) return;
|
if(!party_type) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user