Bläddra i källkod

[fixes] export of grid report

version-14
Nabin Hait 12 år sedan
förälder
incheckning
1b1010d3e0
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      public/js/wn/views/grid_report.js

+ 2
- 2
public/js/wn/views/grid_report.js Visa fil

@@ -904,10 +904,10 @@ wn.views.TreeGridReport = wn.views.GridReportWithPlot.extend({
// add row
for(var i=0; i<item.indent; i++) row[0] = " " + row[0];
}
if(with_groups && (item.group_or_ledger == "Group" || item.is_group==1)) {
if(with_groups && (item.group_or_ledger == "Group" || item.is_group)) {
return true;
}
if(with_ledgers && (item.group_or_ledger == "Ledger" || item.is_group==0)) {
if(with_ledgers && (item.group_or_ledger != "Group" && !item.is_group)) {
return true;
}


Laddar…
Avbryt
Spara