Cleanup of values when a project is empty. #1137

This commit is contained in:
Eric Davis committed 2008-05-28 13:13:08 -07:00
1 parent c433de9ec7
commit e96bdccb42
3 files changed
+20 -4

No files matched your search

+2 -2
View File
@@ -20,10 +20,10 @@
Overruns: <%= h number_to_currency(@budget.overruns, :precision => 0) %>
</p>
<p>
Next Due Date: <%= h distance_of_time_in_words_to_now(@budget.next_due_date) %>
Next Due Date: <%= h distance_of_time_in_words_to_now(@budget.next_due_date) if @budget.next_due_date %>
</p>
<p>
Completion: <%= h distance_of_time_in_words_to_now(@budget.final_due_date) %>
Completion: <%= h distance_of_time_in_words_to_now(@budget.final_due_date) if @budget.final_due_date %>
</p>
<p>
Profit: TODO