kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
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.
50 lines
1.7 KiB
50 lines
1.7 KiB
11 years ago
|
<%#-- copyright
|
||
|
OpenProject Reporting Plugin
|
||
|
|
||
|
Copyright (C) 2010 - 2014 the OpenProject Foundation (OPF)
|
||
|
|
||
|
This program is free software; you can redistribute it and/or
|
||
|
modify it under the terms of the GNU General Public License
|
||
|
version 3.
|
||
|
|
||
|
This program is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with this program; if not, write to the Free Software
|
||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
|
||
|
++#%>
|
||
|
|
||
12 years ago
|
<%= render :partial => 'reporting_header' %>
|
||
14 years ago
|
|
||
14 years ago
|
<% if @custom_errors.present? %>
|
||
14 years ago
|
<% @custom_errors.each do |err| %>
|
||
|
<div class="flash error"><%= err %></div>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
|
||
11 years ago
|
<% html_title (@query.persisted? ? "#{l(:label_cost_report)}: #{@query.name}" : l(:label_new_report)) %>
|
||
11 years ago
|
|
||
14 years ago
|
<h2 id="ur_caption">
|
||
14 years ago
|
<%= render_widget Widget::Controls::QueryName, @query, :can_rename => allowed_to?(:rename, @query, current_user) %>
|
||
14 years ago
|
</h2>
|
||
13 years ago
|
<%= render_widget Widget::Settings, @query, :cost_types => @cost_types, :selected_type_id => @unit_id %>
|
||
14 years ago
|
|
||
10 years ago
|
<div id="result-table">
|
||
8 years ago
|
<%= render_widget Widget::Table, @query %>
|
||
14 years ago
|
</div>
|
||
14 years ago
|
<p class="footnote">
|
||
|
<%= l(:text_costs_are_rounded_note) %>
|
||
12 years ago
|
<%= "<br />#{l(:information_restricted_depending_on_permission)}".html_safe if !User.current.admin?%>
|
||
14 years ago
|
</p>
|
||
|
<%= call_hook(:view_cost_report_table_bottom) %>
|
||
14 years ago
|
|
||
|
<% content_for :sidebar do %>
|
||
13 years ago
|
<% [:private, :public].each do |type| %>
|
||
|
<%= render :partial => "report_category", :locals => { :report_type => type } %>
|
||
|
<% end %>
|
||
14 years ago
|
<% end -%>
|