pull/7991/head
ulferts 5 years ago
parent 62a7122dd2
commit 16bfb8465c
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 2
      modules/xls_export/lib/open_project/xls_export/xls_views/cost_entry_table.xls.rb
  2. 2
      modules/xls_export/lib/open_project/xls_export/xls_views/simple_cost_report_table.xls.rb

@ -29,7 +29,7 @@ class OpenProject::XlsExport::XlsViews::CostEntryTable < OpenProject::XlsExport:
else else
['', '', show_result(query)] ['', '', show_result(query)]
end end
spreadsheet.add_row(footer) # footer spreadsheet.add_sums(footer) # footer
end end
def headers def headers

@ -37,7 +37,7 @@ class OpenProject::XlsExport::XlsViews::SimpleCostReportTable < OpenProject::Xls
footer << show_result(query) footer << show_result(query)
footer << cost_type_unit_label(unit_id, cost_type) if show_unit_label? footer << cost_type_unit_label(unit_id, cost_type) if show_unit_label?
spreadsheet.add_row(footer) spreadsheet.add_sums(footer)
end end
def headers def headers

Loading…
Cancel
Save