diff --git a/app/views/deliverables/_deliverable.html.erb b/app/views/deliverables/_deliverable.html.erb index 9480122..dddcfdf 100644 --- a/app/views/deliverables/_deliverable.html.erb +++ b/app/views/deliverables/_deliverable.html.erb @@ -2,7 +2,7 @@ <%= content_tag(:td, deliverable.id) %> <%= content_tag(:td, deliverable.score) %> <%= content_tag(:td, deliverable.subject) %> - <%= content_tag(:td, number_to_currency(deliverable.cost)) %> + <%= content_tag(:td, number_to_currency(deliverable.budget)) %> <%= content_tag(:td, number_to_currency(deliverable.spent)) %> <%= content_tag(:td, format_date(deliverable.due_date)) %> <%= content_tag(:td, progress_bar(deliverable.progress, :width => '80px')) %> diff --git a/app/views/deliverables/_form.html.erb b/app/views/deliverables/_form.html.erb index 44cf5de..da74011 100644 --- a/app/views/deliverables/_form.html.erb +++ b/app/views/deliverables/_form.html.erb @@ -18,13 +18,14 @@
TODO: Fixed cost
-<%= f.text_field :cost, :size => 7 %>
+TODO: Cost per hour
TODO: Total hours
<%= f.text_field :overhead, :size => 7 %>
<%= f.text_field :materials, :size => 7 %>
<%= f.text_field :profit, :size => 7 %>
<%# TODO %>Total Budget:
+<%= f.text_field :budget, :size => 7 %>