Before adding workers
This commit is contained in:
@@ -32,7 +32,7 @@ module SampleCard
|
||||
|
||||
def set_plan_fields
|
||||
plans_sample_cards = []
|
||||
@employer.id_card_configuration.plans.each do |plan|
|
||||
@employer.id_card_setup.plans.each do |plan|
|
||||
plan_sample_card = @sample_card.dup
|
||||
plan_name = plan.title.split(/(?<=\d[kK])/).first
|
||||
plan_sample_card.family_id = plan_name
|
||||
@@ -56,7 +56,7 @@ module SampleCard
|
||||
end
|
||||
|
||||
def set_network_fields
|
||||
selected_attributes = @employer.id_card_configuration.provider_section.attributes.with_indifferent_access.slice(
|
||||
selected_attributes = @employer.id_card_setup.provider_section.attributes.with_indifferent_access.slice(
|
||||
:provider_line_1, :provider_line_2, :provider_line_3, :provider_line_4, :provider_line_5, :provider_line_6,
|
||||
:provider_line_7, :provider_line_8, :provider_line_9, :provider_line_10, :provider_line_11, :provider_line_12,
|
||||
:claim_to_1, :claim_to_2, :claim_to_3, :claim_to_4, :claim_to_5, :claim_to_6,
|
||||
@@ -71,7 +71,7 @@ module SampleCard
|
||||
|
||||
def set_rx_fields
|
||||
# fairos_information = Vhcs::HlrxCrosRef.where(pl_plan_key: 52).first
|
||||
selected_attributes = @employer.id_card_configuration.rx_section.attributes.with_indifferent_access.slice(
|
||||
selected_attributes = @employer.id_card_setup.rx_section.attributes.with_indifferent_access.slice(
|
||||
:customer_service,
|
||||
:web_url
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user