[#4183] Implemented FixedDeliverable#total_spent

This commit is contained in:
Eric Davis committed 2010-07-13 17:49:50 -07:00
1 parent 5d09a035c5
commit de42a32121
2 files changed
+11

No files matched your search

+5
View File
@@ -15,6 +15,11 @@ class FixedDeliverable < Deliverable
read_attribute(:total) || 0.0
end
# Fixed deliverables are always 100% spent
def total_spent
total
end
# The amount of profit that is budgeted for this deliverable.
# Profit = Total - ( Labor + Overhead + Fixed + Markup )
def profit_budget