diff --git a/app/views/deliverables/_finances.html.erb b/app/views/deliverables/_finances.html.erb index d0a557d..4f7b7f8 100644 --- a/app/views/deliverables/_finances.html.erb +++ b/app/views/deliverables/_finances.html.erb @@ -154,4 +154,42 @@ +
| <%= l(:field_overhead) %> | +<%= l(:field_cost) %> | +<%= l(:field_hours) %> | + + + + <% deliverable.users_with_non_billable_time.sort.each do |user| %> + + <% content_tag_for(:tr, user, :class => 'overhead ' + cycle('even','')) do %> ++ <%= h(user.name) %> + | ++ <%= number_to_currency(deliverable.spent_for_user(user, false), :precision => 0) %> + | ++ <%= number_with_precision(deliverable.hours_spent_for_user(user, false), :precision => 0) %> + | + <% end %> + + <% end %> +
|---|---|---|
| + Totals + | ++ <%= number_to_currency(deliverable.overhead_spent, :precision => 0) %> + | ++ <%= number_with_precision(deliverable.overhead_hours_spent_total, :precision => 0) %> + | +