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