[#4182] Hooked up nested attributes for Deliverable -> LaborExpense
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
module ContractsHelper
|
||||
def setup_nested_deliverable_records(deliverable)
|
||||
returning(deliverable) do |d|
|
||||
d.labor_expenses.build if d.labor_expenses.empty?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user