suite
This commit is contained in:
parent
f852473981
commit
21477dc802
@ -19,7 +19,7 @@ class Admin::SheetsController < ApplicationController
|
|||||||
|
|
||||||
def recus
|
def recus
|
||||||
date = Date.today
|
date = Date.today
|
||||||
date = DateTime.new(2017, 1, 1).beginning_of_year
|
date = DateTime.new(2018, 1, 1).beginning_of_year
|
||||||
|
|
||||||
@sheet_years = SheetYear.joins(:person).order("people.surname").find(:all, :conditions => ["paid_at >= ? and paid_at <= ?",date ,date.end_of_year])
|
@sheet_years = SheetYear.joins(:person).order("people.surname").find(:all, :conditions => ["paid_at >= ? and paid_at <= ?",date ,date.end_of_year])
|
||||||
@donates = Donate.joins(:person).order("people.surname").find(:all, :conditions => ["paid_at >= ? and paid_at <= ?",date ,date.end_of_year])
|
@donates = Donate.joins(:person).order("people.surname").find(:all, :conditions => ["paid_at >= ? and paid_at <= ?",date ,date.end_of_year])
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
%td{:style => "text-align:right;"}
|
%td{:style => "text-align:right;"}
|
||||||
Numéro d'ordre du reçu
|
Numéro d'ordre du reçu
|
||||||
%br
|
%br
|
||||||
="2017/"+("%04d" % i).to_s
|
="2018/"+("%04d" % i).to_s
|
||||||
|
|
||||||
%h2{:style => "text-align:center;"}
|
%h2{:style => "text-align:center;"}
|
||||||
Reçu dons aux œuvres
|
Reçu dons aux œuvres
|
||||||
@ -170,7 +170,7 @@
|
|||||||
%td{:style => "text-align:right;"}
|
%td{:style => "text-align:right;"}
|
||||||
Numéro d'ordre du reçu
|
Numéro d'ordre du reçu
|
||||||
%br
|
%br
|
||||||
="2017/"+("%04d" % i).to_s
|
="2018/"+("%04d" % i).to_s
|
||||||
|
|
||||||
%h2{:style => "text-align:center;"}
|
%h2{:style => "text-align:center;"}
|
||||||
Reçu dons aux œuvres
|
Reçu dons aux œuvres
|
||||||
|
Loading…
x
Reference in New Issue
Block a user