<%= MaterialBudgetItem.human_attribute_name(:units) %> | <%= MaterialBudgetItem.human_attribute_name(:cost_type) %> | <%= MaterialBudgetItem.human_attribute_name(:comment) %> | <%= MaterialBudgetItem.human_attribute_name(: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) %> |
<%= CostEntry.human_attribute_name(:issue)%> | <%= CostEntry.human_attribute_name(:units) %> | <%= CostEntry.human_attribute_name(:cost_type) %> | <%= CostEntry.human_attribute_name(: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) %> |
<%= LaborBudgetItem.human_attribute_name(:hours) %> | <%= LaborBudgetItem.human_attribute_name(:user) %> | <%= LaborBudgetItem.human_attribute_name(:comment) %> | <%= LaborBudgetItem.human_attribute_name(: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) %> |
<%= TimeEntry.human_attribute_name(:issue) %> | <%= TimeEntry.human_attribute_name(:hours) %> | <%= TimeEntry.human_attribute_name(:user) %> | <%= TimeEntry.human_attribute_name(: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) %> |