Project

General

Profile

Patch #6287 » redmine100_timelog_report_to_csv.patch

Ryo SUETSUGU, 2010-09-03 16:02

View differences:

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))
(1-1/4)