Skip to content
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
2 changes: 1 addition & 1 deletion app/views/interstitial/MTDITAdvertPageView.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
pageTitle = messages("label.your_self_assessment"),
showBackLink = true
) {
@h1("label.mtdit.heading")
@h1("label.interstice.sa_mtdit.title")

@p(Text(messages("label.mtdit.page.p1")))
@p(Text(messages("label.mtdit.page.p2")))
Expand Down
3 changes: 2 additions & 1 deletion conf/messages
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ label.your_self_assessment=Your Self Assessment
label.online_returns_deadline=The deadline for online returns is 31 January {0}.
label.mtd_for_it=Making Tax Digital for Income Tax
label.mtd_for_it_sa=Making Tax Digital for Income Tax
label.interstice.sa_mtdit.title=Self Assessment and Making Tax Digital for Income Tax
label.send_updates_hmrc_compatible_software=Send updates using HMRC compatible software.
label.send_updates_sole_traders=For sole traders and landlords that send quarterly updates using software.
label.view_manage_your_mtd_for_it=View and manage Making Tax Digital for Income Tax
Expand All @@ -513,7 +514,7 @@ label.mtdit.heading=Making Tax Digital for Income Tax
label.mtdit.p1=If you''re a sole trader or landlord, there''s a new way to report your income and expenses. Find out more.

label.mtdit.page.p1=Making Tax Digital for Income Tax is a new way for sole traders and landlords to report income and expenses to HMRC.
label.mtdit.page.p2=Some sole traders and landlords must use it from 6 April 2026, based on their total annual income from self-employment and property.
label.mtdit.page.p2=Some sole traders and landlords must start using it from 6 April 2027, based on their total annual income from self-employment and property.
label.mtdit.page.find_out_more=Find out more about Making Tax Digital for Income Tax and see if you can sign up early

#
Expand Down
3 changes: 2 additions & 1 deletion conf/messages.cy
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ label.mtdit.heading=Troi Treth yn Ddigidol ar gyfer Treth Incwm
label.mtdit.p1=Os ydych yn unig fasnachwr neu’n landlord, mae ffordd newydd o adrodd am eich incwm a’ch treuliau. Dysgwch ragor.

label.mtdit.page.p1=Mae’r cynllun Troi Treth yn Ddigidol ar gyfer Treth Incwm yn ffordd newydd i unig fasnachwyr a landlordiaid roi gwybod i CThEF am incwm a threuliau.
label.mtdit.page.p2=O 6 Ebrill 2026 ymlaen, mae’n rhaid i rai unig fasnachwyr a landlordiaid ei ddefnyddio, yn seiliedig ar gyfanswm eu hincwm blynyddol o hunangyflogaeth ac eiddo.
label.mtdit.page.p2=O 6 Ebrill 2027 ymlaen, bydd yn rhaid i rai unig fasnachwyr a landlordiaid ddechrau ei ddefnyddio, a hynny’n seiliedig ar gyfanswm eu hincwm blynyddol o hunangyflogaeth ac eiddo.
label.mtdit.page.find_out_more=Dysgwch ragor ynghylch Troi Treth yn Ddigidol ar gyfer Treth Incwm a gweld a allwch gofrestru’n gynnar

#
Expand Down Expand Up @@ -823,6 +823,7 @@ label.mtd_for_it=Troi Treth yn Ddigidol ar gyfer Treth Incwm
label.mtd_for_itsa=Hunanasesiad a Throi Treth yn Ddigidol ar gyfer Treth Incwm
label.view_and_manage_your_income_tax_obligations_and_payments=Bwrw golwg dros eich rhwymedigaethau a’ch taliadau Treth Incwm, a’u rheoli.
label.mtd_for_it_sa=Troi Treth yn Ddigidol ar gyfer Treth Incwm
label.interstice.sa_mtdit.title=Hunanasesiad a’r cynllun Troi Treth yn Ddigidol ar gyfer Treth Incwm
label.send_updates_sole_traders=Ar gyfer unig fasnachwyr a landlordiaid sy’n anfon diweddariadau chwarterol gan ddefnyddio meddalwedd.
label.view_manage_your_mtd_for_it=Bwrw golwg dros y cynllun Troi Treth yn Ddigidol ar gyfer Treth Incwm a’i reoli
label.view_manage_your_mtd_itsa=Bwrw golwg dros eich cynllun Troi Treth yn Ddigidol ar gyfer Treth Incwm a’i reoli, neu gael at eich Ffurflenni Treth Hunanasesiad.
Expand Down
37 changes: 32 additions & 5 deletions test/views/html/interstitial/MTDITAdvertPageViewSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,49 @@ class MTDITAdvertPageViewSpec extends ViewSpec {

"Rendering MTDITAdvertPageView.scala.html" must {

"show content" in {
"show english content" in {
val doc =
asDocument(
mtditAdvertPageView(
).toString
)

doc.text() must include(Messages("label.mtdit.heading"))
doc.text() must include(Messages("label.mtdit.page.p1"))
doc.text() must include(Messages("label.mtdit.page.p2"))
doc.text() must include("Self Assessment and Making Tax Digital for Income Tax")
doc.text() must include(
"Making Tax Digital for Income Tax is a new way for sole traders and landlords to report income and expenses to HMRC."
)
doc.text() must include(
"Some sole traders and landlords must start using it from 6 April 2027, based on their total annual income from self-employment and property."
)

hasLink(
doc,
"Find out more about Making Tax Digital for Income Tax and see if you can sign up early"
)
}
"show welsh content" in {
implicit val userRequest: UserRequest[AnyContentAsEmpty.type] =
buildUserRequest(request = FakeRequest())
val doc =
asDocument(
mtditAdvertPageView(
)(userRequest, welshMessages).toString
)

doc.text() must include("Hunanasesiad a’r cynllun Troi Treth yn Ddigidol ar gyfer Treth Incwm")
doc.text() must include(
"Mae’r cynllun Troi Treth yn Ddigidol ar gyfer Treth Incwm yn ffordd newydd i unig fasnachwyr a landlordiaid roi gwybod i CThEF am incwm a threuliau."
)
doc.text() must include(
"O 6 Ebrill 2027 ymlaen, bydd yn rhaid i rai unig fasnachwyr a landlordiaid ddechrau ei ddefnyddio, a hynny’n seiliedig ar gyfanswm eu hincwm blynyddol o hunangyflogaeth ac eiddo."
)

hasLink(
doc,
Messages("label.mtdit.page.find_out_more")
"Dysgwch ragor ynghylch Troi Treth yn Ddigidol ar gyfer Treth Incwm a gweld a allwch gofrestru’n gynnar"
)
}

}

}