From ef99cfa55d8267f49f135a1ee9b65e794f636315 Mon Sep 17 00:00:00 2001 From: "t.felgentreff" Date: Wed, 30 Jun 2010 17:11:46 +0000 Subject: [PATCH] replace Euro signs with number_to_currency git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1284 7926756e-e54e-46e6-9721-ed318f58905e --- app/views/cost_reports/_cost_report_table.rhtml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/cost_reports/_cost_report_table.rhtml b/app/views/cost_reports/_cost_report_table.rhtml index 7f98e12ac5..0d7de37c64 100644 --- a/app/views/cost_reports/_cost_report_table.rhtml +++ b/app/views/cost_reports/_cost_report_table.rhtml @@ -7,7 +7,7 @@ subrows.flatten! unless row.fields.empty? subrows[0] = "#{show_row row}" - "#{subrows[0]}#{number_to_currency(row.real_costs)} €" + "#{subrows[0]}#{number_to_currency(row.real_costs)}" end subrows end @@ -15,7 +15,7 @@ walker.for_empty_cell { "" } walker.for_cell do |result| - "#{result.real_costs} €" + "#{number_to_currency result.real_costs} €" end %> @@ -38,9 +38,9 @@ <%= "" if first %> <% if !final then list.each do |column| %> - <%= column.real_costs %> € + <%= number_to_currency column.real_costs %> € <% end end %> - <%= "#{query.real_costs} €" if first %> + <%= "#{number_to_currency query.real_costs}" if first %> <% end %> \ No newline at end of file