|
@@ -832,6 +832,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList { |
|
|
if (this.raw_data.add_total_row) { |
|
|
if (this.raw_data.add_total_row) { |
|
|
data = data.slice(); |
|
|
data = data.slice(); |
|
|
data.splice(-1, 1); |
|
|
data.splice(-1, 1); |
|
|
|
|
|
this.$page.find('.layout-main-section').css('--report-total-height', '310px'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
this.$report.show(); |
|
|
this.$report.show(); |
|
@@ -854,10 +855,6 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList { |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
if (this.raw_data.add_total_row) { |
|
|
|
|
|
this.$page.find('.layout-main-section').css('--report-total-height', '310px'); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (this.report_settings.get_datatable_options) { |
|
|
if (this.report_settings.get_datatable_options) { |
|
|
datatable_options = this.report_settings.get_datatable_options(datatable_options); |
|
|
datatable_options = this.report_settings.get_datatable_options(datatable_options); |
|
|
} |
|
|
} |
|
|