Skip to content

Commit

Permalink
adjust into report
Browse files Browse the repository at this point in the history
  • Loading branch information
devton committed Apr 17, 2012
1 parent 3045c1b commit 85e6337
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/reports/users/backers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ def all_confirmed_backers
csv_string << [
'Valor',
'Recompensa Selecionada Valor',
'Recompensa Selecionada Desc.',
'Confirmado em',
'Projeto'
'Feito em',
'Projeto',
'Categoria'
]

@backers.each do |backer|
csv_string << [
backer.value,
(backer.reward.minimum_value if backer.reward),
(backer.reward.description if backer.reward),
I18n.l(backer.confirmed_at.to_date),
backer.project.name
(backer.creted_at.strftime("%d/%m/%Y") if backer.created_at),
backer.project.name,
backer.project.category.name
]
end
end
Expand Down

0 comments on commit 85e6337

Please sign in to comment.