Skip to content

Commit

Permalink
latest updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jayreddy519 committed Aug 7, 2024
1 parent d6ef614 commit 72904ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/models/enrollment_action/dependent_add.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ def publish
amqp_connection = termination.event_responder.connection
policy_to_change = termination.existing_policy
change_publish_helper = EnrollmentAction::ActionPublishHelper.new(action.event_xml)
enrollees = policy_to_change.try(:enrollees)
if enrollees.present?
enrollees.each do |en|
if en.c_id.present? || en.cp_id.present?
change_publish_helper.set_carrier_assigned_ids(en)
end
end
end
if @dep_adding_to_renewal
change_publish_helper.set_event_action("urn:openhbx:terms:v1:enrollment#auto_renew")
change_publish_helper.keep_member_ends([])
Expand Down

0 comments on commit 72904ef

Please sign in to comment.