diff --git a/app/views/cost_reports/index.rhtml b/app/views/cost_reports/index.rhtml index 7439841bb0..23c8c5ce13 100644 --- a/app/views/cost_reports/index.rhtml +++ b/app/views/cost_reports/index.rhtml @@ -52,5 +52,9 @@ <% end %> -<%= render :partial => @table_partial, :locals => {:query => @query, :walker => @query.walker} %> -
<%= l(:text_costs_are_rounded_note) %>
+<% if @query.result.count > 0 %> + <%= render :partial => @table_partial, :locals => {:query => @query, :walker => @query.walker} %> +<%= l(:text_costs_are_rounded_note) %>
+<% else %> +<%= l(:label_no_data) %>
+<% end %>