[#4183] Implemented FixedDeliverable#total_spent
This commit is contained in:
1 parent
5d09a035c5
commit
de42a32121
2 files changed
+11
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user