Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rc release 5.7.77 #2551

Merged
merged 9 commits into from
Jan 25, 2024
4 changes: 2 additions & 2 deletions app/views/devise/registrations/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<%= f.text_field :oim_id, class: "form-control", required: true, onblur: "Register.toggleEmail(this)" %>
</div>
<div class="tooltip_box username_tooltip" style="display: none;">
<p style="margin-bottom:0;">You can use your email address as your login. Using your email address will make it easier to recover your password if you ever forget it.</p>
<p style="margin-bottom:0;"><%= l10n('employers.employer_profiles.registration.username_tooltip') %></p>
</div>

<div class="form-group">
Expand Down Expand Up @@ -58,7 +58,7 @@
</div>
<%= f.hidden_field :invitation_id %>
<br/>
<%= recaptcha_tags if aca_recaptcha_enabled? %>
<%= recaptcha_tags if aca_recaptcha_enabled? %>
<div class="recaptcha-error alert-error"><p></p></div>
<div class="recaptcha" id="captcha-widget"></div>
<div class="actions text-center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
<% end %>
<% end %>

<% flash_message = l10n('insured.wellsense_provider_flash_message') %>
<%= render partial: "layouts/flash", :locals => {:type => "info", :message => flash_message} %>

<div class="pull-left">
<span class="ttu lg twelve" data-cuke="coverage-for"><%= l10n("coverage_for") %></span>
&nbsp;
Expand Down
22 changes: 0 additions & 22 deletions app/views/ui-components/v1/cards/_metal_level_select.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,6 @@
= link_to '<u> Provider Search </u> <i class="fa fa-external-link-alt" aria-hidden="true"></i> &nbsp;'.html_safe, find_your_doctor_url, target: "_blank"
'tool

.alert.alert-info
.row
.container-fluid
.info-div
i.fa.fa-info-circle[aria-hidden="true"]
.flash-msg
a.close[data-dismiss="alert" href="#"]
| ×
=l10n('insured.wellsense_provider_flash_message')

#referencePlans.hidden
.row
h2.heading-text.pull-left.pl-1
Expand Down Expand Up @@ -776,15 +766,3 @@ javascript:
document.getElementById('submitBenefitPackage').innerHTML = "Save Plan Year";
},200)
})();


css:
.info-div {
width: 4%;
float: left;
}

.flash-msg {
width: 96%;
float: left;
}
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def first_business_day_after(date)
end

def business_day?(date)
!date.saturday? && !date.sunday? && !Holidays.on(date, :us).present?
!date.saturday? && !date.sunday? && !Holidays.on(date, :us_ma, :observed).present?
end

def shop_enrollment_timetable(new_effective_date)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,28 @@ module BenefitSponsors
end
end
end

describe 'business_day?' do
context 'given a business day' do
it 'should return true' do
date = Date.new(2024,1,22)
expect(subject.business_day?(date)).to eq true
end
end

context 'given a holiday' do
it 'should return false' do
date = Date.new(2023,6,19) # Juneteenth 2023
expect(subject.business_day?(date)).to eq false
end
end

context 'given an observed holiday' do
it 'should return false' do
date = Date.new(2023,11,10) # Veteran's Day - Saturday 2023, observed on Friday
expect(subject.business_day?(date)).to eq false
end
end
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@
</div>
</div>

<div class="panel-body">
<% flash_message = l10n('insured.wellsense_provider_flash_message') %>
<%= render partial: "layouts/flash", :locals => {:type => "info", :message => flash_message} %>
</div>

<div class="plan-comparison-container" id="pdp-pcc"></div>

<div class="row">
Expand Down
2 changes: 1 addition & 1 deletion config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ aca:
renewal_application:
earliest_start_prior_to_effective_on:
months: -2
day_of_month: 0
day_of_month: 24
monthly_open_enrollment_end_on: 20
publish_due_day_of_month: 15
application_submission_soft_deadline: 10
Expand Down
1 change: 1 addition & 0 deletions db/seedfiles/translations/en/cca/employer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
:'en.employers.plan_years.benefit_package.estimated_premiums' => "Estimated Premiums",
:'en.employers.employer_profiles.my_account.important_documents_needed' => "Important Documents Needed",
:'en.employers.employer_profiles.my_account.eligibility_verification_html' => "You will need to submit proof that your group is an eligible Massachusetts small business before you can complete the enrollment process.</br></br>Please review our list of <a href='%{link_to}' target='_blank'>documents that can be used as proof</a> and upload PDF document(s) that meet the requirements.</br></br>After you’ve uploaded your documents, you can continue with choosing your benefit package. We will review your documents and let you know if we need any further documentation.",
:'en.employers.employer_profiles.registration.username_tooltip' => "We recommend using email address as your login. This will make it easier to recover your password if you ever forget it.",
:'en.employers.employer_profiles.welcome' => "Take the next step towards offering health and dental insurance. You can take these steps on your own or <a href='%{find_a_broker}'>find a broker</a> to help you through the process.",
:'en.employers.employer_profiles.welcome.submit_verification_documents' => "Submit verification documents",
:'en.employers.employer_profiles.welcome.submit_verification_documents.content' => "Before you can complete your enrollment, you’ll need to submit proof that your group is eligible to shop through Health Connector for Business. If you haven’t submitted your documentation yet, please review our list of required documents, then <a href='%{documents}'>upload in your account</a>.",
Expand Down
3 changes: 1 addition & 2 deletions db/seedfiles/translations/en/cca/insured.rb
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,5 @@
:'en.insured.address_updated' => "You have updated your home address and may qualify for a special enrollment period.",
:'en.insured.shop_with_sep' => "Shop with special enrollment period",
:'en.insured.family_member_added' => "A family member has been added to your profile, the new member will not be automatically added to your coverage. You may qualify for a special enrollment period.",
:'en.insured.family_member_removed' => "A family member has been removed from your profile. This will not automatically remove them from any active coverage. You may qualify for a special enrollment period.",
:'en.insured.wellsense_provider_flash_message' => "WellSense has not yet finalized the doctors, hospitals and other health care providers that are in-network in 2024. Contact WellSense at 855-833-8120 or visit <a href='https://www.wellsense.org/members/individual-and-family/ma/clarity-plans/find-a-provider' target='_blank'>https://www.wellsense.org/members/individual-and-family/ma/clarity-plans/find-a-provider</a> to confirm if your health care providers are in-network."
:'en.insured.family_member_removed' => "A family member has been removed from your profile. This will not automatically remove them from any active coverage. You may qualify for a special enrollment period."
}.freeze
Loading