[#4183] Implemented HourlyDeliverable#profit_left.

This commit is contained in:
Eric Davis committed 2010-07-13 18:15:29 -07:00
1 parent cd3ba5e5e5
commit 1f22b203b6
2 files changed
+44

No files matched your search

+6
View File
@@ -53,4 +53,10 @@ class HourlyDeliverable < Deliverable
budgets = labor_budget_total + overhead_budget_total
(total || 0.0) - budgets
end
# The amount of money remaining after expenses have been taken out
# Profit left = Total - Labor spent - Overhead spent
def profit_left
total_spent - labor_budget_spent - overhead_spent
end
end