Method: BudgetVersionsObject#edit
- Defined in:
- lib/kuality-coeus/data_objects/budget/budget_versions.rb
#edit(opts = {}) ⇒ Object
Please note, this method is for VERY basic editing… Use it for editing the Budget Version while on the Proposal, but not the Periods
90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/kuality-coeus/data_objects/budget/budget_versions.rb', line 90 def edit opts={} navigate on(BudgetVersions).open @name confirmation on Parameters do |edit| edit.final.fit opts[:final] edit.budget_status.fit opts[:status] edit.total_direct_cost_limit.fit opts[:total_direct_cost_limit] # TODO: More to add here... edit.save end (opts) end |