Bunch of stuff to make PDF reports work reasonably well

something like ...

def report_totals 
  decorator_class.total_columns.inject({}) do |h, col|
    h[col] = totals_collection.take(1).first.send("#{col}_sum")
    h
end

protected

def totals_collection
 c.unscope(:select, :order, :includes).select(select_totals)
end