diff --git a/app/views/cost_objects/_show_variable_cost_object.html.erb b/app/views/cost_objects/_show_variable_cost_object.html.erb index c2df2fb3dc..c922b57a92 100644 --- a/app/views/cost_objects/_show_variable_cost_object.html.erb +++ b/app/views/cost_objects/_show_variable_cost_object.html.erb @@ -22,16 +22,88 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+
+
+ <%= 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) %> |
@@ -70,106 +142,38 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
---|---|---|---|
<%=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(:work_package)%>
-
-
- |
-
-
-
-
-
- <%= CostEntry.human_attribute_name(:units) %>
-
-
- |
-
-
-
-
-
- <%= CostEntry.human_attribute_name(:cost_type) %>
-
-
- |
-
-
-
-
-
- <%= CostEntry.human_attribute_name(:costs) %>
-
-
- |
-
---|---|---|---|
<%= link_to_work_package work_package %> | -<%= link_to pluralize(c.units, c.cost_type.unit, c.cost_type.unit_plural), {:controller => "/costlog", :action => "index", :cost_type_id => c.cost_type, :work_package_id => work_package} %> | -<%= 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) %>
-
+
+
+
+
<%= number_to_currency(@cost_object.labor_budget) %> | |
---|
-
-
-
- <%= TimeEntry.human_attribute_name(:work_package) %>
-
+
+
+
+
|
---|