Skip to content

Commit

Permalink
Revert "DC-6672 Update tax year in email subject line for SA-ATS emai…
Browse files Browse the repository at this point in the history
…l templa…" (#1190)

This reverts commit 9bf1edd.

Co-authored-by: Kapil Sanghvi <22366606+kjainsc@users.noreply.github.com>
  • Loading branch information
Roshangautam2052 and kjainsc authored Sep 30, 2024
1 parent 44859e9 commit 3635fdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import java.time.LocalDate

object AtsTemplates {

val taxYearFrom = LocalDate.now().getYear - 1
val taxYearTo = LocalDate.now().getYear
val taxYearFrom = LocalDate.now().getYear - 2
val taxYearTo = LocalDate.now().getYear - 1
private val ats_year_for_subject = s"Your Annual Tax Summary for $taxYearFrom to $taxYearTo is now ready"
private val ats_year_for_subject_welsh =
s"Mae’ch Crynodeb Treth Blynyddol ar gyfer $taxYearFrom i $taxYearTo bellach yn barod"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class AtsAnnualTaxReturnWelshSpec
val params = commonParameters ++ TemplateParams.newMessageAlert_Names

"render correct subject" in {
val taxYearFrom = LocalDate.now().getYear - 1
val taxYearTo = LocalDate.now().getYear
val taxYearFrom = LocalDate.now().getYear - 2
val taxYearTo = LocalDate.now().getYear - 1
template.subject(
Map.empty
) shouldBe s"Mae’ch Crynodeb Treth Blynyddol ar gyfer $taxYearFrom i $taxYearTo bellach yn barod"
Expand Down

0 comments on commit 3635fdd

Please sign in to comment.