diff --git a/app/controllers/admin/sheets_controller.rb b/app/controllers/admin/sheets_controller.rb index c370136..d9f8700 100644 --- a/app/controllers/admin/sheets_controller.rb +++ b/app/controllers/admin/sheets_controller.rb @@ -19,7 +19,7 @@ require 'iconv' def recus date = Date.today - date = DateTime.new(2010, 1, 1).beginning_of_year + date = DateTime.new(2013, 1, 1).beginning_of_year @sheet_years = SheetYear.find(:all, :conditions => ["paid_at >= ? and paid_at <= ?",date ,date.end_of_year]) @donates = Donate.find(:all, :conditions => ["paid_at >= ? and paid_at <= ?",date ,date.end_of_year])