diff --git a/app/controllers/insured/families_controller.rb b/app/controllers/insured/families_controller.rb index 9b91e2ceb18..5e17e4c8be2 100644 --- a/app/controllers/insured/families_controller.rb +++ b/app/controllers/insured/families_controller.rb @@ -6,7 +6,8 @@ class Insured::FamiliesController < FamiliesController include Insured::FamiliesHelper layout :resolve_layout - before_action :enable_bs4_layout, only: [:home, :find_sep, :record_sep, :check_qle_date, :check_move_reason, :check_marriage_reason, :check_insurance_reason, :personal, :inbox, :manage_family, :brokers] if EnrollRegistry.feature_enabled?(:bs4_consumer_flow) + + before_action :enable_bs4_layout, only: [:home, :find_sep, :record_sep, :check_qle_date, :check_move_reason, :check_marriage_reason, :check_insurance_reason, :personal, :inbox, :manage_family, :brokers, :enrollment_history] if EnrollRegistry.feature_enabled?(:bs4_consumer_flow) before_action :updateable?, only: [:delete_consumer_broker, :record_sep, :purchase, :upload_notice] before_action :init_qualifying_life_events, only: [:home, :manage_family, :find_sep] before_action :check_for_address_info, only: [:find_sep, :home] @@ -694,12 +695,12 @@ def enable_bs4_layout def resolve_layout case action_name - when "find_sep", "personal", "manage_family", "home" + when "find_sep" EnrollRegistry.feature_enabled?(:bs4_consumer_flow) ? "progress" : "application" - when "brokers", "inbox" + when "brokers", "inbox", "home", "enrollment_history", "personal", "manage_family" EnrollRegistry.feature_enabled?(:bs4_consumer_flow) ? "progress" : "two_column" when "purchase" - "application" + "two_column" end end end diff --git a/app/controllers/products/qhp_controller.rb b/app/controllers/products/qhp_controller.rb index 5ad0df1c7f9..0a0541452b7 100644 --- a/app/controllers/products/qhp_controller.rb +++ b/app/controllers/products/qhp_controller.rb @@ -48,6 +48,7 @@ def comparison end def summary + @bs4 = true if params[:bs4] == "true" @standard_component_ids = [] << @new_params[:standard_component_id] active_year_result = Validators::ControllerParameters::ProductsQhpParameters::SummaryActiveYearContract.new.call(params.permit(:active_year).to_h) if active_year_result.success? diff --git a/app/javascript/css/enrollment.scss b/app/javascript/css/enrollment.scss index 2133e1b531c..da60d37be93 100644 --- a/app/javascript/css/enrollment.scss +++ b/app/javascript/css/enrollment.scss @@ -1,3 +1,4 @@ + :root { .plan-tile { font-size: medium; @@ -169,4 +170,33 @@ } } } + + .enrollment-details{ + dl { + display: grid; + grid-template-columns: 25% auto; + + dt { + grid-column: 1; + } + + dd { + grid-column: 2; + + &.pre-line { + white-space: pre-line; + } + } + } + + table{ + th{ + width: 33%; + } + + th:first-child, td:first-child { + background-color: var(--grey-030); + } + } + } } diff --git a/app/javascript/css/main.scss b/app/javascript/css/main.scss index b7b00204240..631836b958f 100644 --- a/app/javascript/css/main.scss +++ b/app/javascript/css/main.scss @@ -155,6 +155,7 @@ dl.parent { padding: 0; margin: 0; margin-bottom: 3ch; + grid-auto-rows: min-content } dd, @@ -209,10 +210,6 @@ ul.list-right-section { .sm-hide { display: none; } - - .sm-hide { - display: none; - } } .card { diff --git a/app/javascript/src/enrollment.js b/app/javascript/src/enrollment.js index 2f1669420b7..620e42b3395 100644 --- a/app/javascript/src/enrollment.js +++ b/app/javascript/src/enrollment.js @@ -1,25 +1,33 @@ -var initiallyHiddenEnrollmentPanels = document.getElementsByClassName("initially_hidden_enrollment"); -var enrollmentToggleCheckbox = document.getElementById("display_all_enrollments"); +// For when families home page is refreshed when user on it +document.addEventListener("DOMContentLoaded", function () { + const initiallyHiddenEnrollmentPanels = document.getElementsByClassName("initially_hidden_enrollment"); + const enrollmentToggleCheckbox = document.getElementById("display_all_enrollments"); + const enrollmentToggleButton = document.getElementById("display_all_enrollments_btn"); -function toggleDisplayEnrollments(event) { - if (event.target.checked) { - for (var i = 0; i < initiallyHiddenEnrollmentPanels.length; i++) { - initiallyHiddenEnrollmentPanels[i].classList.remove("hidden"); - } - } else { - for (var i = 0; i < initiallyHiddenEnrollmentPanels.length; i++) { - initiallyHiddenEnrollmentPanels[i].classList.add("hidden"); - } + enrollmentToggleButton.addEventListener('click', toggleDisplayEnrollments); + enrollmentToggleCheckbox.addEventListener('click', toggleDisplayEnrollments); + + function toggleDisplayEnrollments(event) { + if (event.target.type == "submit") { + enrollmentToggleCheckbox.checked = !enrollmentToggleCheckbox.checked; } -}; -// For when family home page loaded through clicking off of the families index page -if (enrollmentToggleCheckbox != null || enrollmentToggleCheckbox != undefined) { - enrollmentToggleCheckbox.addEventListener('click', toggleDisplayEnrollments); -}; + if (enrollmentToggleCheckbox.checked) { + for (let i = 0; i < initiallyHiddenEnrollmentPanels.length; i++) { + initiallyHiddenEnrollmentPanels[i].classList.remove("hidden"); + enrollmentToggleButton.innerText = l10n(""); + } + } else { + for (let i = 0; i < initiallyHiddenEnrollmentPanels.length; i++) { + initiallyHiddenEnrollmentPanels[i].classList.add("hidden"); + enrollmentToggleButton.innerText = "Show All Enrollments"; + } + } + }; -// For when families home page is refreshed when user on it -document.addEventListener("DOMContentLoaded", function () { - var enrollmentToggleCheckbox = document.getElementById("display_all_enrollments"); + // For when family home page loaded through clicking off of the families index page + if (enrollmentToggleCheckbox != null || enrollmentToggleCheckbox != undefined) { enrollmentToggleCheckbox.addEventListener('click', toggleDisplayEnrollments); + enrollmentToggleButton.addEventListener('click', toggleDisplayEnrollments); + }; }) \ No newline at end of file diff --git a/app/views/insured/families/_enrollment_actions.html.erb b/app/views/insured/families/_enrollment_actions.html.erb index 4cbb3946cce..e3c7c910a0c 100644 --- a/app/views/insured/families/_enrollment_actions.html.erb +++ b/app/views/insured/families/_enrollment_actions.html.erb @@ -1,61 +1,119 @@ <% can_make_changes_for_enrollment = hbx_enrollment.can_make_changes? %> +<% if @bs4 %>
- <% unless read_only || !can_make_changes_for_enrollment %> - + <% end %> +
+<% else %> +
+ <% unless read_only || !can_make_changes_for_enrollment %> + - <% end %> +
+ <% end %> +<% end %> <% if hbx_enrollment.product.present? && enrollment_is_ivl_or_coverall?(hbx_enrollment) %> - <%= render "shared/pay_now_modal", hbx_enrollment: hbx_enrollment, source: "Enrollment Tile" %> -<% end %> \ No newline at end of file + <%= render "shared/pay_now_modal", hbx_enrollment: hbx_enrollment, source: "Enrollment Tile" %> +<% end %> diff --git a/app/views/insured/families/_enrollment_refactored.html.erb b/app/views/insured/families/_enrollment_refactored.html.erb index 1589956714d..a1fa5619ea6 100644 --- a/app/views/insured/families/_enrollment_refactored.html.erb +++ b/app/views/insured/families/_enrollment_refactored.html.erb @@ -3,165 +3,283 @@ <% if hbx_enrollment.is_coverage_waived? %> <%= render partial: 'insured/families/waived_coverage_widget', locals: { read_only: read_only || hbx_enrollment.can_make_changes?, hbx_enrollment: hbx_enrollment } %> <% else %> -
border rounded-lg bg-white mb-4"> -
-

- <%= hbx_enrollment.coverage_year %> <%= product.kind.to_s.titleize %> <%= l10n('coverage').titleize %> -

-
- <%= render partial: "insured/families/enrollment_status_label", locals: { step: hbx_enrollment.enroll_step, hbx_enrollment: hbx_enrollment } %> -
-
- -
- -
-
- <%= display_carrier_logo(Maybe.new(product)) %> -

- <%= link_to product.title, summary_products_plans_path({ :standard_component_id => product.hios_id, hbx_enrollment_id: hbx_enrollment.id, active_year: product.active_year }), remote: true %> -

+ <% if @bs4 %> +
"> +
+
+ <% if product.kind == "dental" %> + + <%= product.kind.to_s.titleize %> + + + <% else %> + + <%= product.kind.to_s.titleize %> + + + <% end %> + <%= product.kind.to_s.titleize %>
+
<%= render partial: "insured/families/enrollment_status_label", locals: { step: hbx_enrollment.enroll_step, hbx_enrollment: hbx_enrollment } %>
-
-
-
- - <%= hbx_enrollment.effective_on %> +
+
+
<%= display_carrier_logo(Maybe.new(product), {width: 100}) %>
+
+

+ <%= link_to product.title, summary_products_plans_path({ :standard_component_id => product.hios_id, hbx_enrollment_id: hbx_enrollment.id, active_year: product.active_year }), remote: true %> +

- - <% if hbx_enrollment.coverage_terminated? || hbx_enrollment.coverage_expired? || hbx_enrollment.coverage_termination_pending? %> -
- - <%= enrollment_coverage_end(hbx_enrollment) %> -
- - <% if hbx_enrollment.coverage_termination_pending? %> -
- - <%= hbx_enrollment.terminated_on %> -
+
+
+
+
Coverage Period:
+ <% coverage_end = enrollment_coverage_end(hbx_enrollment) if %> + <% if hbx_enrollment.coverage_terminated? || hbx_enrollment.coverage_expired? || hbx_enrollment.coverage_termination_pending? %> +
<%= hbx_enrollment.effective_on %>-<%=enrollment_coverage_end(hbx_enrollment) %>
+ <% else %> +
<%= hbx_enrollment.effective_on %>
<% end %> - <% else %> <% if @census_employee&.show_plan_end_date? && !hbx_enrollment.is_cobra_status? %> -
- - <%= @census_employee.coverage_terminated_on.end_of_month %> -
+
<%= l10n("plan_end") %>:
+
<%= @census_employee.coverage_terminated_on.end_of_month %>
<% end %> - <% end %> - - <% unless hide_policy_selected_date?(hbx_enrollment) %> -
- - <%= format_policy_purchase_date(hbx_enrollment) %> (<%= format_policy_purchase_time(hbx_enrollment) %>) -
- <% end %> + <% unless hide_policy_selected_date?(hbx_enrollment) %> +
<%= l10n("plan_selected") %>:
+
<%= format_policy_purchase_date(hbx_enrollment) %> (<%= format_policy_purchase_time(hbx_enrollment) %>)
+ <% end %> +
<%= l10n("benefit_group") %>
+
<%= @benefit_group.try(:title) %>
+ <% if @census_employee&.employee_role.present? && employee_role = @census_employee.employee_role %> +
<%= l10n("hired_on") %>:
+
<%= @census_employee.employee_role.try(:hired_on) %>
+ <% end %> + <% if hbx_enrollment.is_coverage_waived? %> +
<%= l10n("enrollment_status") %>:
+
<%= l10n("coverage_waived") %>
+ <% if @census_employee&.employee_role.present? && employee_role = @census_employee&.employee_role %> +
<%= l10n("waiver_reason") %>:
+
<%= hbx_enrollment.waiver_reason %>
+ <% end %> + <% end %> +
<%= l10n("type") %>:
+
<%= product.try(:product_type).try(:upcase) %>
+
<%= l10n("metal_level") %>:
+ <% plan_level = display_dental_metal_level(product) %> +
<%= plan_level %>
+
+
+ <% if current_user.has_hbx_staff_role? %> +
<%= HbxProfile::ShortName %> ID:
+
<%= hbx_enrollment.hbx_id %>
+ <% end %> +
<%= l10n("premium_you_pay") %>:
+
<%= number_to_currency(current_premium(hbx_enrollment), precision: 2) %> / <%= l10n("month").to_s.downcase %>
+ <% if hbx_enrollment.consumer_role.present? && (hbx_enrollment.applied_aptc_amount > 0) %> +
<%= l10n("APTC_amount") %>:
+
<%= number_to_currency(hbx_enrollment.applied_aptc_amount, precision: 2) %> / <%= l10n("month").to_s.downcase %>
+ <% end %> + <% unless EnrollRegistry.feature_enabled?(:hide_enrollment_market_type) %> +
<%= l10n("market_type") %>:
+
<%= show_market_name_by_enrollment hbx_enrollment %>
+ <% end %> + <% if hbx_enrollment.eligible_child_care_subsidy > 0 %> +
<%= l10n("hc44cc_premium_discount") %>:
+
<%= number_to_currency(hbx_enrollment.eligible_child_care_subsidy, precision: 2) %> / <%= l10n("month").to_s.downcase %>
+ <% end %> +
+
- <% if current_user.has_hbx_staff_role? %> -
- - <%= hbx_enrollment.hbx_id %> -
+
+ <% members = covered_members_name_age(hbx_enrollment.hbx_enrollment_members) %> + <% if members.present? %> +
+
<%= l10n("covered") %>:
+
+ <% members.each do |member| %> + + <%= member.titleize %><%= "," unless member.eql?(members.last)%> + + <% end %> +
+
<% end %> +
-
- - <%= @benefit_group.try(:title) %> + +
+
+ <% else %> +
"> +
+

+ <%= hbx_enrollment.coverage_year %> <%= product.kind.to_s.titleize %> <%= l10n('coverage').titleize %> +

+
<%= render partial: "insured/families/enrollment_status_label", locals: { step: hbx_enrollment.enroll_step, hbx_enrollment: hbx_enrollment } %>
+
- <% if @census_employee&.employee_role.present? && employee_role = @census_employee.employee_role %> -
- - <%= @census_employee.employee_role.try(:hired_on) %>

-
- <% end %> +
- <% if hbx_enrollment.is_coverage_waived? %> -
- - <%= l10n("coverage_waived") %> +
+
+ <%= display_carrier_logo(Maybe.new(product)) %> +

+ <%= link_to product.title, summary_products_plans_path({ :standard_component_id => product.hios_id, hbx_enrollment_id: hbx_enrollment.id, active_year: product.active_year }), remote: true %> +

- <% if @census_employee&.employee_role.present? && employee_role = @census_employee&.employee_role %> -
- - <%= hbx_enrollment.waiver_reason %> +
+ +
+
+
+ + <%= hbx_enrollment.effective_on %> +
+ + <% if hbx_enrollment.coverage_terminated? || hbx_enrollment.coverage_expired? || hbx_enrollment.coverage_termination_pending? %> +
+ + <%= enrollment_coverage_end(hbx_enrollment) %> +
+ + <% if hbx_enrollment.coverage_termination_pending? %> +
+ + <%= hbx_enrollment.terminated_on %> +
+ <% end %> + <% else %> + <% if @census_employee&.show_plan_end_date? && !hbx_enrollment.is_cobra_status? %> +
+ + <%= @census_employee.coverage_terminated_on.end_of_month %> +
+ <% end %> + <% end %> + + <% unless hide_policy_selected_date?(hbx_enrollment) %> +
+ + <%= format_policy_purchase_date(hbx_enrollment) %> (<%= format_policy_purchase_time(hbx_enrollment) %>) +
+ <% end %> + + <% if current_user.has_hbx_staff_role? %> +
+ + <%= hbx_enrollment.hbx_id %> +
+ <% end %> + +
+ + <%= @benefit_group.try(:title) %> +
+ + <% if @census_employee&.employee_role.present? && employee_role = @census_employee.employee_role %> +
+ + <%= @census_employee.employee_role.try(:hired_on) %>

+
+ <% end %> + + <% if hbx_enrollment.is_coverage_waived? %> +
+ + <%= l10n("coverage_waived") %> +
+ <% if @census_employee&.employee_role.present? && employee_role = @census_employee&.employee_role %> +
+ + <%= hbx_enrollment.waiver_reason %> +
+ <% end %> + <% end %>
- <% end %> - <% end %> -
-
-
- - <%= number_to_currency(current_premium(hbx_enrollment), precision: 2) %>/<%= l10n("month").to_s.downcase %> -
+
+
+ + <%= number_to_currency(current_premium(hbx_enrollment), precision: 2) %>/<%= l10n("month").to_s.downcase %> +
- <% if hbx_enrollment.consumer_role.present? && (hbx_enrollment.applied_aptc_amount > 0) %> -
- - <%= number_to_currency(hbx_enrollment.applied_aptc_amount, precision: 2) %>/<%= l10n("month").to_s.downcase %> -
- <% end %> + <% if hbx_enrollment.consumer_role.present? && (hbx_enrollment.applied_aptc_amount > 0) %> +
+ + <%= number_to_currency(hbx_enrollment.applied_aptc_amount, precision: 2) %>/<%= l10n("month").to_s.downcase %> +
+ <% end %> -
- - <%= display_dental_metal_level(product) %> -
+
+ + <%= display_dental_metal_level(product) %> +
-
- - <%= product.try(:product_type).try(:upcase) %> -
+
+ + <%= product.try(:product_type).try(:upcase) %> +
- <% unless EnrollRegistry.feature_enabled?(:hide_enrollment_market_type) %> -
- - <%= show_market_name_by_enrollment hbx_enrollment %> -
- <% end %> + <% unless EnrollRegistry.feature_enabled?(:hide_enrollment_market_type) %> +
+ + <%= show_market_name_by_enrollment hbx_enrollment %> +
+ <% end %> - <% if hbx_enrollment.eligible_child_care_subsidy > 0 %> -
- - <%= number_to_currency(hbx_enrollment.eligible_child_care_subsidy, precision: 2)%>/<%= l10n("month").to_s.downcase %> -
- <% end %> -
+ <% if hbx_enrollment.eligible_child_care_subsidy > 0 %> +
+ + <%= number_to_currency(hbx_enrollment.eligible_child_care_subsidy, precision: 2)%>/<%= l10n("month").to_s.downcase %> +
+ <% end %> +
-
+
-
- <% members = covered_members_name_age(hbx_enrollment.hbx_enrollment_members) %> - <% if members.present? %> -
- - <% members.each do |member| %> - - <%= member.titleize %><%= "," unless member.eql?(members.last)%> - - <% end %> +
+ <% members = covered_members_name_age(hbx_enrollment.hbx_enrollment_members) %> + <% if members.present? %> +
+ + <% members.each do |member| %> + + <%= member.titleize %><%= "," unless member.eql?(members.last)%> + + <% end %> +

+
+ <% end %>
- <% end %> -
-
- - - - <%# popup for phone %> - <%= render partial: "shared/#{Settings.aca.state_abbreviation.downcase}_carrier_contact_information", locals: { plan: product, hbx_enrollment: hbx_enrollment } unless product.issuer_profile.blank? %> - - <%= render partial: "insured/families/enrollment_actions", locals: { read_only: read_only, hbx_enrollment: hbx_enrollment } %> +
+ + + + <%# popup for phone %> + <%= render partial: "shared/#{Settings.aca.state_abbreviation.downcase}_carrier_contact_information", locals: { plan: product, hbx_enrollment: hbx_enrollment } unless product.issuer_profile.blank? %> + + <%= render partial: "insured/families/enrollment_actions", locals: { read_only: read_only, hbx_enrollment: hbx_enrollment } %> +
-
-<% end %> \ No newline at end of file + <% end %> +<% end %> diff --git a/app/views/insured/families/enrollment_history.html.erb b/app/views/insured/families/enrollment_history.html.erb index 371078e6daf..0bfc642b7db 100644 --- a/app/views/insured/families/enrollment_history.html.erb +++ b/app/views/insured/families/enrollment_history.html.erb @@ -1,48 +1,89 @@ -<%= javascript_pack_tag "enrollment" %> -<%= stylesheet_pack_tag "enrollment" %> -<% content_for :navigation do %> - <%= render partial: 'ui-components/v1/navs/families_navigation' %> -<% end %> +<% if @bs4 %> + <%= render partial: '/shared/family_side_nav' %> + + <%= javascript_pack_tag "enrollment" %> + <%= stylesheet_pack_tag "enrollment" %> -
-
-
- +
+

<%= l10n("enrollment_history_title") %>

-
-
- <% if pundit_allow(Family, :can_view_entire_family_enrollment_history?) %> - <% enrollments = @all_hbx_enrollments_for_admin %> - <% else %> - <% enrollments = @hbx_enrollments %> - <% end %> - <% if pundit_allow(Family, :can_view_entire_family_enrollment_history?) && enrollments&.any? %> - Display All Enrollments? - + <% if pundit_allow(Family, :can_view_entire_family_enrollment_history?) %> + <% enrollments = @all_hbx_enrollments_for_admin %> + <% else %> + <% enrollments = @hbx_enrollments %> + <% end %> + + <% if enrollments&.any? %> + <% enrollments.group_by { |enrollment| enrollment&.effective_on&.year }.each do |year, yearly_enrollments| %> + <% show_year_heading = yearly_enrollments.any?{|enrollment| !initially_hide_enrollment?(enrollment)} %> +

class="my-2 <%= "initially_hidden_enrollment hidden" unless show_year_heading %>"><%= year %>

+ <% if EnrollRegistry.feature_enabled?(:enrollment_plan_tile_update) %> + <%= render partial: "enrollment_refactored", :collection => yearly_enrollments, :as => :hbx_enrollment, locals: { read_only: false } %> + <% else %> + <%= render partial: "enrollment", :collection => yearly_enrollments, :as => :hbx_enrollment, locals: { read_only: false } %> + <% end %> <% end %> - <% if enrollments&.any? %> - <% enrollments.group_by { |enrollment| enrollment&.effective_on&.year }.each do |year, yearly_enrollments| %> - <% show_year_heading = yearly_enrollments.any?{|enrollment| !initially_hide_enrollment?(enrollment)} %> -

class="year-heading mt-0 ml-1 <%= "initially_hidden_enrollment hidden" unless show_year_heading %>"><%= year %>

- <% if EnrollRegistry.feature_enabled?(:enrollment_plan_tile_update) %> - <%= render partial: "enrollment_refactored", - :collection => yearly_enrollments, - :as => :hbx_enrollment, - locals: { read_only: false } %> - <% else %> - <%= render partial: "enrollment", - :collection => yearly_enrollments, - :as => :hbx_enrollment, - locals: { read_only: false } %> + <% else %> + <%= l10n("no_current_or_past_enrollments", short_name: EnrollRegistry[:enroll_app].setting(:short_name).item) %> + <% end %> + + <% if pundit_allow(Family, :can_view_entire_family_enrollment_history?) && enrollments&.any? %> + + + + <% end %> +
+ +<% else %> + <%= javascript_pack_tag "enrollment" %> + <%= stylesheet_pack_tag "enrollment" %> + + <% content_for :navigation do %> + <%= render partial: 'ui-components/v1/navs/families_navigation' %> + <% end %> + +
+
+
+ +
+ + +
+
+ <% if pundit_allow(Family, :can_view_entire_family_enrollment_history?) %> + <% enrollments = @all_hbx_enrollments_for_admin %> + <% else %> + <% enrollments = @hbx_enrollments %> + <% end %> + <% if pundit_allow(Family, :can_view_entire_family_enrollment_history?) && enrollments&.any? %> + Display All Enrollments? + + <% end %> + <% if enrollments&.any? %> + <% enrollments.group_by { |enrollment| enrollment&.effective_on&.year }.each do |year, yearly_enrollments| %> + <% show_year_heading = yearly_enrollments.any?{|enrollment| !initially_hide_enrollment?(enrollment)} %> +

class="year-heading mt-0 ml-1 <%= "initially_hidden_enrollment hidden" unless show_year_heading %>"><%= year %>

+ <% if EnrollRegistry.feature_enabled?(:enrollment_plan_tile_update) %> + <%= render partial: "enrollment_refactored", + :collection => yearly_enrollments, + :as => :hbx_enrollment, + locals: { read_only: false } %> + <% else %> + <%= render partial: "enrollment", + :collection => yearly_enrollments, + :as => :hbx_enrollment, + locals: { read_only: false } %> + <% end %> <% end %> + <% else %> + <%= l10n("no_current_or_past_enrollments", short_name: EnrollRegistry[:enroll_app].setting(:short_name).item) %> <% end %> - <% else %> - <%= l10n("no_current_or_past_enrollments", short_name: EnrollRegistry[:enroll_app].setting(:short_name).item) %> - <% end %> +
-
+<% end %> diff --git a/app/views/shared/_pay_now_modal.html.erb b/app/views/shared/_pay_now_modal.html.erb index 7ce653a05d6..96291da7574 100644 --- a/app/views/shared/_pay_now_modal.html.erb +++ b/app/views/shared/_pay_now_modal.html.erb @@ -15,7 +15,7 @@
<% end %> + diff --git a/db/seedfiles/translations/en/me/insured.rb b/db/seedfiles/translations/en/me/insured.rb index 5a2c2f64678..3d10fb955a1 100644 --- a/db/seedfiles/translations/en/me/insured.rb +++ b/db/seedfiles/translations/en/me/insured.rb @@ -24,6 +24,7 @@ -li- It’s printed in red on all naturalization certificates issued since September 27, 1906.", :'en.insured.passport_number' => "Passport Number", :'en.insured.passport_number_req' => "When entering a Passport Number, include all numbers and letters. Do not enter any other characters or spaces. -li- The Passport Number that you enter must have between 6 and 12 numbers and letters.", + :'en.insured.consumer_roles.error_prompt' => "You need to correct the following errors:", :'en.insured.consumer_roles.docs_shared.sevis_id' => "SEVIS ID", :'en.insured.consumer_roles.docs_shared.sevis_id_req' => "When entering a SEVIS ID, only include the numbers. Do not enter the 'N' or any other characters or letters. For example: If your SEVIS ID is 'N1234567891' then please enter '1234567891'. -li- The SEVIS ID entered must have 10 digits. \ -li- How to find the SEVIS ID: On the DS-2019, the number is on the top right hand side of the page in the box above the barcode.", @@ -33,12 +34,15 @@ :'en.insured.consumer_roles.docs_shared.none_of_above_note' => "(Select this if this person doesn't have a listed document. You can continue the application without selecting a document or status type)", :'en.personal_information' => "Personal Information", :'en.personal_info' => "Personal Info", - :"en.tell_us_about_yourself" => "Tell Us About Yourself", - :"en.insured.consumer_roles.demo_info_for" => "Demographic Information for", - :"en.insured.consumer_roles.contact_info_for" => "Contact Information for", - :"en.insured.consumer_roles.home_address" => "Home Address", - :"en.insured.consumer_roles.phone_and_email" => "Phone and Email", - :"en.insured.consumer_roles.immigration_field_warning1" => "It's important to enter as many fields from your immigration documents as possible", + :'en.tell_us_about_yourself' => "Tell Us About Yourself", + :'en.insured.consumer_roles.demo_info_for' => "Demographic Information for", + :'en.insured.consumer_roles.contact_info_for' => "Contact Information for", + :'en.insured.consumer_roles.home_address' => "Home Address", + :'en.insured.consumer_roles.phone_and_email' => "Phone and Email", + :'en.insured.consumer_roles.immigration_field_warning1' => "It's important to enter as many fields from your immigration documents as possible", + :'en.insured.consumer_roles.dependent_error.header' => "Correct the following to add this family member:", + :'en.insured.consumer_roles.dependent_error.gender' => "Gender can't be blank", + :'en.insured.consumer_roles.dependent_error.sex' => "Sex can't be blank", :'en.insured.consumer_roles.help_question_info' => "Enter your personal information and answer the following questions. When you're finished, select CONTINUE.", :'en.required_field' => "required field", :'en.warning' => "Warning", @@ -145,6 +149,7 @@ :'en.content' => "Content", :'en.send_message' => "Send Message", :'en.cancel' => "Cancel", + :'en.insured.enroll_in_coverage' => "Enroll in Coverage", :'en.insured.employee_roles.no_employer_found' => "No employer found.", :'en.insured.employee_roles.no_match_info' => "Please check the information entered above and confirm with your employer that your demographic information is listed correctly on their roster. For further assistance, please contact %{contact_center_name}: %{contact_center_phone_number}.", :'en.insured.employee_roles.healthcare_marketplace' => "Healthcare Marketplace", @@ -218,6 +223,8 @@ :'en.enrollments' => "Enrollment(s)", :'en.enrollment_history_nav_label' => "Enrollments", :'en.enrollment_history_title' => "Enrollment History", + :'en.enrollment_history.show_all' => "Show All Enrollments", + :'en.enrollment_history.hide_all' => "Hide Inactive Enrollments", :'en.no_current_or_past_enrollments' => "No current or past enrollments on %{short_name}.", :'en.open' => "Open", :'en.info_complete' => "Info Complete", @@ -226,7 +233,9 @@ :'en.ssn_not_present' => "SSN not present", :'en.tax_covering_applicant_not_present' => "Tax covering applicant not present", :'en.information_complete' => "Information Complete", - :'en.add_person_to_household' => "Add Person to Household", + :'en.add_member_to_household' => "Add Member to Household", + :'en.relationship_to_primary_member' => "Relationship to primary account member", + :'en.add_person_to_household' => "Add Member to Household", :'en.application_for_coverage' => "%{year} Application for Coverage", :'en.edit_income_coverage_info' => "Edit Income & Coverage Info", :'en.add_income_coverage_info' => "Add Income & Coverage Info", @@ -317,6 +326,7 @@ :'en.covered' => "Covered", :'en.insured.plan_contact_info' => "Plan Contact Info", :'en.make_changes' => "Make Changes", + :'en.verifications' => "Verifications", :'en.terminate_plan' => "Terminate Plan", :'en.view_details' => "View Details", :'en.insured.primary_applicant' => "Primary Applicant", @@ -388,8 +398,21 @@ :'en.insured.report_a_life_change' => "Report a Life Change", :'en.insured.report_life_changes' => "Report Life Changes", :'en.insured.change_tax_credits_or_cost_sharing_reductions' => "Change in income that may impact my tax credits/cost-sharing reductions", + :'en.insured.qle_detail.event_details' => "Event Details", + :'en.insured.qle_detail.event_date' => "Event Date", + :'en.insured.qle_detail.special_reason.marriage' => "Did you or your spouse have health insurance for at least one day between %{qle_start_date} and %{qle_date}?", + :'en.insured.qle_detail.special_reason.move' => "I had other health coverage for at least one day between %{qle_start_date} and %{qle_date}", + :'en.insured.qle_detail.special_reason.move.enter_zip' => "Enter your old zipcode and your new zipcode.", + :'en.insured.qle_detail.special_reason.move.old_zip' => "Old Zip Code", + :'en.insured.qle_detail.special_reason.move.new_zip' => "New Zip Code", + :'en.insured.qle_detail.special_reason.move.calculator' => "(Use the calculator to see if you qualify)", :'en.insured.qle_detail.eligible_to_enroll_limited_time' => "Based on the information you entered, you may be eligible to enroll now but there is limited time.", :'en.insured.qle_detail.error_text' => "Based on the information you entered, you may be eligible for a special enrollment period. Please call us at %{contact_center_phone_number} to give us more information so we can see if you qualify.", + :'en.insured.qle_detail.error_text_not_eligible' => "Based on the information you have provided, you are not eligible for this special enrollment period. If you have questions or would like to provide additional information, please contact %{site_short_name} customer service at %{contact_center_phone_number}.", + :'en.insured.qle_detail.error_text_outside_period' => "The date you submitted does not qualify for special enrollment.", + :'en.insured.qle_detail.error_text_outside_period2' => "Please double check the date or contact %{contact_center_name}: %{contact_center_phone_number}.", + :'en.insured.qle_detail.error_text_middle_of_month' => "Because your other health insurance is ending in the middle of the month, you can opt to have your coverage start on %{immediate_month_date} instead of %{following_month_date}. Please call us at %{contact_center_phone_number} by %{call_date} to use this option.", + :'en.insured.qle_detail.error_text_future_date' => "The date you submitted does not qualify for a special enrollment period. Qualifying life events may be reported up to 30 days after the date of the event. If you are trying to report a future event, please come back on or after the actual date of the event. For further assistance, please contact %{contact_center_name}: %{contact_center_phone_number}.", :'en.insured.families.qles_panel.life_event' => "Life event", :'en.insured.eligible_to_enroll' => "Eligible TO Enroll", :'en.insured.choose_the_date_you_want_your_plan_start' => "Choose the date you want your plan to start.", @@ -747,6 +770,11 @@ :'en.service_area' => 'Service Area', :'en.enrollment.tobbaco_user' => 'Tobacco User', :'en.enrollment_member.coverage_state_date' => 'Coverage Start Date', + :'en.enrollment_member.enrollment_services' => 'Enrollment Services & Estimated Costs', + :'en.enrollment_member.services' => 'Services You May Need', + :'en.enrollment_member.your_cost' => 'Your Cost At Participating Provider', + :'en.enrollment_member.in_network' => '(In-Network)', + :'en.enrollment.no_plans' => 'No Plans Found', :'en.not_available' => 'NA', :'en.insured.rejected' => "%{ridp_type} successfully rejected.", :'en.insured.email_text' => "EMAIL *",