Skip to content

Commit d074d96

Browse files
committed
block users from proceeding past the DF transfer page if the new intake datetime has passed
1 parent 7a6168e commit d074d96

File tree

3 files changed

+51
-5
lines changed

3 files changed

+51
-5
lines changed
Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
11
<% title = t(".title") %>
22
<% content_for :page_title, title %>
33
<% content_for :card do %>
4-
<h1 class="h2" id="main-question"><%= title %></h1>
5-
<p><%= t('.description_html') %></p>
4+
<% transfer_disabled = app_time > Rails.configuration.state_file_end_of_new_intakes %>
65

7-
<%= render "state_file/questions/initiate_data_transfer/data_transfer_buttons" %>
8-
9-
<div class="card-postscript"><%= t('.button_help_text') %></div>
6+
<% if transfer_disabled %>
7+
<h1 class="h2" id="main-question"><%= t(".df_closure_title") %></h1>
8+
<p>
9+
<%= t('.df_closure_description_html',
10+
closing_date: I18n.l(Rails.configuration.state_file_end_of_new_intakes.to_date, format: :long)) %>
11+
</p>
12+
<div class="reveal">
13+
<button class="reveal__button">
14+
<%= t(".df_closure_other_filing_options_header") %>
15+
</button>
16+
<div class="reveal__content">
17+
<%= t(".df_closure_other_filing_options_content_html", faq_path: "/#{I18n.locale}/az/faq/other_state_filing_options") %>
18+
</div>
19+
</div>
20+
<% else %>
21+
<h1 class="h2" id="main-question"><%= title %></h1>
22+
<p><%= t('.description_html') %></p>
23+
<%= render "state_file/questions/initiate_data_transfer/data_transfer_buttons" %>
24+
<div class="card-postscript"><%= t('.button_help_text') %></div>
25+
<% end %>
1026
<% end %>

config/locales/en.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3399,6 +3399,21 @@ en:
33993399
<p><strong>How do I know if it’s accepted?</strong></p>
34003400
<p>You will receive two emails from the IRS: one for a submitted return, one for an accepted return. Please check your email and spam folder for an accepted return.</p>
34013401
<p>This secure transfer from IRS Direct File usually takes 3 minutes or less.</p>
3402+
df_closure_description_html: |
3403+
<p>IRS Direct File closed on %{closing_date}. Unfortunately, the deadline to transfer your federal return data from IRS Direct File to FileYourStateTaxes has passed.</p>
3404+
<p>Since FileYourStateTaxes uses data from IRS Direct File to file your state return, you can no longer complete your state return with us.</p>
3405+
<p>If you’ve already transferred your data over from IRS Direct File and are seeing this screen, you unfortunately missed the deadline to file your state return with FileYourStateTaxes.</p>
3406+
df_closure_other_filing_options_content_html: |
3407+
<p>Many commercial tax preparation services offer state-only filing. Here are some quick tips:</p>
3408+
<ul>
3409+
<li>Confirm that the service lets you file just your state return. You might need to check with customer support.</li>
3410+
<li>Be ready to reenter info from your federal return, as it’s needed for your state return.</li>
3411+
<li>When filing, only submit your state return. If you submit your federal return again, your federal return may be rejected.</li>
3412+
</ul>
3413+
<p>Fees may apply.</p>
3414+
<p>Learn more <a href=%{faq_path}>here.</a></p>
3415+
df_closure_other_filing_options_header: What are my other state filing options?
3416+
df_closure_title: You can no longer transfer your federal return data from IRS Direct File
34023417
title: Now, let’s complete your state tax return
34033418
md_county:
34043419
edit:

config/locales/es.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3355,6 +3355,21 @@ es:
33553355
<p><strong>¿Cómo sé si fue aceptada?</strong></p>
33563356
<p>Recibirás dos correos electrónicos del IRS: uno al enviar tu declaración federal de impuestos y otro cuando tu declaración haya sido aceptada. Revisa tu correo electrónico y carpeta de spam para confirmar si recibiste uno de aceptación. </p>
33573357
<p>La transferencia segura desde el servicio de Direct File del IRS generalmente toma 3 minutos o menos.</p>
3358+
df_closure_description_html: |
3359+
<p>IRS Direct File cerró el %{closing_date}. Desafortunadamente ya pasó la fecha límite para transferir información de IRS Direct File a FileYourStateTaxes.</p>
3360+
<p>Como FileYourStateTaxes usa la información de IRS Direct File para completar tu declaración de impuestos estatales, ya no puedes presentar tu declaración usando nuestro servicio.</p>
3361+
<p>Si ya habías transferido la información de IRS Direct File y te sale este mensaje, desafortunadamente ya pasó la fecha límite para presentar tu declaración estatal con FileYourStateTaxes.</p>
3362+
df_closure_other_filing_options_content_html: |
3363+
<p>Muchos servicios comerciales de preparación de impuestos ofrecen la opción de declarar sólo los impuestos estatales. Aquí tienes algunos consejos rápidos:</p>
3364+
<ul>
3365+
<li>Confirma que el servicio te permita presentar sólo tu declaración estatal. Es posible que necesites consultar con el soporte al cliente.</li>
3366+
<li>Prepárate para volver a ingresar la información de tu declaración federal, ya que se necesita para tu declaración estatal.</li>
3367+
<li>Al declarar, envía sólo tu declaración estatal. Si vuelves a enviar tu declaración federal, puede ser rechazada.</li>
3368+
</ul>
3369+
<p>Es posible que apliquen costos.</p>
3370+
<p>Obtén más información <a href=%{faq_path}>aquí.</a></p>
3371+
df_closure_other_filing_options_header: "¿Cuáles son mis otras opciones para declarar mis impuestos estatales?"
3372+
df_closure_title: Ya no es posible que transfieras la información de tu declaración federal de IRS Direct File
33583373
title: Ahora completemos tu declaración de impuestos estatal
33593374
md_county:
33603375
edit:

0 commit comments

Comments
 (0)