Added MemberSpent class to help create the fields for getting the amounts per member. #1190
This commit is contained in:
1 parent
b571a1f338
commit
211fc5879d
4 files changed
+52
-2
No files matched your search
@@ -29,8 +29,10 @@
|
||||
<%= paragraph_with_data("Progress: ", deliverable.progress) -%>
|
||||
<%= paragraph_with_data("Hours Estimated: ", deliverable.total_hours) if allowed_management? -%>
|
||||
<%= paragraph_with_data("Hours Used: ", deliverable.hours_used) if allowed_management? -%>
|
||||
|
||||
TODO: Each person
|
||||
|
||||
<% deliverable.members_spent.each do |person| %>
|
||||
<p><%= h person.user.name -%>: <%= h(person.hours) %> <%= number_to_currency(person.spent, :precision => 0) %></p>
|
||||
<% end %>
|
||||
</td>
|
||||
|
||||
<td colspan="3">
|
||||
|
||||
Reference in new issue
Block a user