[#4420] Added a Deliverable finance form for each Retainer month.

This commit is contained in:
Eric Davis committed 2010-08-30 10:30:59 -07:00
1 parent c3c472b3b1
commit c13f31b1b5
5 files changed
+37 -5

No files matched your search

+9 -1
View File
@@ -44,7 +44,15 @@ class RetainerDeliverable < HourlyDeliverable
month_acc
end
def labor_budgets_for_date(date)
labor_budgets.all(:conditions => {:year => date.year, :month => date.month})
end
def overhead_budgets_for_date(date)
overhead_budgets.all(:conditions => {:year => date.year, :month => date.month})
end
def create_budgets_for_periods
# For each month in the time span
months.each do |month|