reçus 2013

This commit is contained in:
Nicolas Bally 2014-01-06 16:47:20 +01:00
parent e5b1d7977c
commit fd64b1bbec

View File

@ -19,7 +19,7 @@ require 'iconv'
def recus def recus
date = Date.today 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]) @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]) @donates = Donate.find(:all, :conditions => ["paid_at >= ? and paid_at <= ?",date ,date.end_of_year])