From a5f69c87cdf1c80951892362cf7836eaa799d022 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Wed, 7 Jan 2015 10:43:50 +0100 Subject: [PATCH] =?UTF-8?q?re=C3=A7us=202014?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/admin/sheets_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/sheets_controller.rb b/app/controllers/admin/sheets_controller.rb index 64a5046..35ded5b 100644 --- a/app/controllers/admin/sheets_controller.rb +++ b/app/controllers/admin/sheets_controller.rb @@ -19,7 +19,7 @@ class Admin::SheetsController < ApplicationController def recus date = Date.today - date = DateTime.new(2013, 1, 1).beginning_of_year + date = DateTime.new(2014, 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])