OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/cost_reports/index.html.erb

35 lines
1.2 KiB

<%= render :partial => 'reporting_header' %>
<%= include_calendar_headers_tags %>
<% if @custom_errors.present? %>
<% @custom_errors.each do |err| %>
<div class="flash error"><%= err %></div>
<% end %>
<% end %>
<h2 id="ur_caption">
<%= render_widget Widget::Controls::QueryName, @query, :can_rename => allowed_to?(:rename, @query, current_user) %>
</h2>
<%= render_widget Widget::Settings, @query, :cost_types => @cost_types, :selected_type_id => @unit_id %>
<div id="result-table" class="autoscroll">
<!-- FIXME. Progress doesn't work with Prototype < 1.7 -->
<% if @no_progress || true %>
<%= render_widget Widget::Table, @query %>
<% else %>
<%= render_widget Widget::Table::Progressbar, @query %>
<% end %>
</div>
<div style="height: 1em; background: none;">&nbsp;</div> <!-- IE7 band-aid -->
<p class="footnote">
<%= l(:text_costs_are_rounded_note) %>
<%= "<br />#{l(:information_restricted_depending_on_permission)}" if !User.current.admin?%>
</p>
<%= call_hook(:view_cost_report_table_bottom) %>
<% content_for :sidebar do %>
<% [:private, :public].each do |type| %>
<%= render :partial => "report_category", :locals => { :report_type => type } %>
<% end %>
<% end -%>