reçus 2014
This commit is contained in:
parent
a89eda7779
commit
a5f69c87cd
@ -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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user