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

Fyst 1515 add prior year access link button to homepage #5296

Open
wants to merge 5 commits into
base: FYST-1466-prior-year-access-mvp
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module StateFile
module Questions
class ArchivedIntakeEmailAddressController < QuestionsController
end
end
end
12 changes: 12 additions & 0 deletions app/lib/navigation/archived_intake_navigation.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module Navigation
class ArchivedIntakeNavigation < Navigation::StateFileBaseQuestionNavigation
include ControllerNavigation

SECTIONS = [
Navigation::NavigationSection.new("state_file.navigation.section_1", [
Navigation::NavigationStep.new(StateFile::Questions::ArchivedIntakeEmailAddressController),
]),
].freeze
FLOW = SECTIONS.map(&:controllers).flatten.freeze
end
end
2 changes: 2 additions & 0 deletions app/models/intake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@
#
# fk_rails_... (client_id => clients.id)
# fk_rails_... (matching_previous_year_intake_id => intakes.id)
# fk_rails_... (primary_drivers_license_id => drivers_licenses.id)
# fk_rails_... (spouse_drivers_license_id => drivers_licenses.id)
# fk_rails_... (vita_partner_id => vita_partners.id)
#

Expand Down
2 changes: 2 additions & 0 deletions app/models/intake/ctc_intake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@
#
# fk_rails_... (client_id => clients.id)
# fk_rails_... (matching_previous_year_intake_id => intakes.id)
# fk_rails_... (primary_drivers_license_id => drivers_licenses.id)
# fk_rails_... (spouse_drivers_license_id => drivers_licenses.id)
# fk_rails_... (vita_partner_id => vita_partners.id)
#
class Intake::CtcIntake < Intake
Expand Down
2 changes: 2 additions & 0 deletions app/models/intake/gyr_intake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@
#
# fk_rails_... (client_id => clients.id)
# fk_rails_... (matching_previous_year_intake_id => intakes.id)
# fk_rails_... (primary_drivers_license_id => drivers_licenses.id)
# fk_rails_... (spouse_drivers_license_id => drivers_licenses.id)
# fk_rails_... (vita_partner_id => vita_partners.id)
#
class Intake::GyrIntake < Intake
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

<% title = "email" %>
<% content_for :page_title, title %>
9 changes: 8 additions & 1 deletion app/views/state_file/state_file_pages/about_page.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,11 @@
</div>
<% end %>
</section>
<% end %>
<% end %>

<div>
<%= t(".looking_for_return_html")%>
<div class = "spacing-above-10">
<%= link_to t(".tax_return_link"), questions_archived_intake_email_address_path %>
</div>
</div>
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3794,6 +3794,7 @@ en:
<strong>We're closed for the tax season. Unfortunately you can no longer file your state return with us this year.</strong><br /><br />
Already filed your state taxes with us? <strong>You can download a copy of your state return until December 31, 2024</strong><br /><br />
header: A free state filing service for taxpayers using IRS Direct File
looking_for_return_html: "<strong>Looking for your 2023 Arizona or New York State Tax Return?</strong>"
section1_html: |
<strong>How does it work?</strong>
<ol class="list--numbered">
Expand All @@ -3808,6 +3809,7 @@ en:
subheader_1_html: "<strong>FileYourStateTaxes</strong> integrates with <strong>IRS Direct File</strong> to help you complete your state tax return <strong>for free.</strong>"
subheader_2_html: IRS Direct File is now broadly available to all eligible taxpayers through April 15, 2024. For more information on timeline and eligibility, or to start filing your federal return, go to <strong><a target="_blank" rel="nofollow noopener" href="https://directfile.irs.gov/">directfile.irs.gov</a></strong>
subheader_3_html: Already filed your federal return with IRS Direct File and need to complete your state return? <a href=%{login_path}>Sign in here</a>.
tax_return_link: Click here to access your tax return
card_postscript:
responses_saved_html: Your responses are saved. If you need a break, you can come back and log in to your account at <a href="https://fileyourstatetaxes.org">fileyourstatetaxes.org</a>.
coming_soon:
Expand Down
2 changes: 2 additions & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3768,6 +3768,7 @@ es:
<strong>Estamos cerrados por la temporada de impuestos. Desafortunadamente, no puede presentar tu declaración estatal con nosotros este año.</strong><br /><br />
¿Ya presentó tus impuestos estatales con nosotros? <strong>Puedes descargar una copia de tu declaración estatal hasta el 31 de diciembre de 2024</strong><br /><br />
header: Una herramienta sin costo para presentar impuestos estatales para los contribuyentes utilizando IRS Direct File
looking_for_return_html: "<strong>¿Está buscando su declaración de impuestos del estado de Arizona o Nueva York de 2023?</strong>"
section1_html: |
<strong>¿Cómo funciona?</strong>
<ol class="list--numbered">
Expand All @@ -3782,6 +3783,7 @@ es:
subheader_1_html: "<strong>FileYourStateTaxes</strong> se integra con <strong>IRS Direct File</strong> para ayudarte a completar tu declaración de impuestos estatales <strong>sin costo.</strong>"
subheader_2_html: El IRS Direct File ahora está ampliamente disponible para todos los contribuyentes elegibles hasta el 15 de abril de 2024. Para obtener más información sobre el cronograma y la elegibilidad, o para comenzar a presentar tu declaración federal, ve a <strong><a target="_blank" rel="nofollow noopener" href="https://directfile.irs.gov/">directfile.irs.gov.</a></strong>
subheader_3_html: "¿Ya presentaste tu declaración federal con IRS Direct File y necesitas completar tu declaración estatal? <a href=%{login_path}>Inicia sesión aquí</a>."
tax_return_link: Haga clic aquí para acceder a su declaración de impuestos.
card_postscript:
responses_saved_html: Tus respuestas han sido guardadas. Si necesitas hacer una pausa, puedes regresar e iniciar sesión en tu cuenta en <a href="https://fileyourstatetaxes.org">fileyourstatetaxes.org</a>.
coming_soon:
Expand Down
2 changes: 2 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,8 @@ def scoped_navigation_routes(context, navigation)
navigation_class = StateFile::StateInformationService.navigation_class(code)
scoped_navigation_routes(:questions, navigation_class)
end
scoped_navigation_routes(:questions, Navigation::ArchivedIntakeNavigation)


match("/code-verified", action: :edit, controller: "state_file/questions/code_verified", via: :get)
match("/code-verified", action: :update, controller: "state_file/questions/code_verified", via: :put)
Expand Down
6 changes: 5 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.1].define(version: 2024_12_20_195915) do
ActiveRecord::Schema[7.1].define(version: 2024_12_26_203341) do
create_schema "analytics"

# These are extensions that must be enabled in order to support this database
enable_extension "citext"
enable_extension "plpgsql"
Expand Down Expand Up @@ -2775,6 +2777,8 @@
add_foreign_key "incoming_text_messages", "clients"
add_foreign_key "intake_archives", "intakes", column: "id"
add_foreign_key "intakes", "clients"
add_foreign_key "intakes", "drivers_licenses", column: "primary_drivers_license_id"
add_foreign_key "intakes", "drivers_licenses", column: "spouse_drivers_license_id"
add_foreign_key "intakes", "intakes", column: "matching_previous_year_intake_id"
add_foreign_key "intakes", "vita_partners"
add_foreign_key "notes", "clients"
Expand Down
Loading