Patch #6287 » redmine100_timelog_report_to_csv.patch
| app/helpers/timelog_helper.rb (working copy) | ||
|---|---|---|
|
# Content
|
||
|
report_criteria_to_csv(csv, criterias, periods, hours)
|
||
|
# Total row
|
||
|
row = [ l(:label_total) ] + [''] * (criterias.size - 1)
|
||
|
row = [ to_utf8(l(:label_total)) ] + [''] * (criterias.size - 1)
|
||
|
total = 0
|
||
|
periods.each do |period|
|
||
|
sum = sum_hours(select_hours(hours, @columns, period.to_s))
|
||