app/models/logical/naf/construction_zone/work_order.rb in naf-2.1.8 vs app/models/logical/naf/construction_zone/work_order.rb in naf-2.1.9
- old
+ new
@@ -71,9 +71,13 @@
{
affinity_id: affinity.affinity.id
}
elsif affinity.is_a? ::Naf::ApplicationScheduleAffinityTab
# affinity_for application_schedule_affinity_tab
+ {
+ affinity_id: affinity.affinity_id,
+ affinity_parameter: affinity.affinity_parameter
+ }
elsif affinity.is_a? Hash
# should have key: :affinity_id or :affinity_short_name or :affinity_name
# may have key: :affinity_parameter
affinity_object = {}
if affinity.has_key?(:affinity_id)