Browse Source

[feature] print only what is expanded in reports (#2038)

ie balance report will print like is visable not all items
version-14
RobertSchouten 8 years ago
committed by Rushabh Mehta
parent
commit
ac63c720b8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/views/reports/query_report.js

+ 1
- 1
frappe/public/js/frappe/views/reports/query_report.js View File

@@ -163,7 +163,7 @@ frappe.views.QueryReport = Class.extend({

if(this.html_format) {
var content = frappe.render(this.html_format,
{data: this.dataView.getItems(), filters:this.get_values(), report:this});
{data: frappe.slickgrid_tools.get_filtered_items(this.dataView), filters:this.get_values(), report:this});

frappe.render_grid({content:content, title:__(this.report_name)});
} else {


Loading…
Cancel
Save