diff --git a/app/views/cost_reports/_cost_report_table.rhtml b/app/views/cost_reports/_cost_report_table.rhtml index 28e4b2f29e..361436e9e6 100644 --- a/app/views/cost_reports/_cost_report_table.rhtml +++ b/app/views/cost_reports/_cost_report_table.rhtml @@ -15,7 +15,7 @@ subrows end - walker.for_empty_cell { " " } + walker.for_empty_cell { " #{":)" if params[:debug]}" } walker.for_cell do |result| "#{number_to_currency result.real_costs}#{"," << result.fields.inspect if params[:debug]}" @@ -25,11 +25,11 @@ <% walker.headers do |list, first, first_in_col, last_in_col| %> <%= '' if first_in_col %> - <%= "" if first %> + <%= "" if first %> <% list.each do |column| %> <% end %> - <%= "" if first %> + <%= "" if first %> <%= '' if last_in_col %> <% end %> @@ -40,12 +40,12 @@ <% walker.headers(:reverse) do |list, final, first_in_col, last_in_col| %> <% first = list.first.final_column? %> <%= '' if first_in_col %> - <%= "" if first && first_in_col %> + <%= "" if first && first_in_col %> <% list.each do |column| %> <% end %> <% if first && last_in_col %> - <%= "" %> + <%= "" %> <% end %> <%= '' if last_in_col %> <% end %>
<%= show_row column %>
<%= number_to_currency column.real_costs %>#{number_to_currency query.real_costs}#{number_to_currency query.real_costs}