<%= l(:caption_cost_unit_plural)%> | <%= l(:caption_cost_type) %> | <%= l(:caption_comment) %> | <%= l(:caption_budget) %> |
---|---|---|---|
<%=h pluralize(material_budget_item.units, material_budget_item.cost_type.unit, material_budget_item.cost_type.unit_plural) %> | <%=h material_budget_item.cost_type.name %> | <%=h material_budget_item.comments %> | <%= material_budget_item.costs_visible_by?(User.current) ? number_to_currency(material_budget_item.costs) : "" %> |
<%= number_to_currency(@cost_object.material_budget) %> |
<%= l(:caption_issue)%> | <%= l(:caption_cost_unit_plural) %> | <%= l(:caption_cost_type) %> | <%= l(:caption_costs) %> |
---|---|---|---|
<%= link_to_issue issue %> | <%= link_to pluralize(c.units, c.cost_type.unit, c.cost_type.unit_plural), {:controller => "costlog", :action => "index", :cost_type_id => c.cost_type, :issue_id => issue} %> | <%= c.cost_type %> | <%= c.costs_visible_by?(User.current) ? number_to_currency(c.real_costs) : "" %> |
<%= number_to_currency(@cost_object.spent_material) %> |
<%= l(:field_hours)%> | <%= l(:label_user) %> | <%= l(:caption_comment) %> | <%= l(:caption_budget) %> | |
---|---|---|---|---|
<%= labor_budget_item.hours %>h | <%=h labor_budget_item.user.name %> | <%=h labor_budget_item.comments %> | <% if labor_budget_item.costs_visible_by?(User.current) %><%= number_to_currency(labor_budget_item.costs)%> | <% else %><% end %> |
<%= number_to_currency(@cost_object.labor_budget) %> |
<%= l(:caption_issue)%> | <%= l(:field_hours)%> | <%= l(:label_user) %> | <%= l(:caption_costs) %> |
---|---|---|---|
<%= link_to_issue issue %> | <%= link_to "#{t.hours}h", {:controller => "timelog", :action => "index", :issue_id => issue} %> | <%=h t.user.name %> | <%= number_to_currency(t.real_costs) %> |
<%= number_to_currency(@cost_object.spent_labor) %> |