[#4420] Adding Retainer calculation methods for specific dates.

This commit is contained in:
Eric Davis committed 2010-09-08 14:50:25 -07:00
1 parent 7ed21f7fe2
commit 0cc2523084
4 files changed
+111 -1

No files matched your search

+4
View File
@@ -58,6 +58,10 @@ class Deliverable < ActiveRecord::Base
labor_budgets.sum(:budget)
end
def labor_budget_total_for_date(date=nil) #Used on subclasses
labor_budget_total
end
def overhead_budget_total
overhead_budgets.sum(:budget)
end