diff --git a/app/controllers/timesheet_controller.rb b/app/controllers/timesheet_controller.rb index d168aff..cc971dc 100644 --- a/app/controllers/timesheet_controller.rb +++ b/app/controllers/timesheet_controller.rb @@ -94,7 +94,7 @@ def report :date_from => @timesheet.date_from.to_date, :date_to => @timesheet.date_to.to_date }), - :filename => 'timesheet.iif' + :filename => "timesheet-#{@timesheet.projects.collect{|p| p.id.to_s.lpad(3, '0')}.join('')}" ) } end